QCMediaControlProtocol Protocol Reference

Conforms to NSObject
Declared in QCMediaControlProtocol.h

– fullScreen required method

声明方法,全屏调用

- (void)fullScreen

Declared In

QCMediaControlProtocol.h

– resume required method

声明方法,恢复播放

- (void)resume

Declared In

QCMediaControlProtocol.h

– suspend required method

声明方法,停止播放,并释放资源

- (void)suspend

Declared In

QCMediaControlProtocol.h

– setVolume: required method

声明方法,设置音量

- (void)setVolume:(NSInteger)volume

Parameters

volume

音量值,范围0-100

Declared In

QCMediaControlProtocol.h

– setBrightness: required method

声明方法,设置亮度

- (void)setBrightness:(float)percent

Parameters

percent

亮度百分比,范围1-0

Declared In

QCMediaControlProtocol.h

– lockScreen required method

声明方法,锁定当前屏幕,屏幕锁定后,无可操作控制器,解锁后可恢复常规

- (void)lockScreen

Declared In

QCMediaControlProtocol.h

– setRate: required method

声明方法,设置播放速率

- (void)setRate:(float)rate

Parameters

rate

播放的速率

Declared In

QCMediaControlProtocol.h

– enableHWCodec: required method

声明方法,设置是否开启硬件解码

- (void)enableHWCodec:(BOOL)enable

Parameters

enable

是否开启硬件解码

Declared In

QCMediaControlProtocol.h

– screenShot required method

声明方法,对当前帧进行截图

- (UIImage *)screenShot

Declared In

QCMediaControlProtocol.h

– multipleVideoUrls required method

声明方法,返回视频多分辨率URL 对象数组

- (NSArray<QCPlayerURL*> *)multipleVideoUrls

See Also

Declared In

QCMediaControlProtocol.h

– multipleRates required method

声明方法,返回视频设置的多速率参数的数组

- (NSArray *)multipleRates

Declared In

QCMediaControlProtocol.h

– currentResolutionPlayerIndex required method

生命方法,返回当前比方的分辨率URL对象的索引

- (NSInteger)currentResolutionPlayerIndex

Declared In

QCMediaControlProtocol.h