ZegoAudioLivePlayerDelegate Protocol Reference

Conforms to NSObject
Declared in ZegoAudioRoomApi-Player.h

– onPlayStateUpdate:stream: required method

播放流事件

- (void)onPlayStateUpdate:(int)stateCode stream:(ZegoAudioStream *)stream

Parameters

stateCode

播放状态码

stream

流信息

Declared In

ZegoAudioRoomApi-Player.h

– onPlayQualityUpate:quality:

观看质量更新

- (void)onPlayQualityUpate:(NSString *)streamID quality:(ZegoApiPlayQuality)quality

Parameters

streamID

观看流ID

quality

quality 参考ZegoApiPlayQuality定义

Declared In

ZegoAudioRoomApi-Player.h