Unity Video SDK API Reference Documentation
Loading...
Searching...
No Matches
ZMVideoSDKRawDataPipe Class Reference

Interface for user to subscribe@unSubscribe video raw data. ZMVideoSDKUser#GetVideoPipe(). More...

Public Member Functions

ZMVideoSDKErrors Subscribe (ZMVideoSDKResolution resolution, IZMVideoSDKRawDataPipeDelegate dataDelegate)
 Subscribe video@share.
 
ZMVideoSDKErrors UnSubscribe ()
 Unsubscribe video@share.
 
ZMVideoSDKRawDataType GetRawdataType ()
 Get the raw data data type.
 
ZMVideoSDKVideoStatus GetVideoStatus ()
 Get video status.
 
ZMVideoSDKShareStatus GetShareStatus ()
 Get share status.
 

Detailed Description

Interface for user to subscribe@unSubscribe video raw data. ZMVideoSDKUser#GetVideoPipe().

Definition at line 6 of file ZMVideoSDKRawDataPipe.cs.

Member Function Documentation

◆ GetRawdataType()

ZMVideoSDKRawDataType ZMVideoSDKRawDataPipe.GetRawdataType ( )
inline

Get the raw data data type.

Returns
Share or Video data type, see ZMVideoSDKRawDataType enum.

Definition at line 80 of file ZMVideoSDKRawDataPipe.cs.

81 {
82 return _rawDataPipe.GetRawdataType();
83 }

◆ GetShareStatus()

ZMVideoSDKShareStatus ZMVideoSDKRawDataPipe.GetShareStatus ( )
inline

Get share status.

Returns
Share status of the user object.

Definition at line 98 of file ZMVideoSDKRawDataPipe.cs.

99 {
100 return _rawDataPipe.GetShareStatus();
101 }

◆ GetVideoStatus()

ZMVideoSDKVideoStatus ZMVideoSDKRawDataPipe.GetVideoStatus ( )
inline

Get video status.

Returns
Video status of the user object.

Definition at line 89 of file ZMVideoSDKRawDataPipe.cs.

90 {
91 return _rawDataPipe.GetVideoStatus();
92 }

◆ Subscribe()

ZMVideoSDKErrors ZMVideoSDKRawDataPipe.Subscribe ( ZMVideoSDKResolution  resolution,
IZMVideoSDKRawDataPipeDelegate  dataDelegate 
)
inline

Subscribe video@share.

Parameters
resolutionSubscribe size.
dataDelegateCallback sink object.
Returns
If the function succeeds, the return value is ZMVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZMVideoSDKErrors enum.

Definition at line 61 of file ZMVideoSDKRawDataPipe.cs.

62 {
63 return _rawDataPipe.Subscribe(resolution, dataDelegate);
64 }

◆ UnSubscribe()

ZMVideoSDKErrors ZMVideoSDKRawDataPipe.UnSubscribe ( )
inline

Unsubscribe video@share.

Returns
If the function succeeds, the return value is ZMVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZMVideoSDKErrors enum.

Definition at line 71 of file ZMVideoSDKRawDataPipe.cs.

72 {
73 return _rawDataPipe.UnSubscribe();
74 }