this function is used as a way to return an audio source.
For example you could use `youtube_live("hHW1oY26kxQ")` and it would return an 
audio source from youtube live for you to use in liquidsoap.

The recursion is needed because the `url` variable (that is fetched using 
`youtube-dl` command) is a `.m3u8` URL that expires after 6 hours. It seems 
that youtube does give an expiration time for it's `.m3u8` URLs.
What happens is that, after 6 hours, I get a Forbidden HTTP status (I believe 
is a 403) error.
Recursion is a way to fetch a new youtube `.m3u8` URL.

I have posted the gstreamer Forbidden status issue in here 
https://github.com/savonet/liquidsoap/issues/762

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/763#issuecomment-489144146
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to