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

A helper that manages external source for share video and share audio in a meeting. More...

#include <MobileRTCShareSourceHelper.h>

Inherits NSObject.

Instance Methods

(MobileRTCRawDataError- setExternalShareSource:andAudioSource:
 Starts sharing external source.
 

Detailed Description

A helper that manages external source for share video and share audio in a meeting.

Definition at line 13 of file MobileRTCShareSourceHelper.h.

Method Documentation

◆ setExternalShareSource:andAudioSource:

- (MobileRTCRawDataError) setExternalShareSource: (id< MobileRTCShareSourceDelegate > _Nullable) shareDelegate
andAudioSource: (id< MobileRTCShareAudioSourceDelegate > _Nullable) audioDelegate 

Starts sharing external source.

Parameters
shareDelegateThe external source object pointer. See MobileRTCShareSourceDelegate.
audioDelegateThe external audio source object pointer. See MobileRTCShareAudioSourceDelegate.
Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error.
Warning
If audioDelegate is non-null, it indicates sharing user-defined audio at the same time.