1 /* 2 * Copyright 2018 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 package org.webrtc; 12 13 import java.io.IOException; 14 15 interface MediaCodecWrapperFactory { 16 /** 17 * Creates a new {@link MediaCodecWrapper} by codec name. 18 * 19 * <p>For additional information see {@link android.media.MediaCodec#createByCodecName}. 20 */ createByCodecName(String name)21 MediaCodecWrapper createByCodecName(String name) throws IOException; 22 } 23