#if defined(TIZEN_MULTIMEDIA)
void Suspend() override;
void Resume() override;
+
+ bool SuspendedByPlayer() override { return was_suspended_by_player_; }
#endif
void OnFrozen() override;
media::BufferingState state,
media::BufferingStateChangeReason reason) override;
void OnDurationChange() override;
+#if BUILDFLAG(IS_TIZEN_TV)
+ void SetParentalRatingResult(bool is_pass) override;
+#endif
void OnWaiting(media::WaitingReason reason) override;
void OnAudioConfigChange(const media::AudioDecoderConfig& config) override;
void OnVideoConfigChange(const media::VideoDecoderConfig& config) override;
void OnAudioPipelineInfoChange(const media::AudioPipelineInfo& info) override;
void OnVideoPipelineInfoChange(const media::VideoPipelineInfo& info) override;
#if defined(TIZEN_MULTIMEDIA)
+ void OnSeekableTimeChange(base::TimeDelta min_time,
+ base::TimeDelta max_time,
+ bool is_live) override;
+ void OnLivePlaybackComplete() override;
+
// Called if a player in the browser process is suspended.
- void OnRequestSuspend() override;
+ void OnRequestSuspend(bool resource_conflicted) override;
void FullscreenModeToggled();
#endif
#if defined(TIZEN_MULTIMEDIA)
bool was_suspended_by_player_ = false;
+
+ // used for live streams.
+ bool is_live_stream_ = false;
+ base::TimeDelta min_seekable_time_;
+ base::TimeDelta max_seekable_time_;
#endif
// Request pipeline to suspend. It should not block other signals after