Video SDK for MacOS API Reference
|
Broadcast streaming viewer interface. More...
#include <ZMVideoSDKBroadcastStreamingViewer.h>
Inherits NSObject.
Instance Methods | |
(ZMVideoSDKErrors) | - joinStreaming: |
Joins broadcast streaming asynchronously. Result is notified via onStreamingJoinStatusChanged . | |
(ZMVideoSDKErrors) | - leaveStreaming |
Leaves broadcast streaming asynchronously. Result is notified through via onStreamingJoinStatusChanged . | |
(ZMVideoSDKStreamingJoinStatus) | - getStreamingJoinStatus |
The join status. | |
(ZMVideoSDKErrors) | - subscribeVideo:broadcastStreamingVideoCallback: |
Subscribes to streaming video. | |
(ZMVideoSDKErrors) | - unSubscribeVideo: |
Unsubscribes from streaming video raw data. | |
(ZMVideoSDKErrors) | - subscribeAudio: |
Subscribes to streaming audio. | |
(ZMVideoSDKErrors) | - unSubscribeAudio |
Unsubscribes from streaming audio raw data. | |
Broadcast streaming viewer interface.
Definition at line 64 of file ZMVideoSDKBroadcastStreamingViewer.h.
- (ZMVideoSDKStreamingJoinStatus) getStreamingJoinStatus |
The join status.
- (ZMVideoSDKErrors) joinStreaming: | (ZMVideoSDKSteamingJoinContext *) | joinContext |
Joins broadcast streaming asynchronously. Result is notified via onStreamingJoinStatusChanged .
joinContext | The join context containing token and channel ID. |
ZMVideoSDKErrors_Success
. Otherwise failed. - (ZMVideoSDKErrors) leaveStreaming |
Leaves broadcast streaming asynchronously. Result is notified through via onStreamingJoinStatusChanged .
ZMVideoSDKErrors_Success
. Otherwise failed. - (ZMVideoSDKErrors) subscribeAudio: | (id< ZMVideoSDKBroadcastStreamingAudioDelegate >) | delegate |
Subscribes to streaming audio.
delegate | The raw audio data callback object. |
ZMVideoSDKErrors_Success
. Otherwise failed. - (ZMVideoSDKErrors) subscribeVideo: | (ZMVideoSDKResolution) | resolution | |
broadcastStreamingVideoCallback: | (id< ZMVideoSDKBroadcastStreamingVideoDelegate >) | delegate |
Subscribes to streaming video.
resolution | The desired video resolution. Supported: ZMVideoSDKResolution_180P, ZMVideoSDKResolution_360P, ZMVideoSDKResolution_720P, ZMVideoSDKResolution_1080P. |
delegate | the raw video data callback object, see ZMVideoSDKBroadcastStreamingVideoDelegate. |
ZMVideoSDKErrors_Success
. Otherwise failed. - (ZMVideoSDKErrors) unSubscribeAudio |
Unsubscribes from streaming audio raw data.
ZMVideoSDKErrors_Success
. Otherwise failed. - (ZMVideoSDKErrors) unSubscribeVideo: | (id< ZMVideoSDKBroadcastStreamingVideoDelegate >) | delegate |
Unsubscribes from streaming video raw data.
delegate | The video raw data callback object. |
ZMVideoSDKErrors_Success
. Otherwise failed.