Index: talk/session/media/channel.h |
diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h |
index 0a7ce9d1a9e8355bc83ac4433a751ef22deb0354..afd67bec7fc2e8765ee441c0e73e36b424749e4a 100644 |
--- a/talk/session/media/channel.h |
+++ b/talk/session/media/channel.h |
@@ -213,6 +213,8 @@ class BaseChannel |
size_t len, |
const rtc::PacketTime& packet_time, |
int flags); |
+ void OnPacketSent(TransportChannel* channel, |
+ const rtc::SentPacket& packet_sent); |
void OnReadyToSend(TransportChannel* channel); |
bool PacketIsRtcp(const TransportChannel* channel, const char* data, |
@@ -261,10 +263,10 @@ class BaseChannel |
ContentSource src, |
std::string* error_desc); |
- // Helper method to get RTP Absoulute SendTime extension header id if |
- // present in remote supported extensions list. |
- void MaybeCacheRtpAbsSendTimeHeaderExtension( |
- const std::vector<RtpHeaderExtension>& extensions); |
+ // Helper method to store a subset of the RTP header extensions, if |
+ // present in the remote supported extensions list. |
+ void MaybeCacheRtpHeaderExtensions( |
+ const std::vector<RtpHeaderExtension>& extensions); |
bool CheckSrtpConfig(const std::vector<CryptoParams>& cryptos, |
bool* dtls, |
@@ -295,6 +297,9 @@ class BaseChannel |
} |
private: |
+ int32_t ParseTransportSequenceNumberHeaderExtension(uint8_t* data, |
+ size_t length) const; |
+ |
rtc::Thread* worker_thread_; |
TransportController* transport_controller_; |
MediaChannel* media_channel_; |
@@ -323,6 +328,7 @@ class BaseChannel |
bool dtls_keyed_; |
bool secure_required_; |
int rtp_abs_sendtime_extn_id_; |
+ int rtp_transport_sequence_number_extn_id_; |
}; |
// VoiceChannel is a specialization that adds support for early media, DTMF, |