public class OpenVidu extends Object
| Constructor and Description |
|---|
OpenVidu(String urlOpenViduServer,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
Session |
createSession() |
Session |
createSession(SessionProperties properties) |
void |
deleteRecording(String recordingId) |
Archive |
getRecording(String recordingId) |
static org.json.simple.JSONObject |
httpResponseToJson(org.apache.http.HttpResponse response) |
List<Archive> |
listRecordings() |
Archive |
startRecording(String sessionId) |
Archive |
stopRecording(String recordingId) |
public Session createSession() throws OpenViduException
OpenViduExceptionpublic Session createSession(SessionProperties properties) throws OpenViduException
OpenViduExceptionpublic Archive startRecording(String sessionId) throws OpenViduException
OpenViduExceptionpublic Archive stopRecording(String recordingId) throws OpenViduException
OpenViduExceptionpublic Archive getRecording(String recordingId) throws OpenViduException
OpenViduExceptionpublic List<Archive> listRecordings() throws OpenViduException
OpenViduExceptionpublic void deleteRecording(String recordingId) throws OpenViduException
OpenViduExceptionpublic static org.json.simple.JSONObject httpResponseToJson(org.apache.http.HttpResponse response)
throws org.json.simple.parser.ParseException,
IOException
org.json.simple.parser.ParseExceptionIOExceptionCopyright © 2018 OpenVidu. All rights reserved.