MonaSolutions/librtmfp

why TestClient NO TIME CONTROL; Please tell me how to deal it.

Closed this issue · 8 comments

why TestClient NO TIME CONTROL; Please tell me how to deal it.

Hi,

TestClient is here only for testing, you should use ffmpeg to have a complete working solution which allows to play and publish a stream smoothly. Also are you trying to play or publish with Testclient? Give us more details if you want us to help you.

ok, Have ffmpeg Integrate the rtmfp? I want send raw h264 by rtmfp, so I want to use librtmfp to send. librtmp include TestClient, can the librtmp control TIME?

Here are the instructions to compile ffmpeg with librtmfp :
https://github.com/MonaSolutions/librtmfp/blob/master/INSTALL.md

No TestClient is not good if you want to deal with time, it reads the input file with a fixed rate of 81Kb/50ms so it results in an unexpected behavior on player side.
We could write a better publish feature in TestClient but it's waste of time as ffmpeg does it better.

OK, thank you. If i have free time ,I would like to make TestClient better.

I will try ffmpeg to get rtmfp

What is "P2P direct communication only "? Is it NO video or audio? and how to get peerId?

p2p is like webrtc in javascript, 2 computers get an peerID at a rendez-vous point like monaserver and connect then directly to each others.

@thomasjammet
It would maybe worth to remove the testClient and replace it with an ffmpeg example? contributions open!!