I am just investigating http://www.broccoliproducts.com/softnotebook/rtmpclient/rtmpclient.php RTMP client code. And it is working fine so it gets data and saves the FLV file locally.
The code is pretty simple. So my questions are:
1. Is it possible to play this streaming synchronously? (okay with some delay because of the caching) (I've tried to open writing file via VLC but it is busy...)
2. Any clue how to implement it?
!!! It is not any kind of advertisement of this project! I just need to create some RTMP Player in WPF.
If you have Cygwin you could pipe output through tee
rtmpdump -i "rtmp://server/app playpath=mp4:foo.mp4" | tee a.flv | vlc -
This will save the output to a file, while simultaneously playing the stream through VLC. If you prefer not to install Cygwin I have
a small version available, only 3.2 MB. Also you could probably just find a Windows version of tee
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With