Unlike other middleware in the market that requires various forwarding to streaming media services, EasyMedia does not need to rely on any third party streaming media services such as Nginx-RTMP, SRS, ZLMediakit and so on. You only need to have the video source address of RTSP or RTMP. EasyMedia can let them do not need to forward can directly use the browser to play, without any OCX, ActiveX, Flash plug-in, EasyMedia undoubtedly opened a new way, different from the mainstream scheme of another technical route to try.
How does EasyMedia play RTSP/RTMP video streams on the browser without plug-ins
The answer is: JavaCV uses JavaCV to read and parse RTSP/RTMP video streams and reuse/transcode them into FLV formats that browsers can play and cache them in memory. Use Netty to transfer the video stream in memory in FLV format to the browser page through HTTP or websocket protocol http-FLV and websocket-FLV. The browser page only needs FLV.js to play RTSP/RTMP video.
Not transcoding
Many people think that this project is achieved through transcoding, which is very resource-consuming, but it is not. The project will automatically determine whether to transcode or encapsulate according to the audio and video coding of the video. For example, the video source encoded by H264 / AAC will be automatically encapsulated instead of transcoded. Since FLV does not support H265 coding, the TRANScoding operation of H265 coding will be carried out. So friends in the use of H264 video source as far as possible, so you can avoid transcoding performance problems.
What video sources are supported by EasyMedia
EasyMedia can not only support RTSP, H264, H265, RTMP and other sources, thanks to the support of javaCV technology, EasyMedia also supports all FFmpeg can support video source protocols and formats.
EasyMedia runs preview
Confused answer
1. Whether streaming media service is required
No streaming forwarding is required. EasyMedia reads the video source directly and transfers it to the browser.
2. Whether the Flash plug-in is required
Don’t need. EasyMedia currently supports HTTP-FLV and websocket-FLV, which only needs flv.js to play, and all h5 players that support FLV play in the market can support it.
3, whether ffMPEG push flow is needed
Don’t need. EasyMedia in line with the more complex structure is more prone to error, so EasyMedia is to simplify the use, simplify a variety of processes, just run EasyMedia. EasyMedia is a one-stop solution to the complicated structure of pushing, sending and streaming media services that have plagued users for years.
4. Delays
It is normal to have a high delay in the test of VLC, FFPlay and other players, because they take a long time to sniff key frames by default. It is recommended to use FLV.js player to test the delay.
Open source project maintenance address
Gitee.com/52jian/Easy… We welcome your support, likes, favorites and retweets