NERtcVideoProfileType Constants Reference

Declared in NERtcEngineEnum.h

NERtcVideoProfileType

视频 profile 类型

Definition

typedef NS_ENUM(NSUInteger, NERtcVideoProfileType ) {
   kNERtcVideoProfileLowest = 0,
   kNERtcVideoProfileLow = 1,
   kNERtcVideoProfileStandard = 2,
   kNERtcVideoProfileHD720P = 3,
   kNERtcVideoProfileHD1080P = 4,
   kNERtcVideoProfileMAX = kNERtcVideoProfileHD1080P,
   kNERtcVideoProfileFake = 5,
};

Constants

kNERtcVideoProfileLowest

普清(160×120/90 @15fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileLow

标清(320x180/240 @15fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileStandard

高清(640x360/480 @30fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileHD720P

超清(1280x720 @30fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileHD1080P

1080P(1920x1080 @30fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileMAX

普清(160×120/90 @15fps)

Declared In NERtcEngineEnum.h.

kNERtcVideoProfileFake

FakeVideo标识,仅在回调中显示。请勿主动设置,否则SDK会按照kNERtcVideoProfileStandard处理。 当远端在纯音频状态发送 SEI 时,本端将会收到远端的onNERtcEngineUserVideoDidStartWithUserID 回调,其中 maxProfile 参数为FAKE_PROFILE, 表示对端发送 16*16 的FakeVideo,此时如果本端需要接收远端的SEI信息,只需要订阅一下远端的视频即可,无须设置远端画布。

Declared In NERtcEngineEnum.h.

Declared In

NERtcEngineEnum.h