다음을 통해 공유


AdaptiveMediaSource.PlaybackBitrateChanged 이벤트

정의

CurrentPlaybackBitrate가 변경되면 발생합니다.

// Register
event_token PlaybackBitrateChanged(TypedEventHandler<AdaptiveMediaSource, AdaptiveMediaSourcePlaybackBitrateChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void PlaybackBitrateChanged(event_token const* cookie) const;

// Revoke with event_revoker
AdaptiveMediaSource::PlaybackBitrateChanged_revoker PlaybackBitrateChanged(auto_revoke_t, TypedEventHandler<AdaptiveMediaSource, AdaptiveMediaSourcePlaybackBitrateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AdaptiveMediaSource,AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> PlaybackBitrateChanged;
function onPlaybackBitrateChanged(eventArgs) { /* Your code */ }
adaptiveMediaSource.addEventListener("playbackbitratechanged", onPlaybackBitrateChanged);
adaptiveMediaSource.removeEventListener("playbackbitratechanged", onPlaybackBitrateChanged);
- or -
adaptiveMediaSource.onplaybackbitratechanged = onPlaybackBitrateChanged;
Public Custom Event PlaybackBitrateChanged As TypedEventHandler(Of AdaptiveMediaSource, AdaptiveMediaSourcePlaybackBitrateChangedEventArgs) 

이벤트 유형

적용 대상