-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement external commands for Windows #79
Comments
Hello, you're perfectly right, command should works on all platforms, i just did not have the time to do it. |
Done. See #80 |
Hi. This happens on my Ubuntu machine. Whatever the command I put in runOnDemand, I have the same error. Whatever the version. Do you know what might be causing my container not to have such executables ? This is the result of my
|
Done. |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.9.13
Describe the problem
Adding a custom command like
runOnPublish: ffmpeg -i rtsp://localhost:8554/$RTSP_SERVER_PATH -b:a 64k -f rtsp rtsp://localhost:8554/my/stream
to the configuration file does fail on windows:
I think the reason is, /bin/sh should not be used on windows devices. The following two lines should be adapted to support different plattforms:
https://github.com/aler9/rtsp-simple-server/blob/79d0f2d053b4f5f6d1f1309652e49f061d580c95/path.go#L66
https://github.com/aler9/rtsp-simple-server/blob/1065fa010ba6832ef1a6674a0336de159eb139c5/client.go#L232
The text was updated successfully, but these errors were encountered: