Skip to content

I need RTSP server for the android (Just Server) #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
furkanturkmn opened this issue May 8, 2023 · 1 comment
Open

I need RTSP server for the android (Just Server) #1

furkanturkmn opened this issue May 8, 2023 · 1 comment

Comments

@furkanturkmn
Copy link

Hello, first of all, congratulations for your project. It is really exciting. I am developing an Android project. I want to redirect the video I play with VLC player to a server on the device with FFMPEG and watch it from the VLC player on another android device. For this, I need an RTSP server on my first device. My goal is to send the video I am watching to rtsp://127.0.0.1:8554 on my first device and watch this video on my second device by entering the ip address of the first device. I have been trying various servers on Github for a long time. In general, the servers either require a surface or codec information. I copy the codec of the video I watch with FFMPEG and send it. The code I use for this is "-re -i "+url+" -vcodec copy -an -f rtsp rtsp://127.0.0.1:8554". how can I integrate the server you use into my own project? Thank you.

@MrApple100
Copy link
Owner

MrApple100 commented May 8, 2023

Thank you for interest in my project. That repository has android version for server/client:. If we talk about this repo, that i should say it can receive only I-frames, without P-frames and B-frames. That's mean your vlc player on android must send only I-frame. In my project i need it for excelent quality of capture, because P and B frames spend some quality. You will may have Problems with lags, if you dont have fasten-fast)))) Wi-Fi or mobile network(5g). My project goal it is work for 5generation of mobile network and i sometimes have lags too(((. Project in progress... Soon i go on udp Protocol.
What i want to advice you: In addition to the server, you nead client on your Server that will receive frame. For instance, one laptop includes one app, one app includes One client for receiving and one server for sending. In repo it is. If you want to use this project like server vlc, you have to think how process p-frames and b-frames. Or, you can off P and B frames on android vlc. As I did in the repository at the link above.^
For you attach link on the video where you can see operator side. on russian.
Answer your question: you need IntelliJ idea for example. Jdk 1.7, it seems and gradle 7.2. I'll look tomorrow in the project settings and in gradle and write in the readme how to run it.
Hope, you can make it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants