Created
March 10, 2012 04:23
-
-
Save justlaputa/2010129 to your computer and use it in GitHub Desktop.
LiveStreamer API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mmg.mlive.media; | |
import android.view.SurfaceHolder; | |
public class StreamerDemo { | |
public void setVideoFormat(int width, int height, int frameRate) { | |
} | |
/** | |
* set audio compress format, not used now | |
* @param sampleRate | |
* @param channel | |
*/ | |
public void setAudioFormat(int sampleRate, int channel) { | |
} | |
public void prepare() { | |
} | |
public void start() { | |
} | |
public void stop() { | |
} | |
public void release() { | |
} | |
public void setPreviewDisplay(SurfaceHolder holder) { | |
} | |
public void setVideoEnabled(boolean enable) { | |
} | |
public void setAudioEnabled(boolean enable) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment