# Play a stream in unity5

**URL:** <https://staging-discuss.dev.twitch.com/t/play-a-stream-in-unity5/8246>\
**Category:** API\
**Created:** [November 26, 2016, 2:46am UTC](https://staging-discuss.dev.twitch.com/t/play-a-stream-in-unity5/8246 "2016-11-26T02:46:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bloodstein](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Bloodstein](https://staging-discuss.dev.twitch.com/u/Bloodstein)\
**Post date:** [November 26, 2016, 2:46am UTC](https://staging-discuss.dev.twitch.com/t/play-a-stream-in-unity5/8246/1 "2016-11-26T02:46:02Z")

</div>

Hi,  
I have been developing an application in unity 5 and at this point i would want to play a twitch stream inside the unity 5 engine but i have not been able to implement the embedded web browser player, most of my experiments fail to play the video mostly because unity doesn’t support the webpage inside the game.

For this testing fase the only way that i have been able to play a stream is playing the hls that i get from a random website i found.

I just want to know if twitch allows for the direct play through the hls url and if yes where can i get it in the api.

---

<div class="post-metadata">

**Author:** ![Mellow](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/mellow/32/616_2.png) [@Mellow](https://staging-discuss.dev.twitch.com/u/Mellow)\
**Post date:** [November 26, 2016, 2:56am UTC](https://staging-discuss.dev.twitch.com/t/play-a-stream-in-unity5/8246/2 "2016-11-26T02:56:39Z")

</div>

The answer to your question is in the [Developer Agreement](https://www.twitch.tv/p/developer-agreement)

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [December 26, 2016, 2:56am UTC](https://staging-discuss.dev.twitch.com/t/play-a-stream-in-unity5/8246/3 "2016-12-26T02:56:40Z")

</div>

Closed on December 26, 2016, 2:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
