Android Live Video Broadcasting with Wowza Server

I tried broadcasting a video in an Android application through a Wowza server and it works great with this javaCV demo.

But the only problem is that it uses the flv file format to broadcast on the Wowza server. It uses FFmpegFrameRecorder to broadcast live video to a wowza server (not VOD). To set the format of the video transmitted on the server, it uses the following method:

recorder.setFormat("flv");

So the main problem with this method is that when I use other formats, it does not work. For instance,

recorder.setFormat("mpeg"); //or something like mov, etc

Please suggest a way to stream video from an Android device to a wowza server in any format other than FLV. Please provide any links or guides I can start with.

Thanks in advance.

Edit: I can only play audio during streaming video in vlc format on Android and iOS devices.

+4
source share
1 answer

, . - RTMP, RTP/RTSP. RTMP - , , FLV VCR ( ). MP4 , HTTP. , mp4 .

, FLV/RTMP , , , . RTSP, , WebRTC.

+1

Source: https://habr.com/ru/post/1542327/


All Articles