Index: media/blink/websourcebuffer_impl.cc |
diff --git a/media/blink/websourcebuffer_impl.cc b/media/blink/websourcebuffer_impl.cc |
index 48f987eb21c6d07a8d5e473b7721fcc6364a29cd..169ad75fc21fb1c4b1b1cd70867c22e6e7cfdb22 100644 |
--- a/media/blink/websourcebuffer_impl.cc |
+++ b/media/blink/websourcebuffer_impl.cc |
@@ -91,6 +91,10 @@ blink::WebTimeRanges WebSourceBufferImpl::buffered() { |
return result; |
} |
+double WebSourceBufferImpl::highestPresentationTimestamp() { |
+ return demuxer_->GetHighestPresentationTimestamp(id_).InSecondsF(); |
+} |
+ |
bool WebSourceBufferImpl::evictCodedFrames(double currentPlaybackTime, |
size_t newDataSize) { |
return demuxer_->EvictCodedFrames( |