Microsoft.PlayerFramework.Adaptive.HLS.HLSPlugin.HLSPlaylist_BitrateSwitchSuggested C# (CSharp) Method

HLSPlaylist_BitrateSwitchSuggested() private method

Called after the currently playing HLS playlist should switch bitrates.
private HLSPlaylist_BitrateSwitchSuggested ( object sender, IHLSBitrateSwitchEventArgs args ) : void
sender object The currently playling HLS playlist.
args IHLSBitrateSwitchEventArgs The that contains the details for the /// bitrate switch as well as the Cancel property which can be set to request that the switch be canceled.
return void
    private void HLSPlaylist_BitrateSwitchSuggested(object sender, IHLSBitrateSwitchEventArgs args)
    {
      if (null != this.BitrateSwitchSuggested)
        this.BitrateSwitchSuggested(sender, args);
    }