We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a207c04 commit d63fb6aCopy full SHA for d63fb6a
1 file changed
app/src/main/java/com/frank/ffmpeg/Pusher.java
@@ -1,7 +1,7 @@
1
package com.frank.ffmpeg;
2
3
/**
4
- * 使用FFmepg进行推流直播
+ * Using FFmpeg to push FLV stream
5
* Created by frank on 2018/2/2.
6
*/
7
@@ -10,7 +10,13 @@ public class Pusher {
10
System.loadLibrary("media-handle");
11
}
12
13
- //选择本地文件推流到指定平台直播
+ /**
14
+ * JNI interface: select file and push to rtmp server
15
+ *
16
+ * @param filePath liveUrl
17
+ * @param liveUrl the url of rtmp server
18
+ * @return the result of pushing stream
19
+ */
20
public native int pushStream(String filePath, String liveUrl);
21
22
0 commit comments