node-rtsp-stream
node-rtsp-stream copied to clipboard
Any way to get audio with this
Is there a way to also embed audio to the page with this?
Looks like JSMPEG added audio support a while ago, so this should actually be pretty easy to accomplish. I think we just need to update the ffmpeg params to make this happen, so this will probably be a feature I try to implement soon.
You can use
`
ffmpegOptions: { // options ffmpeg flags
'-stats': '', // an option with no neccessary value uses a blank string
'-r': 25, // options with required values specify the value after the key
'-codec:a': 'mp2',
'-ar': 44100,
'-ac': 1,
'-b:a':'128k'
}
`