Multi Stream Observer
The interface of multi stream. Client should implement this interface to support the multi-stream feature.
Since
2.0.0
Types
Base class for the event of an AuxStreamChangedEvent
Interface for an auxiliary stream changed event
This will be triggered when auxiliary stream is closed successfully or unsuccessfully. On this event, the client can display the view
This will be triggered when auxiliary stream is opened successfully or unsuccessfully. On this event, the client can hide the view
This will be triggered when the person represented this auxiliary stream is changed
This will be triggered when the network is unstable or the represented person muted or unmuted his video, and client can get the detail from the property
This will be triggered when the auxiliary stream view size is changed, and client can get the detail from the property
Functions
Callback of SDK when there is a new available auxiliary stream. Client should give SDK a view handle for rendering, and the AuxStreamOpenedEvent would be triggered indicating whether the stream is successfully opened. If the client don't want to open stream at this time, return null
Callback when an auxiliary stream is changed
Callback of SDK when there is a auxiliary stream unavailable. Client should give SDK a view which will be closed or if the given view is null, SDK will automatically close the last opened stream if needed.