Chromium Code Reviews| Index: media/cast/sender/frame_sender.h |
| diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h |
| index 8128c99c4939bdebb0ae322ba3c64c752697a726..73c65b83f8afd05dea7eb699ef3eb5ee3c70ae79 100644 |
| --- a/media/cast/sender/frame_sender.h |
| +++ b/media/cast/sender/frame_sender.h |
| @@ -92,6 +92,9 @@ class FrameSender { |
| // Protected for testability. |
| void OnReceivedCastFeedback(const RtcpCastMessage& cast_feedback); |
| + // Receiving PLI (picture loss indicator) from the receiver. |
|
miu
2016/02/26 23:36:07
s/Receiving/Called when receiving a/
xjz
2016/02/27 05:53:32
Done.
|
| + void OnReceivedPli(); |
| + |
| // Returns true if too many frames would be in-flight by encoding and sending |
| // the next frame having the given |frame_duration|. |
| bool ShouldDropNextFrame(base::TimeDelta frame_duration) const; |
| @@ -166,6 +169,8 @@ class FrameSender { |
| // The most recently measured round trip time. |
| base::TimeDelta current_round_trip_time_; |
| + bool picture_lost_at_receiver_; |
|
miu
2016/02/26 23:36:07
Need comment. Explain when it is set and when it
xjz
2016/02/27 05:53:32
Done.
|
| + |
| private: |
| // Returns the maximum media duration currently allowed in-flight. This |
| // fluctuates in response to the currently-measured network latency. |