if (is_end_reached_) {
if (playback_rate_ < 0)
return base::TimeDelta();
- if (duration_.InSecondsF())
+ if (!is_live_stream_ && duration_.InSecondsF())
return duration_;
}
}
void MediaPlayerBridgeCapi::OnBufferingUpdateTimerFired() {
+ /* player_get_streaming_download_progress is not apply for live stream
+ here no need triggered*/
+ if (is_live_stream_)
+ return;
+
int start = 0, current = 0;
if (player_get_streaming_download_progress(player_, &start, ¤t) ==
PLAYER_ERROR_NONE) {