宣言
@interface ACSVideoStreamRenderer : NSObject;
Description
ビデオ レンダリング用レンダラー
Methods
initWithLocalVideoStream
-(instancetype _Nonnull)initWithLocalVideoStream:(ACSLocalVideoStream*_Nonnull) localVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
パラメーター
-
localVideoStream- ローカルビデオストリーム情報 -
nonnull_error- この API を Swift でスロー可能にするために必要です。
initWithRemoteVideoStream
-(instancetype _Nonnull)initWithRemoteVideoStream:(ACSRemoteVideoStream*_Nonnull) remoteVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
パラメーター
-
remoteVideoStream- リモート参加者のビデオストリーム -
nonnull_error- この API を Swift でスロー可能にするために必要です。
createView
-(ACSVideoStreamRendererView* _Nonnull)createView:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)));
パラメーター
-
nonnull_error- この API を Swift でスロー可能にするために必要です。
返品ポリシー
ACSVideoStreamRendererView
createViewWithオプション
-(ACSVideoStreamRendererView* _Nonnull)createViewWithOptions:(ACSCreateViewOptions*_Nullable) options
withError:(NSError*_Nullable*_Nonnull) error __attribute__((swift_error(nonnull_error)));
パラメーター
-
options-ACSCreateViewOptionsをクリックして、ビデオのスケーリングモードを設定します。 -
error- この API を Swift でスロー可能にするために必要です。
返品ポリシー
ACSVideoStreamRendererView
dispose
レンダラーと、このレンダラーに関連付けられているすべての RendererView を破棄します。 UI から関連するすべてのビューを削除したときに呼び出されます。
-(void)dispose;
プロパティ
size
@property(readonly) struct ACSStreamSize size;
デリゲート
この ACSVideoStreamRenderer インスタンスからイベントを受信するために指定するオブジェクト。
@property(nonatomic, assign, nullable) id<ACSVideoStreamRendererDelegate> delegate;