RtccShareOut Class Reference

Inherits from NSObject
Declared in RtccShareOut.h

  source

The Share Source must be set by the app using the SDK. That source deals with the framerate and should observe the result of the Sink’s push method. A default implementation of this object is instantiable throught RtccDefaultVideoSource.

@property (nonatomic) id<RtccShareSource> source
Discussion

The Share Source must be set by the app using the SDK. That source deals with the framerate and should observe the result of the Sink’s push method. A default implementation of this object is instantiable throught RtccDefaultVideoSource.

Declared In

RtccShareOut.h

  sink

The Sink is implemented by the SDK and sends frame only when self.isSharing

@property (nonatomic, readonly) id<RtccShareSink> sink
Discussion

The Sink is implemented by the SDK and sends frame only when self.isSharing

Declared In

RtccShareOut.h

  call

A reference to the call

@property (nonatomic, readonly, weak) RtccCall *call
Discussion

A reference to the call

Declared In

RtccShareOut.h

  sharing

If true, the system is waiting for frames. If no, the system will not send frames.

@property (nonatomic, readonly, getter=isSharing) BOOL sharing
Discussion

If true, the system is waiting for frames. If no, the system will not send frames.

Declared In

RtccShareOut.h

– start

Asks the SDK to start sending frames. Sometime after this call, the self.source start method will be called. There can only share in one direction.

- (void)start
Discussion

Asks the SDK to start sending frames. Sometime after this call, the self.source start method will be called. There can only share in one direction.

Declared In

RtccShareOut.h

– stop

Asks the SDK to stop sending frames. Sometime after this call, the self.source stop method will be called.

- (void)stop
Discussion

Asks the SDK to stop sending frames. Sometime after this call, the self.source stop method will be called.

Declared In

RtccShareOut.h