projects/openvidu-angular/src/lib/services/openvidu/openvidu.service.ts
Properties |
Methods |
|
| disconnect |
disconnect()
|
|
Leaves the session, destroying all local streams and clean all participant data.
Returns :
void
|
| getRemoteConnections |
getRemoteConnections()
|
|
Returns the remote connections of the Session. See Connection object.
Returns :
Connection[]
|
| getSession |
getSession()
|
|
Returns the local Session. See Session object.
Returns :
Session
|
| isSessionConnected |
isSessionConnected()
|
|
Returns :
boolean
|
| publishAudio | ||||||
| This method has been moved to ParticipantService TODO: Remove this method in release 2.29.0 | ||||||
publishAudio(publish: boolean)
|
||||||
|
Publish or unpublish the audio stream (if available). See openvidu-browser publishAudio. TODO: Remove this method in release 2.29.0
Parameters :
Returns :
void
|
| Async publishCamera | ||||||
publishCamera(publisher: Publisher)
|
||||||
|
Publishes the publisher to the webcam Session
Parameters :
Returns :
Promise<void>
|
| Async publishScreen | ||||||
publishScreen(publisher: Publisher)
|
||||||
|
Publishes the publisher to the screen Session
Parameters :
Returns :
Promise<void>
|
| Async publishVideo | ||||||
| This method has been moved to ParticipantService TODO: Remove this method in release 2.29.0 | ||||||
publishVideo(publish: boolean)
|
||||||
|
Publish or unpublish the video stream (if available). It hides the camera muted stream if screen is sharing. See openvidu-browser publishVideo TODO: Remove this method in release 2.29.0
Parameters :
Returns :
Promise<void>
|
| Async unpublishCamera | ||||||
unpublishCamera(publisher: Publisher)
|
||||||
|
Unpublishes the publisher of the webcam Session
Parameters :
Returns :
Promise<void>
|
| Async unpublishScreen | ||||||
unpublishScreen(publisher: Publisher)
|
||||||
|
Unpublishes the publisher of the screen Session
Parameters :
Returns :
Promise<void>
|
| isSttReadyObs |
Type : Observable<boolean>
|