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 to stream multiple rtsp in the same port #56

Closed
spksoft opened this issue May 3, 2020 · 3 comments
Closed

How to stream multiple rtsp in the same port #56

spksoft opened this issue May 3, 2020 · 3 comments

Comments

@spksoft
Copy link

spksoft commented May 3, 2020

How to stream multiple rtsp in the same port ?

I have to stream multiple RTSP link from multiple RTSP and I have many client to view diferrent and multiple rtsp sametime. Is this lib support this case ?

@spksoft
Copy link
Author

spksoft commented May 14, 2020

@ivanantunes I think you cannot set a streamUrl as a array of string because from the mpeg1muxer.js file line 11 there does not extract any array. From the code I sure that streamUrl must be string only.

@kyriesent
Copy link
Owner

@spksoft This is correct. Each RTSP stream will need its own port.

If there is enough demand for this I'm open to considering adding multiple streams/port as a feature. However, it might cause some breaking interface changes so it'd need to be a compelling case.

@Dipenduroy
Copy link

@kyriesent Can you add the multiple rtsp support in the same port? I am using https://github.com/k-yle/rtsp-relay#usage-with-many-cameras for the same functionality, but i am unable to get best video quality in it compared to your node-rtsp-stream library. I tried the suggested options in the library but it didn't improve the video quality. Do we have any options to get multiple rtsp in the same port with better video quality?

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

3 participants