Add support for sending RTP two-byte header extensions.
Automatic detection if one-byte header or two-byte header should be used based on extension ID and extension length. Bug: webrtc:7990 Change-Id: I9fc848ecc59458d1ca97bace0e57ea04d3d0ced6 Reviewed-on: https://webrtc-review.googlesource.com/c/103422 Commit-Queue: Johannes Kron <kron@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Seth Hampson <shampson@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25004}
This commit is contained in:
committed by
Commit Bot
parent
7880be1799
commit
78cdde3df6
@ -56,7 +56,8 @@ static_assert(arraysize(kExtensions) ==
|
||||
constexpr RTPExtensionType RtpHeaderExtensionMap::kInvalidType;
|
||||
constexpr int RtpHeaderExtensionMap::kInvalidId;
|
||||
|
||||
RtpHeaderExtensionMap::RtpHeaderExtensionMap() {
|
||||
RtpHeaderExtensionMap::RtpHeaderExtensionMap()
|
||||
: mixed_one_two_byte_header_supported_(false) {
|
||||
for (auto& id : ids_)
|
||||
id = kInvalidId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user