Re: [FFmpeg-devel] [ONLY FOR TEST PATCH 2/2] avformat/rtmp: add rtmp over srt

2021-05-18 Thread Zhao Zhili
> On May 19, 2021, at 12:19 AM, Thomas Volkert wrote: > > Hi, > > from my understand "ffrtmpsrt" combines rtmp (with flv (de-)muxing), > which demands by design for a transmission without packet loss, with a > transmission protocol based on UDP, which can have packet loss. So, I am > not sure

Re: [FFmpeg-devel] [ONLY FOR TEST PATCH 2/2] avformat/rtmp: add rtmp over srt

2021-05-18 Thread Thomas Volkert
Hi, from my understand "ffrtmpsrt" combines rtmp (with flv (de-)muxing), which demands by design for a transmission without packet loss, with a transmission protocol based on UDP, which can have packet loss. So, I am not sure if we actually should add something like this to our source code. Best

[FFmpeg-devel] [ONLY FOR TEST PATCH 2/2] avformat/rtmp: add rtmp over srt

2021-05-18 Thread Zhao Zhili
--- Test with: ./ffplay -listen 1 rtmpsrt://127.0.0.1: ./ffmpeg -re -i bunny.mp4 -c copy -f flv rtmpsrt://127.0.0.1: configure | 2 + libavformat/Makefile| 2 + libavformat/protocols.c | 2 + libavformat/rtmpproto.c | 11 ++- libavformat/rtmpsrt.c | 167