# How to get live stream from rtmp:// server without using twitch API?

**URL:** <https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248>\
**Category:** Uncategorized\
**Created:** [November 22, 2013, 9:36am UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248 "2013-11-22T09:36:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kolyall](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kolyall/32/8731_2.png) [@Kolyall](https://staging-discuss.dev.twitch.com/u/Kolyall)\
**Post date:** [November 22, 2013, 9:36am UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/1 "2013-11-22T09:36:18Z")

</div>

Maybe some body know how to get live stream from rtmp:// server without using twitch API?  
For ex. you can see all servers by open following url

```
http://usher.justin.tv/find/CHANNELNAME.json?type=any

```

and there are a lot of rtmp:// servers. How to get stream from them?

ANSWER AFTER REQUEST:

[  
{“node”: “video10-2.arn01”, “needed\_info”: “”,“play”: “jtv\_FO2coLXGNLzCXtvR”,“meta\_game”: “Diablo III: Reaper of Souls”, “video\_height”: 720, “bitrate”: 2915.1875, “broadcast\_part”: 5, “rank”: 0, “persistent”: “true”, “cluster”: “arn01”, “token”: “76b3d8aae0e6eee2bcda8d1acc34103f1a73b595:{“swfDomains”: [“[justin.tv](http://justin.tv)”, “[jtvx.com](http://jtvx.com)”, “[xarth.com](http://xarth.com)”, “[twitchtv.com](http://twitchtv.com)”, “[twitch.tv](http://twitch.tv)”, “[newjtv.com](http://newjtv.com)”, “[jtvnw.net](http://jtvnw.net)”, “[wdtinc.com](http://wdtinc.com)”, “[imapweather.com](http://imapweather.com)”, “[facebook.com](http://facebook.com)”, “[starcrafting.com](http://starcrafting.com)”], “streamName”: “jtv\_FO2coLXGNLzCXtvR”, “expiration”: 1385121067, “server”: “video10-2.arn01”}”, “connect”: “rtmp://192.16.65.94/app”, “broadcast\_id”: 7587457488, “type”: “live”, “display”: “Source”, “find\_type”: “dist”},  
{“node”: “video12-1.fra01”, “needed\_info”: “”, “play”: “jtv\_LuAij7o0\_zozQ4jY”, “meta\_game”: “Diablo III: Reaper of Souls”, “video\_height”: 720, “bitrate”: 1600, “broadcast\_part”: 1, “rank”: 1, “persistent”: “true”, “cluster”: “fra01”, “token”: “b4db7f59d3b4d723624ee50ed2d69519d1a4cebb:{“swfDomains”: [“[justin.tv](http://justin.tv)”, “[jtvx.com](http://jtvx.com)”, “[xarth.com](http://xarth.com)”, “[twitchtv.com](http://twitchtv.com)”, “[twitch.tv](http://twitch.tv)”, “[newjtv.com](http://newjtv.com)”, “[jtvnw.net](http://jtvnw.net)”, “[wdtinc.com](http://wdtinc.com)”, “[imapweather.com](http://imapweather.com)”, “[facebook.com](http://facebook.com)”, “[starcrafting.com](http://starcrafting.com)”], “streamName”: “jtv\_LuAij7o0\_zozQ4jY”, “expiration”: 1385121067, “server”: “video12-1.fra01”}”, “connect”: “rtmp://199.9.254.232/app”, “broadcast\_id”: 7587458496, “type”: “high”, “display”: “High”, “find\_type”: “dist”},  
{“node”: “video15-2.arn01”, “needed\_info”: “”, “play”: “jtv\_e38UUDs1WLMP9wlc”, “meta\_game”: “Diablo III: Reaper of Souls”, “video\_height”: 360, “bitrate”: 350, “broadcast\_part”: 1, “rank”: 3, “persistent”: “true”, “cluster”: “arn01”, “token”: “c416673c070354e1a33edcdb535a195463cd9702:{“swfDomains”: [“[justin.tv](http://justin.tv)”, “[jtvx.com](http://jtvx.com)”, “[xarth.com](http://xarth.com)”, “[twitchtv.com](http://twitchtv.com)”, “[twitch.tv](http://twitch.tv)”, “[newjtv.com](http://newjtv.com)”, “[jtvnw.net](http://jtvnw.net)”, “[wdtinc.com](http://wdtinc.com)”, “[imapweather.com](http://imapweather.com)”, “[facebook.com](http://facebook.com)”, “[starcrafting.com](http://starcrafting.com)”], “streamName”: “jtv\_e38UUDs1WLMP9wlc”, “expiration”: 1385121067, “server”: “video15-2.arn01”}”, “connect”: “rtmp://192.16.65.99/app”, “broadcast\_id”: 7587458512, “type”: “low”, “display”: “Low”, “find\_type”: “dist”},  
{“node”: “video12-1.fra01”, “needed\_info”: “”, “play”: “jtv\_bRMbL\_ROsoHAegM2”, “meta\_game”: “Diablo III: Reaper of Souls”, “video\_height”: 480, “bitrate”: 800, “broadcast\_part”: 1, “rank”: 2, “persistent”: “true”, “cluster”: “fra01”, “token”: “bed50de10852dd0f7a24d687f43a10463557b5a3:{“swfDomains”: [“[justin.tv](http://justin.tv)”, “[jtvx.com](http://jtvx.com)”, “[xarth.com](http://xarth.com)”, “[twitchtv.com](http://twitchtv.com)”, “[twitch.tv](http://twitch.tv)”, “[newjtv.com](http://newjtv.com)”, “[jtvnw.net](http://jtvnw.net)”, “[wdtinc.com](http://wdtinc.com)”, “[imapweather.com](http://imapweather.com)”, “[facebook.com](http://facebook.com)”, “[starcrafting.com](http://starcrafting.com)”], “streamName”: “jtv\_bRMbL\_ROsoHAegM2”, “expiration”: 1385121067, “server”: “video12-1.fra01”}”, “connect”: “rtmp://199.9.254.232/app”, “broadcast\_id”: 7587458528, “type”: “medium”, “display”: “Medium”, “find\_type”: “dist”}]

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [November 23, 2013, 4:19pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/2 "2013-11-23T16:19:12Z")

</div>

The only supported method of viewing streams is through the official Flash or HLS players.

---

<div class="post-metadata">

**Author:** ![Kolyall](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kolyall/32/8731_2.png) [@Kolyall](https://staging-discuss.dev.twitch.com/u/Kolyall)\
**Post date:** [November 23, 2013, 9:06pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/3 "2013-11-23T21:06:09Z")

</div>

not true  
official android app of twitch is using it by anothet way  
[https://play.google.com/store/apps/details?id=tv.twitch.android.viewer&hl=ru](https://play.google.com/store/apps/details?id=tv.twitch.android.viewer&hl=ru)  
and this way is very fast and without using swf player, because there is no controls of player…but how I don’t know

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [November 23, 2013, 9:21pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/4 "2013-11-23T21:21:10Z")

</div>

The official Android app uses HLS. However, there are no publicly supported methods for accessing the feeds directly since that would bypass critical systems such as ads. Currently you can use:

- [Flash player](https://github.com/justintv/Twitch-API/blob/master/player.md)
- [HTML 5 (HLS) player](https://github.com/justintv/Twitch-API/blob/master/embedding.md#html5-streams-player)

---

<div class="post-metadata">

**Author:** ![Kolyall](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kolyall/32/8731_2.png) [@Kolyall](https://staging-discuss.dev.twitch.com/u/Kolyall)\
**Post date:** [December 9, 2013, 2:34pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/5 "2013-12-09T14:34:58Z")

</div>

video doesn’t play after using HLS  
on **Chrome** :  
 ![](https://staging-discuss.dev.twitch.com/uploads/default/2/a16898523efbde5d.png)

on **Android**  
 ![](https://staging-discuss.dev.twitch.com/uploads/default/3/898709092e290239.png)

what is wrong?

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [December 9, 2013, 10:17pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/6 "2013-12-09T22:17:32Z")

</div>

What Android version? Currently the Android Chrome browser [does not](https://discuss.dev.twitch.tv/t/html5-embedded-player/150/5?u=george) support HLS. On the desktop the only browser that is supported is Safari on Mac.

---

<div class="post-metadata">

**Author:** ![Kolyall](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kolyall/32/8731_2.png) [@Kolyall](https://staging-discuss.dev.twitch.com/u/Kolyall)\
**Post date:** [December 10, 2013, 7:30am UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/7 "2013-12-10T07:30:39Z")

</div>

file \*.m3u8 is not supported?

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [December 10, 2013, 2:22pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/8 "2013-12-10T14:22:55Z")

</div>

That would appear to be the case.

---

<div class="post-metadata">

**Author:** ![Kolyall](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kolyall/32/8731_2.png) [@Kolyall](https://staging-discuss.dev.twitch.com/u/Kolyall)\
**Post date:** [December 12, 2013, 2:03pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-get-live-stream-from-rtmp-server-without-using-twitch-api/248/9 "2013-12-12T14:03:09Z")

</div>

after adding video to WebView …only 2 sec of video plays and then it stops…

is there any link to video with \*.3gp , \*.mp4 or \*.m3u8?
