pedroSG94 / RootEncoder

RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin
Apache License 2.0
2.53k stars 771 forks source link

Can you add rtp protocol #1573

Open hjchjcjh opened 1 week ago

hjchjcjh commented 1 week ago

When I use RTSP and RTMP with high latency, my Android camera has poor streaming latency. It is best to use the RTP protocol to reduce latency, so can you add the RTP protocol? Thanks

pedroSG94 commented 1 week ago

Hello,

Do you have a way to test it? I need an environment to test with RTP protocol

hjchjcjh commented 1 week ago

Hello,

Do you have a way to test it? I need an environment to test with RTP protocol

Of course, you can use this app to display your RTP video stream for development testing test app download: https://drive.google.com/file/d/10LN0UyKvMGZju3FasQVBoWaQmL6UILx3/view?usp=sharing

1725907309510 f7c479ff3f678e8bac1d0f60210c6e8

And also can view the source code about this app: https://github.com/Consti10/LiveVideo10ms

pedroSG94 commented 3 days ago

I'm not able to connect that app to ffmpeg using rtp. Also, I can't find a server that allow RTP stream raw without RTSP. I think that implement this protocol if I don't know the usage of it is not a good idea. This will be stopped until a clear way to test it is explained