IMediaPlayerEvent
IMediaPlayerEvent
接口,用于合并 IMediaPlayer
对象的相关事件接口。
TypeScript
export type IMediaPlayerEvent = IMediaPlayerSourceObserver &
IMediaPlayerAudioFrameObserver &
IMediaPlayerVideoFrameObserver &
IAudioSpectrumObserver;
该接口合并了以下接口:
- IMediaPlayerSourceObserver
- IMediaPlayerAudioFrameObserver
- IMediaPlayerVideoFrameObserver
- IAudioSpectrumObserver