Skip to content
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

Playing live RTSP stream on client side #149

Open
nfynt opened this issue Nov 23, 2020 · 0 comments
Open

Playing live RTSP stream on client side #149

nfynt opened this issue Nov 23, 2020 · 0 comments

Comments

@nfynt
Copy link

nfynt commented Nov 23, 2020

Hello,

I am trying to setup a local RTSP server that can broadcast to local users (one-to-many fashion). What I have done now is configure the server on a system with serverport as 1934 (to avoid using reserved port). Now I am able to use ffmpeg to send rtsp stream from client machine to the server, but I am not able access livestream of user over VLC on another client! I can get the rtsp stream from file directory but not the livestream.

To publish the rtsp stream:

ffmpeg -re -i test.mp4 -c:v libx264 -preset fast -c:a aac -ab 128k -ar 44100 -f rtsp -muxdelay 0.1 rtsp://x.x.x.x:1934/live/test

On VLC to access the stream:

rtsp://x.x.x.x:1934/live/test

What am I missing here? Below is the server console log, which shows c5 as streaming.

image

Thanks

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

1 participant