summaryrefslogtreecommitdiffstats
path: root/media/cast/framer/framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/cast/framer/framer.h')
-rw-r--r--media/cast/framer/framer.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/media/cast/framer/framer.h b/media/cast/framer/framer.h
index 0c7397b..0b7249e 100644
--- a/media/cast/framer/framer.h
+++ b/media/cast/framer/framer.h
@@ -40,15 +40,14 @@ class Framer {
const RtpCastHeader& rtp_header,
bool* duplicate);
- // Extracts a complete encoded frame - will only return a complete continuous
- // frame.
- // Returns false if the frame does not exist or if the frame is not complete
- // within the given time frame.
- bool GetEncodedVideoFrame(transport::EncodedFrame* video_frame,
- bool* next_frame);
-
- bool GetEncodedAudioFrame(transport::EncodedFrame* audio_frame,
- bool* next_frame);
+ // Extracts a complete encoded frame - will only return a complete and
+ // decodable frame. Returns false if no such frames exist.
+ // |next_frame| will be set to true if the returned frame is the very
+ // next frame. |have_multiple_complete_frames| will be set to true
+ // if there are more decodadble frames available.
+ bool GetEncodedFrame(transport::EncodedFrame* video_frame,
+ bool* next_frame,
+ bool* have_multiple_complete_frames);
void ReleaseFrame(uint32 frame_id);