You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
FFmpegAndroid/app/src/main/java/com/frank/ffmpeg/Pusher.java

22 lines
462 B

package com.frank.ffmpeg;
/**
* Using FFmpeg to push FLV stream
* Created by frank on 2018/2/2.
*/
public class Pusher {
static {
System.loadLibrary("media-handle");
}
/**
* JNI interface: select file and push to rtmp server
*
* @param filePath liveUrl
* @param liveUrl the url of rtmp server
* @return the result of pushing stream
*/
public native int pushStream(String filePath, String liveUrl);
}