| Modifier and Type | Method and Description |
|---|---|
void |
Session.close()
Gracefully closes the Session: unpublishes all streams and evicts every
participant
|
Session |
OpenVidu.createSession()
Creates an OpenVidu session with the default settings
|
Session |
OpenVidu.createSession(SessionProperties properties)
Creates an OpenVidu session
|
void |
OpenVidu.deleteRecording(String recordingId)
Deletes a recording.
|
boolean |
OpenVidu.fetch()
Updates every property of every active Session with the current status they
have in OpenVidu Server.
|
boolean |
Session.fetch()
Updates every property of the Session with the current status it has in
OpenVidu Server.
|
void |
Session.forceDisconnect(Connection connection)
Forces the user represented by
connection to leave the session. |
void |
Session.forceDisconnect(String connectionId)
Forces the user with Connection
connectionId to leave the
session. |
void |
Session.forceUnpublish(Publisher publisher)
Forces some user to unpublish a Stream.
|
void |
Session.forceUnpublish(String streamId)
Forces some user to unpublish a Stream.
|
String |
Session.generateToken()
Gets a new token associated to Session object with default values for
TokenOptions. |
String |
Session.generateToken(TokenOptions tokenOptions)
Gets a new token associated to Session object configured with
tokenOptions. |
Recording |
OpenVidu.getRecording(String recordingId)
Gets an existing recording
|
List<Recording> |
OpenVidu.listRecordings()
Lists all existing recordings
|
Recording |
OpenVidu.startRecording(String sessionId)
Starts the recording of a
Session |
Recording |
OpenVidu.startRecording(String sessionId,
RecordingProperties properties)
Starts the recording of a
Session |
Recording |
OpenVidu.startRecording(String sessionId,
String name)
Starts the recording of a
Session |
Recording |
OpenVidu.stopRecording(String recordingId)
Stops the recording of a
Session |
Copyright © 2020 OpenVidu. All rights reserved.