Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
Declaração
@interface ACSVideoStreamRenderer : NSObject;
Description
Renderizador para renderização de vídeo
Methods
initWithLocalVideoStream
-(instancetype _Nonnull)initWithLocalVideoStream:(ACSLocalVideoStream*_Nonnull) localVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
Parâmetros
-
localVideoStream- Informações de fluxo de vídeo local -
nonnull_error- necessário para tornar esta API jogável no Swift.
initWithRemoteVideoStream
-(instancetype _Nonnull)initWithRemoteVideoStream:(ACSRemoteVideoStream*_Nonnull) remoteVideoStream
withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))
Parâmetros
-
remoteVideoStream- Fluxo de vídeo no participante remoto -
nonnull_error- necessário para tornar esta API jogável no Swift.
createView
-(ACSVideoStreamRendererView* _Nonnull)createView:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)));
Parâmetros
-
nonnull_error- necessário para tornar esta API jogável no Swift.
Devoluções
ACSVideoStreamRendererView
createViewWithOptions
-(ACSVideoStreamRendererView* _Nonnull)createViewWithOptions:(ACSCreateViewOptions*_Nullable) options
withError:(NSError*_Nullable*_Nonnull) error __attribute__((swift_error(nonnull_error)));
Parâmetros
-
options-ACSCreateViewOptionspara definir o modo de dimensionamento do vídeo. -
error- necessário para tornar esta API jogável no Swift.
Devoluções
ACSVideoStreamRendererView
eliminar
Elimine o renderizador e todos os RendererView associados a este renderizador. A ser chamado quando tiver removido todas as vistas associadas da IU.
-(void)dispose;
Propriedades
size
@property(readonly) struct ACSStreamSize size;
delegado
Um objeto que você fornece para receber eventos dessa instância ACSVideoStreamRenderer.
@property(nonatomic, assign, nullable) id<ACSVideoStreamRendererDelegate> delegate;