Is there a way of catching errors in icecast output ? #1894
Unanswered
Russsgithub
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I worked around this by calling http.head on the input.http stream url and only created it if the response status code is below 400. Icecast error - I send a very small file to the url port mount through process.run(ffmpeg ...... ) and used the status code of that response as above. It's be nice to have error catching of sources, but this works,. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running a script where an input.http source and icecast output are being dynamically created.
Situations occur where I get a error from both output.icecast and input.http . Is there a way of catching these errors ?
I have tried try/catch , but I don't think it was made for this ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions