Add VP9 profile negotiation to SDP

This CL adds VP9 profile information in SDP. It adds the necessary fields and
enums to codec containers.

Additional profiles will be followed.

Bug: webrtc:9376
Change-Id: I78574714f06f8087262a71dd64c01f31a229dd54
Reviewed-on: https://webrtc-review.googlesource.com/81960
Reviewed-by: Taylor (left Google) <deadbeef@webrtc.org>
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23810}
This commit is contained in:
Emircan Uysaler
2018-06-28 10:59:02 -07:00
committed by Commit Bot
parent 0ea751539e
commit 98badbcd9f
14 changed files with 223 additions and 35 deletions

View File

@ -25,7 +25,7 @@ static jlong JNI_VP9Encoder_CreateEncoder(JNIEnv* jni,
static jboolean JNI_VP9Encoder_IsSupported(JNIEnv* jni,
const JavaParamRef<jclass>&) {
return VP9Encoder::IsSupported();
return !SupportedVP9Codecs().empty();
}
static jlong JNI_VP9Decoder_CreateDecoder(JNIEnv* jni,
@ -35,7 +35,7 @@ static jlong JNI_VP9Decoder_CreateDecoder(JNIEnv* jni,
static jboolean JNI_VP9Decoder_IsSupported(JNIEnv* jni,
const JavaParamRef<jclass>&) {
return VP9Decoder::IsSupported();
return !SupportedVP9Codecs().empty();
}
} // namespace jni