void Playlist_SlidingWindowChanged(IHLSPlaylist sender, IHLSSlidingWindow args) { try { if (_initialPlaybackPosition == default(TimeSpan) && args.StartTimestamp != default(TimeSpan)) { _initialPlaybackPosition = args.StartTimestamp; } } catch (Exception Ex) { } }
void Playlist_SlidingWindowChanged(IHLSPlaylist sender, IHLSSlidingWindow args) { try { if (_initialPlaybackPosition == default(TimeSpan) && args.StartTimestamp != default(TimeSpan)) _initialPlaybackPosition = args.StartTimestamp; } catch(Exception Ex) { } }