[M120 Migration][MM] Handle live stream duration and currenttime
[platform/framework/web/chromium-efl.git] / third_party / blink / renderer / platform / media / web_media_player_impl.cc
index 78775f6..e568676 100644 (file)
@@ -2584,6 +2584,15 @@ void WebMediaPlayerImpl::OnSeekableTimeChange(base::TimeDelta min_time,
   max_seekable_time_ = max_time;
 }
 
+void WebMediaPlayerImpl::OnLivePlaybackComplete() {
+  LOG(INFO) << __func__;
+  if (!client_) {
+    LOG(ERROR) << __func__ << ", client is null";
+    return;
+  }
+  client_->OnLivePlaybackComplete();
+}
+
 void WebMediaPlayerImpl::OnRequestSuspend(bool resource_conflicted) {
   if (pipeline_controller_->IsSuspended()) {
     LOG(INFO) << __func__ << " Already suspended.";