Video SDK for MacOS API Reference
|
Protocol defining lifecycle events for a custom video source. More...
#include <ZMVideoSDKVideoSourceHelper.h>
Inherits <NSObjectNSObject>.
Instance Methods | |
(void) | - onInitialize:supportedCapbilityList:suggestCapbility: |
Notify when video source prepare. | |
(void) | - onPropertyChange:suggestCapbility: |
Notify when video size or fps changed. | |
(void) | - onStartSend |
Notify when video start send raw data. | |
(void) | - onStopSend |
Notify when video stop send raw data. | |
(void) | - onUninitialized |
Notify when video source uninitialized. | |
Protocol defining lifecycle events for a custom video source.
Definition at line 133 of file ZMVideoSDKVideoSourceHelper.h.
- (void) onInitialize: | (ZMVideoSDKVideoSender *) | sender | |
supportedCapbilityList: | (NSArray< ZMVideoSDKVideoCapability * > *) | supportedCapList | |
suggestCapbility: | (ZMVideoSDKVideoCapability *) | suggestCap |
Notify when video source prepare.
sender | The pointer of video sender object. |
supportedCapList | The list of supported video capability. |
suggestCap | Suggest video capability. |
- (void) onPropertyChange: | (NSArray< ZMVideoSDKVideoCapability * > *) | supportedCapList | |
suggestCapbility: | (ZMVideoSDKVideoCapability *) | suggestCap |
Notify when video size or fps changed.
supportedCapList | The list of supported video capability. |
suggestCap | Suggest video capability. |
- (void) onStartSend |
Notify when video start send raw data.
- (void) onStopSend |
Notify when video stop send raw data.
- (void) onUninitialized |
Notify when video source uninitialized.