j-holub / Node-MPV

A NodeJs Module for MPV Player
https://www.npmjs.com/package/node-mpv
MIT License
116 stars 73 forks source link

Loading content protocol error? #108

Open madaghafuri opened 1 year ago

madaghafuri commented 1 year ago

Hello, i am using node-mpv on my project right now and i wanted to mpv to play an audio streams from my microphone. So i am using a different protocol content when loading the content which is "avdevice://dshow:audio=[MY INPUT DEVICE]" but somehow it always throw an error that says

Unable to load C:\\Users\\projectDirectory\\avdevice\\dshow:audio=[MY INPUT DEVICE]

Any reason why the wrapper works this way?

emcodem commented 4 months ago

dshow is not in the list of supported protocols in util.js, maybe that is the issue?