Open ozabalaferrera opened 1 week ago
Hi, Is it possible to use the rtmp crate (or other underlying crates here) to save/write the stream to a file for some amount of time? I'm not seeing any way to do so. With ffmpeg I could achieve this with:
rtmp
ffmpeg
ffmpeg -re -t 20 -i rtmp://foo.com:554/bar/blah filename.mp4
Maybe you can save the RTMP streams as FLV format files and you can refer to this repository: https://github.com/ningnao/xiu/tree/flv_record.
Hi, Is it possible to use the
rtmp
crate (or other underlying crates here) to save/write the stream to a file for some amount of time? I'm not seeing any way to do so. Withffmpeg
I could achieve this with: