We (Strafe Esports) are currently integrating Twitch video/stream player using the embed web player. This kind of embed is not the optimal solution for apps but seems to work OK on iOS. But the main problem is that we are having compatibility problems on Android where some devices seem to be able to start the stream and others not.
You guys heard of this problem before?
We would love to use any native (or native-like) player using the source of the video/stream but it seems it is against Twitch’s terms and conditions to create your own player since ads and other parts are not in it.
Currently, we’re basically doing this:
We are getting the thumbnail and showing it in a view, and when clicking that view you get to another view which shows you the stream (on iOS, it’s showing in the iOS native player) or a webview showing the stream embed from player.twitch.tv?channel=CHANNEL. This method works on iOS but is very low on performance on Android and on some devices the player loads but the video simply won’t start and the player stays black.
What is the optimal solution for this? Is embed the only way?