Find out if stream is live

You should definitely not be hitting an endpoint every time a viewer loads the stream. Cache the result in your EBS, update it every so often.