클래스 ACSVideoStreamRenderer
선언
@interface ACSVideoStreamRenderer : NSObject;
Description
비디오 렌더링을 위한 렌더러
메서드
initWithLocalVideoStream
-(instancetype _Nonnull)initWithLocalVideoStream:(ACSLocalVideoStream*_Nonnull) localVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
매개 변수
localVideoStream
- 로컬 비디오 스트림 정보nonnull_error
- Swift에서 이 API를 throw할 수 있도록 하는 데 필요합니다.
initWithRemoteVideoStream
-(instancetype _Nonnull)initWithRemoteVideoStream:(ACSRemoteVideoStream*_Nonnull) remoteVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
매개 변수
remoteVideoStream
- 원격 참가자의 비디오 스트림nonnull_error
- Swift에서 이 API를 throw할 수 있도록 하는 데 필요합니다.
createView
-(ACSVideoStreamRendererView* _Nonnull)createView:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)));
매개 변수
nonnull_error
- Swift에서 이 API를 throw할 수 있도록 하는 데 필요합니다.
반환
ACSVideoStreamRendererView
createViewWithOptions
-(ACSVideoStreamRendererView* _Nonnull)createViewWithOptions:(ACSCreateViewOptions*_Nullable) options
withError:(NSError*_Nullable*_Nonnull) error __attribute__((swift_error(nonnull_error)));
매개 변수
options
-ACSCreateViewOptions
비디오의 크기 조정 모드를 설정합니다.error
- Swift에서 이 API를 throw할 수 있도록 하는 데 필요합니다.
반환
ACSVideoStreamRendererView
Dispose
렌더러 및 이 렌더러와 연결된 모든 RendererView
를 삭제합니다. UI에서 연결된 모든 보기를 제거할 때 호출됩니다.
-(void)dispose;
속성
크기
@property(readonly) struct ACSStreamSize size;
대리자(delegate)
이 ACSVideoStreamRenderer instance 이벤트를 수신하기 위해 제공하는 개체입니다.
@property(nonatomic, assign, nullable) id<ACSVideoStreamRendererDelegate> delegate;