Declare Plan B DEPRECATED

Bug: webrtc:11121
Change-Id: Id9b933a71a9bfd1d20ddd137f43459cdc8ed1896
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238780
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35504}
This commit is contained in:
Harald Alvestrand
2021-12-08 14:30:55 +00:00
committed by WebRTC LUCI CQ
parent 7c1461fcb7
commit fa67aef93f
4 changed files with 19 additions and 16 deletions

View File

@ -112,13 +112,13 @@ SdpSemantics JavaToNativeSdpSemantics(JNIEnv* jni,
std::string enum_name = GetJavaEnumName(jni, j_sdp_semantics);
if (enum_name == "PLAN_B")
return SdpSemantics::kPlanB;
return SdpSemantics::kPlanB_DEPRECATED;
if (enum_name == "UNIFIED_PLAN")
return SdpSemantics::kUnifiedPlan;
RTC_DCHECK_NOTREACHED();
return SdpSemantics::kPlanB;
return SdpSemantics::kPlanB_DEPRECATED;
}
ScopedJavaLocalRef<jobject> NativeToJavaCandidatePairChange(