MultiStreamObserver
public protocol MultiStreamObserver : AnyObjectMulti stream protocol. Required to implement for using multi stream feature.
See
see Call.multiStreamObserver to set the multi stream’s events observer in this call.Since
2.0.0- 
                  
                  Callback when current call have a new auxiliary stream. Return a MediaRenderView. SDK will open it automatically. Return nil if not need to open at once. Call API:call.openAuxStream(view: MediaRenderView) to open stream later. The auxStreamOpenedEvent would be triggered for indicating whether the stream is successfully opened. Since 2.0.0DeclarationSwift var onAuxStreamAvailable: (() -> MediaRenderView?)? { get set }
- 
                  
                  Callback of auxiliary stream related change events. See see AuxStreamChangeEventSince 2.0.0DeclarationSwift var onAuxStreamChanged: ((AuxStreamChangeEvent) -> Void)? { get set }
- 
                  
                  Callback when an existing auxiliary stream is unavailable. Should give SDK a MediaRenderView which need be closed, if give nil SDK will automatically close the last opened stream. The auxStreamClosedEvent would be triggered for indicating whether the stream is successfully closed. Since 2.0.0DeclarationSwift var onAuxStreamUnavailable: (() -> MediaRenderView?)? { get set }
 View on GitHub
View on GitHub MultiStreamObserver Protocol Reference
        MultiStreamObserver Protocol Reference