RtccMediaSource Protocol Reference

Conforms to NSObject
Declared in RtccProtocols.h

Overview

The MediaSource is an object that creates data and send it to a sink. The sink is set by the SDK when setting the instance as the source in the SDK.

– start required method

Called when self.isSendingVideo is YES and, if needed, on setting the source.

- (void)start
Discussion

Called when self.isSendingVideo is YES and, if needed, on setting the source.

Declared In

RtccProtocols.h

– stop required method

Called when self.isSendingVideo is NO and on removing the source.

- (void)stop
Discussion

Called when self.isSendingVideo is NO and on removing the source.

Declared In

RtccProtocols.h

  sink required method

This sink is further defined by sub protocols.

@property (nonatomic, weak) id<RtccMediaSink> sink
Discussion

This sink is further defined by sub protocols.

Declared In

RtccProtocols.h