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

Unable to read from VLC - experience server crash #40

Open
bouviervj opened this issue Jun 7, 2023 · 1 comment
Open

Unable to read from VLC - experience server crash #40

bouviervj opened this issue Jun 7, 2023 · 1 comment

Comments

@bouviervj
Copy link

Hi,

On a basic server implementation, I can't get a VLC client to connect to the server, and the server crashes (Windows).
Server code:

const RtspServer = require('rtsp-streaming-server').default;

const server = new RtspServer({
	serverPort: 5554,
	clientPort: 6554,
	rtpPortStart: 10000,
	rtpPortCount: 10000
});
 
 
async function run () {
   try { 
     await server.start();
   } catch (e) { 
     console.error(e);
   }
}
 
run();

The stream comes from FFMPEG - only Video H264 encoding - here is my app streaming on rtsp://localhost:5554/stream1:
video-stream
When connecting VLC on address: 'rtsp://localhost:6554/stream1'
rtsp_vlc I get rejected - and the server crashes:
rtsp-server-crash

Not sure where I should look at,
thanks !

@CamiloPenagos99
Copy link

any updates?

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