Skip to content

Instantly share code, notes, and snippets.

@justlaputa
Created March 10, 2012 04:23
Show Gist options
  • Save justlaputa/2010129 to your computer and use it in GitHub Desktop.
Save justlaputa/2010129 to your computer and use it in GitHub Desktop.
LiveStreamer API
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