diff --git a/sdk/android/api/org/webrtc/SoftwareVideoDecoderFactory.java b/sdk/android/api/org/webrtc/SoftwareVideoDecoderFactory.java index e0a3dc80db..86dfb7a2c6 100644 --- a/sdk/android/api/org/webrtc/SoftwareVideoDecoderFactory.java +++ b/sdk/android/api/org/webrtc/SoftwareVideoDecoderFactory.java @@ -16,6 +16,13 @@ import java.util.List; import javax.annotation.Nullable; public class SoftwareVideoDecoderFactory implements VideoDecoderFactory { + @Deprecated + @Nullable + @Override + public VideoDecoder createDecoder(String codecType) { + return createDecoder(new VideoCodecInfo(codecType, new HashMap<>())); + } + @Nullable @Override public VideoDecoder createDecoder(VideoCodecInfo codecType) {