Index: webrtc/video/rtp_stream_receiver.h |
diff --git a/webrtc/video/rtp_stream_receiver.h b/webrtc/video/rtp_stream_receiver.h |
index 6968cc64285d9dadb9ad136db0627a4cd44b463f..e502521b594188e70185c032fa8a2d7edb66e658 100644 |
--- a/webrtc/video/rtp_stream_receiver.h |
+++ b/webrtc/video/rtp_stream_receiver.h |
@@ -82,6 +82,9 @@ class RtpStreamReceiver : public RtpData, |
VCMTiming* timing); |
~RtpStreamReceiver(); |
+ bool AddReceiveCodec(const VideoCodec& video_codec, |
+ const std::map<std::string, std::string>& codec_params); |
+ |
bool AddReceiveCodec(const VideoCodec& video_codec); |
uint32_t GetRemoteSsrc() const; |
@@ -158,6 +161,7 @@ class RtpStreamReceiver : public RtpData, |
void UpdateHistograms(); |
void EnableReceiveRtpHeaderExtension(const std::string& extension, int id); |
bool IsRedEnabled() const; |
+ void InsertSpsPpsIntoTracker(uint8_t payload_type); |
Clock* const clock_; |
// Ownership of this object lies with VideoReceiveStream, which owns |this|. |
@@ -196,6 +200,10 @@ class RtpStreamReceiver : public RtpData, |
std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>> |
last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_); |
video_coding::H264SpsPpsTracker tracker_; |
+ // TODO(johan): Remove pt_codec_params_ once |
+ // https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved. |
+ std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; |
stefan-webrtc
2016/12/19 12:05:23
Clarify what the mapping is with a comment. "Map f
philipel
2016/12/19 12:31:27
Done.
|
+ bool received_rtp_packet_ = false; |
}; |
} // namespace webrtc |