AgoraMediaStreamType Constants Reference

Declared in AgoraMediaPlayerKit.h

AgoraMediaStreamType

AgoraMediaStreamType, reporting the type of the media stream.

Definition

typedef NS_ENUM(NSInteger, AgoraMediaStreamType ) {
   AgoraMediaStreamTypeUnknow = 0,
   AgoraMediaStreamTypeVideo = 1,
   AgoraMediaStreamTypeAudio = 2,
   AgoraMediaStreamTypeSubtitle = 3,
};

Constants

AgoraMediaStreamTypeUnknow

0: The type is unknown.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaStreamTypeVideo

1: The video stream.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaStreamTypeAudio

2: The audio stream.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaStreamTypeSubtitle

3: The subtitle stream.

Declared In AgoraMediaPlayerKit.h.

Declared In

AgoraMediaPlayerKit.h