diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoDecoderFactory.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoDecoderFactory.java index f66bc2a97..b9b877fa4 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoDecoderFactory.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoDecoderFactory.java @@ -42,10 +42,10 @@ public class WebRTCVideoDecoderFactory implements VideoDecoderFactory { public VideoCodecInfo[] getSupportedCodecs() { List codecs = new ArrayList<>(); + codecs.add(H264Utils.DEFAULT_H264_BASELINE_PROFILE_CODEC); codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP8.name(), new HashMap<>())); codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP9.name(), new HashMap<>())); codecs.add(new VideoCodecInfo(VideoCodecMimeType.AV1.name(), new HashMap<>())); - codecs.add(H264Utils.DEFAULT_H264_BASELINE_PROFILE_CODEC); return codecs.toArray(new VideoCodecInfo[codecs.size()]); } diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoEncoderFactory.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoEncoderFactory.java index 12d83a987..173fad172 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoEncoderFactory.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/WebRTCVideoEncoderFactory.java @@ -43,10 +43,10 @@ public class WebRTCVideoEncoderFactory implements VideoEncoderFactory { public VideoCodecInfo[] getSupportedCodecs() { List codecs = new ArrayList<>(); + codecs.add(H264Utils.DEFAULT_H264_BASELINE_PROFILE_CODEC); codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP8.name(), new HashMap<>())); codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP9.name(), new HashMap<>())); codecs.add(new VideoCodecInfo(VideoCodecMimeType.AV1.name(), new HashMap<>())); - codecs.add(H264Utils.DEFAULT_H264_BASELINE_PROFILE_CODEC); return codecs.toArray(new VideoCodecInfo[codecs.size()]); }