Streaming Video from YouTube or my server

I’ve been using Solar2D for years, but never had a need for this until now.

Does anyone know if I can stream video 1) from YouTube; or 2) my server on iOS and Android?

Try this:

Mux is an API-based video streaming service that handles the encoding and decoding of a video, distributing it to users. On top of that, it also provides a lot of additional features, like subtitles, thumbnails, GIFs, watermarking, etc. It has a data tracking API , which helps to monitor the video streaming performance as well.