Rendering Streams
Published Stream Events
One of the events you should add a listener for, after you Instantiating Video Service, is onPublishedStreamChange
. This event will be fired for a variety of reasons related to a published stream:
You just joined a channel
You will receive an event for each participant that is currently publishing a stream.
A new stream is published in a channel
A stream has been unpublished
A stream has been modified
Audio track added/removed
Video track added/removed
Adding the Event Listener
Looking at the onPublishedStreamChange Event Payload
Example Payload for Remote Stream
Example Payload for Local Stream
Event Properties
Last updated