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

How can i launch server on IP not on local host. #145

Open
Anish009 opened this issue May 20, 2020 · 2 comments
Open

How can i launch server on IP not on local host. #145

Anish009 opened this issue May 20, 2020 · 2 comments

Comments

@Anish009
Copy link

I am using the below command to push the data to the node-RTSP-RTMP-server,

ffmpeg -input_format yuyv422 -f video4linux2 -s 1280x720 -r 10 -i /dev/video0 -c:v h264_omx -r 10 -b:v 2M -an -f rtsp rtsp://localhost:80/live/stream

but I don't want to push with localhost instead I want to use the IP address of the localhost, I am using raspberry PI 4 to do this.

How can I do this, can you help with your awesome project.

@iizukanao
Copy link
Owner

@Anish009 127.0.0.1 is the IP address of localhost. If you want to publish stream from ffmpeg to node-rtsp-rtmp-server running on the same machine by IP address, please replace rtsp://localhost:80/live/stream with rtsp://127.0.0.1:80/live/stream

@Anish009
Copy link
Author

thank you ...

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