I tried streaming with FFmpegOut in the following steps.
_session = FFmpegSession.Create(
gameObject.name,
as like the following.
_session = FFmpegSession.CreateWithOutputPath(
"-f mpegts -codec:v mpeg1video http://localhost:8081/passwd",
sudo npm install ws
- Run
websocket-relay.js
with a password
node websocket-relay.js passwd
var url = 'ws://'+document.location.hostname+':8082/';
as like the following.
var url = 'ws://localhost:8082/';
- Open
view-stream.html
with a WebScoket-enabled browser (Firefox, Chrome, etc.).