It is now possible to modify the logging type which determines which console outputs are shown. Url: 'ws://localhost:8000/live/STREAM_NAME.flv' Var videoElement = document.getElementById('videoElement') įlvPlayer.attachMediaElement(videoElement) Http-flv websocket-flv ws://localhost:8000/live/STREAM_NAME.flv Stream key : STREAM_NAME Accessing the live stream RTMP rtmp://localhost/live/STREAM_NAME Or if you have a video file that is encoded in other audio/video format: ffmpeg -re -i INPUT_FILE_NAME -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://localhost/live/STREAM_NAME If you have a video file with H.264 video and AAC audio: ffmpeg -re -i INPUT_FILE_NAME -c copy -f flv rtmp://localhost/live/STREAM_NAME Usage docker version (only_linux_圆4) docker run -name nms -d -p 1935:1935 -p 8000:8000 illuspas/node-media-serverĬonst NodeMediaServer = require('node-media-server') Support remux to LIVE-WebSocket-FLV,Support flv.js playback.Support remux to LIVE-HTTP-FLV,Support flv.js playback.Cross platform support Windows/Linux/Unix.If you like this project you can support me. A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH Media Server
0 Comments
Leave a Reply. |