Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCVideoSourceHelper Class Reference

A helper for managing video sources and capture. More...

#include <MobileRTCVideoSourceHelper.h>

Inherits NSObject.

Instance Methods

(MobileRTCRawDataError- setPreProcessor:
 Preprocesses video's YUV420 data before rendering receive.
 
(MobileRTCRawDataError- setExternalVideoSource:
 Sends your own video raw data.
 

Detailed Description

A helper for managing video sources and capture.

Definition at line 12 of file MobileRTCVideoSourceHelper.h.

Method Documentation

◆ setExternalVideoSource:

- (MobileRTCRawDataError) setExternalVideoSource: (id< MobileRTCVideoSourceDelegate >) delegate

Sends your own video raw data.

Parameters
delegateThe delegate. See MobileRTCVideoSourceDelegate.
Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error.
Warning
Set nil to switch to internal video source.

◆ setPreProcessor:

- (MobileRTCRawDataError) setPreProcessor: (id< MobileRTCPreProcessorDelegate >) delegate

Preprocesses video's YUV420 data before rendering receive.

Parameters
delegateThe delegate. See MobileRTCPreProcessorDelegate.
Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error..
Warning
Set nil to stop preprocessor.