Sunday 19 March 2017

handling multiple ports for video streaming (via jsmpeg) on ec2

i'm new to video streaming and am confused as to how to use multiple ports for web pages on ec2 to accomplish video streaming.

The streaming tutorial i'm using is http://github.com/phoboslab/jsmpeg

It works perfectly on my local machine: i load the web page with a video player on 8080 and use ffmpeg to stream my laptop camera feed on 8081

then, i got curious and wanted to deploy it on ec2.

i used http://www.lauradhamilton.com/how-to-set-up-a-nodejs-web-server-on-amazon-ec2 to do port forwarding to re-route 80 to 8080 and can load the web page just fine.

however, when i push my camera feed now i get broken pipes. presumably because i explicitly set up port 8080 and not 8081.

but i'm pretty lost on how to handle port 8081. would really appreciate help on this!



via stanley

No comments:

Post a Comment