INNER CODE UNIT · Java

MediaStream

fyhertz/libstreaming · src/net/majorkernelpanic/streaming/MediaStream.java:42

public abstract class MediaStream implements Stream {

	protected static final String TAG = "MediaStream";
	
	/** Raw audio/video will be encoded using the MediaRecorder API. */
	public static final byte MODE_MEDIARECORDER_API = 0x01;

	/** Raw audio/video will be encoded using the MediaCodec API with buffers. */
	public static final byte MODE_MEDIACODEC_API = 0x02;

	/** Raw audio/video will be encoded using the MediaCode API with a surface. */
	public static final byte MODE_MEDIACODEC_API_2 = 0x05;

	/** A LocalSocket will be used to feed the MediaRecorder object */
	public static final byte PIPE_API_LS = 0x01;
	
	/** A ParcelFileDescriptor will be used to feed the MediaRecorder object */
	public static final byte PIPE_API_PFD = 0x02;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…