RtpTransceiver: add kStopped enumeration value.

This change introduces a new kStopped enumeration value to
RtpTransceiverDirection, preparing for later CLs which
implement RTP header extension control,
https://chromestatus.com/feature/5680189201711104.

The new enumeration value is unused in the code.

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/65YdUi02yZk

Bug: chromium:980879
Change-Id: Id8cab9891236884542689fbf1b300e64a2cb636d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170050
Commit-Queue: Markus Handell <handellm@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30756}
This commit is contained in:
Markus Handell
2020-03-11 10:51:13 +01:00
committed by Commit Bot
parent 78964c1e0a
commit 45c104b4fd
8 changed files with 29 additions and 7 deletions

View File

@ -979,7 +979,11 @@ static void ReplaceDirection(RtpTransceiverDirection direction,
new_direction = "a=recvonly";
break;
case RtpTransceiverDirection::kSendRecv:
new_direction = "a=sendrecv";
break;
case RtpTransceiverDirection::kStopped:
default:
RTC_NOTREACHED();
new_direction = "a=sendrecv";
break;
}