Added Tunneled video playback support to MediaCodec

Bug:16132368
Change-Id: I8c28cd9fbf3ca2d441f5ffa6892fbc5f70184908
This commit is contained in:
Rachad
2014-07-29 17:20:48 -07:00
committed by Rachad Alao
parent c1bf40f5c4
commit 73fc533b2e
3 changed files with 15 additions and 5 deletions

View File

@@ -444,12 +444,13 @@ public final class MediaFormat {
public static final String KEY_BITRATE_MODE = "bitrate-mode";
/**
* A key describing the reference clock ID for a tunneled codec.
* A key describing the audio session ID of the AudioTrack associated
* to a tunneled video codec.
* The associated value is an integer.
*
* @see MediaCodecInfo.CodecCapabilities#FEATURE_TunneledPlayback
*/
public static final String KEY_REFERENCE_CLOCK_ID = "reference-clock-id";
public static final String KEY_AUDIO_SESSION_ID = "audio-session-id";
/**
* A key for boolean AUTOSELECT behavior for the track. Tracks with AUTOSELECT=true