Piggybacking simulcast id and ALR experiment id into video content type extension.

Use it to slice UMA video receive statis.

BUG=8032

Review-Url: https://codereview.webrtc.org/2986893002
Cr-Commit-Position: refs/heads/master@{#19598}
This commit is contained in:
ilnik
2017-08-30 03:32:14 -07:00
committed by Commit Bot
parent 057e63a0ac
commit 6d5b4d6fe1
22 changed files with 602 additions and 164 deletions

View File

@ -232,7 +232,7 @@ constexpr const char VideoContentTypeExtension::kUri[];
bool VideoContentTypeExtension::Parse(rtc::ArrayView<const uint8_t> data,
VideoContentType* content_type) {
if (data.size() == 1 &&
data[0] < static_cast<uint8_t>(VideoContentType::TOTAL_CONTENT_TYPES)) {
videocontenttypehelpers::IsValidContentType(data[0])) {
*content_type = static_cast<VideoContentType>(data[0]);
return true;
}