We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
How do you configure the ws, it's the flv file that is created when you launch the stream but I don't manage to get it.
This is my config:
const config = { logType: 3, rtmp: { port: 1935, chunk_size: 60000, gop_cache: true, ping: 30, ping_timeout: 60, }, http: { port: 8080, mediaroot: "./media", allow_origin: "*", api: true, }, trans: { ffmpeg: "/usr/bin/ffmpeg", tasks: [ { app: "live", hls: true, rtmp:true, hlsFlags: "[hls_time=2:hls_list_size=3:hls_flags=delete_segments]", dash: true, dashFlags: "[f=dash:window_size=3:extra_window_size=5]", 'websocket-flv': true, // Not working }, ], }, }; var nms = new NodeMediaServer(config); nms.run();
With that you get the flv or do I need to use ffmpeg in the config ?
I saw this
You can use ffmpeg to re-push. ffmepg -re -i FLV -c copy -f flv rtmp://server-ip/live/stream Then you can access through ws://server-ip:8000/live/stream.flv
You can use ffmpeg to re-push.
ffmepg -re -i FLV -c copy -f flv rtmp://server-ip/live/stream
Then you can access through ws://server-ip:8000/live/stream.flv
Where should I insert that ?
With that I should be able to support more concurrent watcher in the same stream right ?
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
How do you configure the ws, it's the flv file that is created when you launch the stream but I don't manage to get it.
This is my config:
With that you get the flv or do I need to use ffmpeg in the config ?
I saw this
Where should I insert that ?
With that I should be able to support more concurrent watcher in the same stream right ?
Thanks
The text was updated successfully, but these errors were encountered: