'Node Media Server how to Update Dash Stream
const NodeMediaServer = require('node-media-server');
const config = {
rtmp: {
port: 1935,
chunk_size: 60000,
gop_cache: true,
ping: 30,
ping_timeout: 60
},
http: {
port: 8000,
mediaroot: './media',
allow_origin: '*'
},
trans: {
ffmpeg: 'C:/Program Files/ffmpeg',
tasks: [
{
app: 'live',
hls: 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]'
}
]
}
};
var nms = new NodeMediaServer(config)
nms.run();
I did follow the https://github.com/illuspas/Node-Media-Server recommend build with a app js file like this. Then I upload a live stream with ffmpeg command : ffmpeg -re -i sample.mp4 -c copy -f flv rtmp://localhost/live/sample . It work perfectly fine with rtmp
Anyone can help ? Thank You
However, when I want to change the format to Dash and access the stream like ffmpeg -re -i sample.mp4 -c copy -f dash http://localhost:8000/live/sample/index.mpd.
It returns me 
Here is the ffmpeg and node server data transfer

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
