java.lang.Object

com.opentok.android.MediaUtils


public class MediaUtils extends Object

Includes a static getSupportedCodecs(Context context) method to discover which video codecs are supported on the device.

Nested Class Summary

Nested Classes

Modifier and Type

Class

Description

class

MediaUtils.SupportedCodecs

An object providing lists of video codecs for encoding and decoding video that are supported on the device.

static enum

MediaUtils.VideoCodecType

An enum of video codec types.

Constructor Summary

Constructors

Constructor

Description

MediaUtils()

Method Summary

All MethodsStatic MethodsConcrete Methods

Modifier and Type

Method

Description

static MediaUtils.SupportedCodecs

getSupportedCodecs(android.content.Context context)

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

MediaUtils

public MediaUtils()

Method Details

getSupportedCodecs

public static MediaUtils.SupportedCodecs getSupportedCodecs(android.content.Context context)

Parameters: : context - The android.content.Context for the MediaUtils object.

Returns: : Returns an object that lists video codecs (for encoding and decoding) supported on the device.