kyriesent / node-rtsp-stream

Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
MIT License
451 stars 166 forks source link

CORS policy #89

Open YasharSL opened 1 year ago

YasharSL commented 1 year ago

I have implemented an rtsp stream inside Nextjs api routes. I get a CORS error when I try to connect to the websocket. is there an option to set CORS policy for the stream?

luisjose24 commented 1 year ago

I have implemented an rtsp stream inside Nextjs api routes. I get a CORS error when I try to connect to the websocket. is there an option to set CORS policy for the stream?

Did you find an answer?

YasharSL commented 1 year ago

I have implemented an rtsp stream inside Nextjs api routes. I get a CORS error when I try to connect to the websocket. is there an option to set CORS policy for the stream?

Did you find an answer?

Unfortunately, no. I totally gave up rtsp streaming on web front-end and implemented another solution.