Index: media/base/demuxer.h |
diff --git a/media/base/demuxer.h b/media/base/demuxer.h |
index 581bc0075f6f5023da5970308a6b99614a718861..373faec23f4bbfaf8dbe840ba778c22b33567f8d 100644 |
--- a/media/base/demuxer.h |
+++ b/media/base/demuxer.h |
@@ -44,6 +44,12 @@ class MEDIA_EXPORT DemuxerHost { |
class MEDIA_EXPORT Demuxer { |
public: |
+ enum Liveness { |
+ LIVENESS_UNKNOWN, |
+ LIVENESS_RECORDED, |
+ LIVENESS_LIVE, |
+ }; |
+ |
// A new potentially encrypted stream has been parsed. |
// First parameter - The type of initialization data. |
// Second parameter - The initialization data associated with the stream. |
@@ -92,6 +98,9 @@ class MEDIA_EXPORT Demuxer { |
// a null Time is returned. |
virtual base::Time GetTimelineOffset() const = 0; |
+ // Returns liveness of the stream, i.e. whether it recorded or live. |
acolwell GONE FROM CHROMIUM
2014/04/25 23:30:52
nit: s/it/it is/
Sergey Ulanov
2014/04/26 01:51:03
Done.
|
+ virtual Liveness GetLiveness() const = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(Demuxer); |
}; |