-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error during the microphone stream #113
Comments
Hi Arcens, This looks like an FFMPEG error, not a RTSP server issue. Make sure your DShow device name is correct, you can have FFMPEG search for devices with this command: Kind regards, |
Hi Jazzy, And if I try the same command directly in power shell, ffmpeg works perfectly. But If I add the same command in the config yml ffmpeg doesn't work. Best regards, |
Hello, it seems like the server is stripping away the part of the device name in the parenthesis, so "Microphone (Realtek Audio)" becomes "Microphone". |
External commands with quotes on Windows are now parsed correctly; the fix will be added to the next release. |
Hi Aler9, Thank you for you support. Best regards, |
added in v0.12.1 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.11.0
Which operating system are you using?
Windows
Describe the problem
Description
Firstly, thank you for this amazing library. I have an error when I add the folowing config in the yml file
ffmpeg -f dshow -i audio="Microphone (Realtek Audio)" -c:a libmp3lame -f rtsp rtsp://localhost:8554/mic, however when i execute this line directly in the power whell when the server is started, is work perfectly.
mic: runOnDemand: ffmpeg -f dshow -i audio="Microphone (Realtek Audio)" -c:a libmp3lame -f rtsp rtsp://localhost:8554/mic
Bellow the error displayed by the server when I try to execute the stream with VLC
e780] Could not find audio only device with name ["Microphone] among source devices of type audio. [dshow @ 000002182a47e780] Searching for audio device within video devices for "Microphone [dshow @ 000002182a47e780] Could not find audio only device with name ["Microphone] among source devices of type video. audio="Microphone: I/O error
Do you have an idea how can I resolve the issue ?
Thank you for you support.
The text was updated successfully, but these errors were encountered: