mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 09:07:52 +01:00
Do not support frame tracking id extension in production
Pushing it to the list of extensions to negotiate could result in enabling it in production. BUG=None Change-Id: I98599e9fbac7e2b81b3f2ad0c7759bb052d9d9d1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306101 Commit-Queue: Philipp Hancke <phancke@microsoft.com> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40250}
This commit is contained in:
parent
5bcea256c8
commit
682755e49e
1 changed files with 5 additions and 6 deletions
|
@ -912,12 +912,11 @@ WebRtcVideoEngine::GetRtpHeaderExtensions() const {
|
|||
? webrtc::RtpTransceiverDirection::kSendRecv
|
||||
: webrtc::RtpTransceiverDirection::kStopped);
|
||||
|
||||
result.emplace_back(
|
||||
webrtc::RtpExtension::kVideoFrameTrackingIdUri, id++,
|
||||
IsEnabled(trials_, "WebRTC-VideoFrameTrackingIdAdvertised")
|
||||
? webrtc::RtpTransceiverDirection::kSendRecv
|
||||
: webrtc::RtpTransceiverDirection::kStopped);
|
||||
|
||||
// VideoFrameTrackingId is a test-only extension.
|
||||
if (IsEnabled(trials_, "WebRTC-VideoFrameTrackingIdAdvertised")) {
|
||||
result.emplace_back(webrtc::RtpExtension::kVideoFrameTrackingIdUri, id++,
|
||||
webrtc::RtpTransceiverDirection::kSendRecv);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue