Skip to content

Commit d63fb6a

Browse files
committed
translate Pusher into English
translate Pusher into English
1 parent a207c04 commit d63fb6a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.frank.ffmpeg;
22

33
/**
4-
* 使用FFmepg进行推流直播
4+
* Using FFmpeg to push FLV stream
55
* Created by frank on 2018/2/2.
66
*/
77

@@ -10,7 +10,13 @@ public class Pusher {
1010
System.loadLibrary("media-handle");
1111
}
1212

13-
//选择本地文件推流到指定平台直播
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+
*/
1420
public native int pushStream(String filePath, String liveUrl);
1521

1622
}

0 commit comments

Comments
 (0)