Classe ACSVideoStreamRenderer

Declaração

@interface ACSVideoStreamRenderer : NSObject;

Descrição

Compositor para composição de vídeo

Métodos

initWithLocalVideoStream

-(instancetype _Nonnull)initWithLocalVideoStream:(ACSLocalVideoStream*_Nonnull) localVideoStream
                                       withError:(NSError*_Nullable*_Nonnull) nonnull_error __attribute__((swift_error(nonnull_error)))

Parâmetros

  • localVideoStream - Informações do 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 - Transmissão em 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 - ACSCreateViewOptions para definir o modo de dimensionamento do vídeo.
  • error - necessário para tornar esta API jogável no Swift.

Devoluções

  • ACSVideoStreamRendererView

eliminar

Dispose renderer and all RendererView associated with this renderer. Para ser chamado quando tiver removido todas as vistas associadas da IU.

-(void)dispose;

Propriedades

size

@property(readonly) struct ACSStreamSize size;

delegado

Um objeto que fornece para receber eventos desta instância ACSVideoStreamRenderer.

@property(nonatomic, assign, nullable) id<ACSVideoStreamRendererDelegate> delegate;