Reland "Expose AV1 encoder&decoder from Android SDK."
This is a reland of fedd5029c584e9dc1352434b62a30cd8af2889d8 Original change's description: > Expose AV1 encoder&decoder from Android SDK. > > Bug: None > Change-Id: Ie32be36da498d4bed2a3cf51aa6abc8838e42da1 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212024 > Reviewed-by: Xavier Lepaul <xalep@webrtc.org> > Commit-Queue: Yura Yaroshevich <yura.yaroshevich@gmail.com> > Cr-Commit-Position: refs/heads/master@{#33743} Bug: None Change-Id: Ibfc7b860bd2314cf997444c7ab0d94d2b186e576 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215586 Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Commit-Queue: Yura Yaroshevich <yura.yaroshevich@gmail.com> Cr-Commit-Position: refs/heads/master@{#33882}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
0365c99474
commit
3fb51d2783
@ -34,6 +34,7 @@
|
||||
<item>VP9</item>
|
||||
<item>H264 Baseline</item>
|
||||
<item>H264 High</item>
|
||||
<item>AV1</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="audioCodecs">
|
||||
|
||||
@ -95,6 +95,8 @@ public class PeerConnectionClient {
|
||||
private static final String VIDEO_CODEC_H264 = "H264";
|
||||
private static final String VIDEO_CODEC_H264_BASELINE = "H264 Baseline";
|
||||
private static final String VIDEO_CODEC_H264_HIGH = "H264 High";
|
||||
private static final String VIDEO_CODEC_AV1 = "AV1";
|
||||
private static final String VIDEO_CODEC_AV1_SDP_CODEC_NAME = "AV1X";
|
||||
private static final String AUDIO_CODEC_OPUS = "opus";
|
||||
private static final String AUDIO_CODEC_ISAC = "ISAC";
|
||||
private static final String VIDEO_CODEC_PARAM_START_BITRATE = "x-google-start-bitrate";
|
||||
@ -986,6 +988,8 @@ public class PeerConnectionClient {
|
||||
return VIDEO_CODEC_VP8;
|
||||
case VIDEO_CODEC_VP9:
|
||||
return VIDEO_CODEC_VP9;
|
||||
case VIDEO_CODEC_AV1:
|
||||
return VIDEO_CODEC_AV1_SDP_CODEC_NAME;
|
||||
case VIDEO_CODEC_H264_HIGH:
|
||||
case VIDEO_CODEC_H264_BASELINE:
|
||||
return VIDEO_CODEC_H264;
|
||||
|
||||
Reference in New Issue
Block a user