# Xibo Android Client unable to display more rtsp streams at the same time

**URL:** https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935
**Category:** Xibo Player for Android
**Created:** [October 31, 2015, 10:06am UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935 "2015-10-31T10:06:40Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![fabi86](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fabi86](https://community.xibo.org.uk/u/fabi86)
#### Post date: [October 31, 2015, 10:06am UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/1 "2015-10-31T10:06:40Z")

</div>

Dear all,

I tried to create a layout (screen divided by 4 regions) and display 4 rtsp streams at the same time. The streams are pulled from different ip cams and I am able to display one sigle stream, but never more at the same time. let me describe: first i.e. cam 2 is showing, all other ones are black. next time as soon as the layout appears cam 4 is shown, but none of the other ones. next time may be cam 3 only. I have no clue why this is the case. If i show the 4 cams after each other, everything works fine. But the requirement is to show all four of them contemporarily. Any suggestions how I could do that?

As a workaround: I am also able to pull screenshots from the cams. Would it be an option to display the screenshot and change it every 0,5 or every sec? Or is there any way to assemble the 4 streams as a html page (dahua cams) and then simply embed them to xibo? my fav solution would be rtsp.

Thanks  
Fabian

---

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [October 31, 2015, 9:33pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/2 "2015-10-31T21:33:33Z")

</div>

What hardware are you using? We’ve come across devices that are unable to render more than one video (regardless of source) simultaneously in the past.

---

<div class="post-metadata">

### Author: ![fabi86](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fabi86](https://community.xibo.org.uk/u/fabi86)
#### Post date: [October 31, 2015, 9:47pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/3 "2015-10-31T21:47:13Z")

</div>

Thanks for your reply. I am using this device: MXQ S85  
[http://www.amazon.com/Amlogic-Android-Quad-Core-Bluetooth-Support/dp/B00NXOGVDA](http://www.amazon.com/Amlogic-Android-Quad-Core-Bluetooth-Support/dp/B00NXOGVDA)

I have the same issue on this device: MX3 M82

> **[Amazon.com: DIAOTEC(TM) MX3 (MX-III) Smart 4K TV Box Mini PC Streaming Media Player, Android 4.4, Quad Core CPU Amlogic S802 Cortex A9@ 2GHz, Octa core ARM Mali-450 GPU, 2GB RAM, 8GB ROM, 2.4G/5G Dual WiFi, Miracast DLNA XBMC-All in one Entertainment System: Electronics](https://www.amazon.com/Streaming-Mali-450-Miracast-XBMC-All-Entertainment/dp/B00MGPFT2G)**
>
> CPU: Amlogic S802 Quad Core up to 2.0GHz (Cortex-A9) GPU: Octa core ARM Mali-450 GPU up to 600MHz OS: Google Android 4.4.2 RAM: DDR3 2GB ROM: Onboard eMMC Flash 8GB Expand Memory: Micro SD Card (Maxim ...

---

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [November 2, 2015, 9:14am UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/4 "2015-11-02T09:14:08Z")

</div>

Neither are devices we’ve tested so I’m afraid I can’t comment on their ability. Try putting 4 different video files in the same arrangement on a layout and see if it can play 4 video files simultaneously. My guess is it will only be able to show one video file too.

---

<div class="post-metadata">

### Author: ![fabi86](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fabi86](https://community.xibo.org.uk/u/fabi86)
#### Post date: [November 2, 2015, 9:33am UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/5 "2015-11-02T09:33:48Z")

</div>

I have already tried that with no luck. Can it really be just the device? Its a standard android 4.4.2 os.  
Any other suggestions? Can I may be rewrite the video stream and embed it somehow? I am also able to pull mjpeg, but android (webview) is not capable of showing it. It works well in chrome on android, but xibo is not able to use that instead of webview 😕 any suggestions or hints that may be helpful?

Thanks in advance

---

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [November 2, 2015, 11:45am UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/6 "2015-11-02T11:45:24Z")

</div>

I don’t have one of our recommended devices with me today so I can’t test it directly for you now. Perhaps someone else will be able to.

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [November 2, 2015, 12:04pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/7 "2015-11-02T12:04:11Z")

</div>

Hi Fabian,

It’s most likely related to your device, not all android devices can handle 2 or more videos playing simultaneously.

One of our recommended devices is Minix neo Z64, on this device I can easily display 4 (probably more too) videos at once.

---

<div class="post-metadata">

### Author: ![dan](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dan/32/9115_2.png) [@dan](https://community.xibo.org.uk/u/dan)
#### Post date: [November 2, 2015, 12:10pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/8 "2015-11-02T12:10:41Z")

</div>

> [@fabi86](#):
>
> Can it really be just the device?

Unfortunately the answer is yes - sort of. Xibo for Android uses the MediaPlayer provided by Android to render all video. In many cases the MediaPlayer will use a hardware decoder so that you get the best possible playback. The hardware decoder is provided by the firmware of the device and is the deciding factor for whether or not a device can play multiple sources or not.

A device with a higher specification should be more likely to support decoding multiple streams at once - although i’ve not personally tested with 4.

We do want to replace the MediaPlayer with something more customisable, however we are still likely to use the hardware decoding route as that is the thing that makes sense.

> [@fabi86](#):
>
> It works well in chrome on android, but xibo is not able to use that instead of webview

Starting with 4.4 the webview has been [based on chrome](https://developer.chrome.com/multidevice/webview/overview). 4.4.2 should have version 30, but I am not sure whether that is capable of displaying mjpeg.

---

<div class="post-metadata">

### Author: ![fabi86](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fabi86](https://community.xibo.org.uk/u/fabi86)
#### Post date: [November 2, 2015, 1:15pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/9 "2015-11-02T13:15:12Z")

</div>

Thank you all for the feedback.  
Ok then I get it, its most likely because of the hardware decoder. Does one of you know if the .net client is able to play 4 streams? because I need the streams just in 1-2 places, for the other stuff my devices have enough power.

Thanks

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [November 2, 2015, 1:59pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/10 "2015-11-02T13:59:05Z")

</div>

Minix Neo Z64 can come with Android (that’s the one that I have) or Windows.

Streams are a bit easier to setup on Android device to be honest, but in this case you’d need new device(s)

As for Windows client, is it capable of displaying 4 videos at once? Definitely yes, although again it might depend on PC spec and the video quality etc.

Also as I’ve mentioned, live streams on Xibo for Windows are a bit more tricky to setup  
Please have a look at this guide:

> [@Streaming live video to Xibo .NET client](https://community.xibo.org.uk/t/streaming-live-video-to-xibo-net-client/3162):
>
> Caveats/Warnings The method I’m using currently hasn’t been tested at scale, so I can’t speak to how things will behave for you. As with many things like this, your mileage may vary. FWIW, our setup powers four displays so far with more to be installed soon. I’d be happy to address any major discrepancies, though, so let me know if you see something. Overview We’ve recently begun using Xibo at Zenoss to promote employee achievements & announcements on a series of screens throughout our corpo…

---

<div class="post-metadata">

### Author: ![fabi86](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fabi86](https://community.xibo.org.uk/u/fabi86)
#### Post date: [November 2, 2015, 2:09pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/11 "2015-11-02T14:09:59Z")

</div>

Thanks again, will look into that. Last question, just out of curiosity: why do you not test more low-cost devices like the mxq s85? I used it for weeks now and am really happy with it. It costs less than half what the minix devices cost 🙂 Thanks

---

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [November 2, 2015, 2:40pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/12 "2015-11-02T14:40:01Z")

</div>

We have tested lower cost devices but they aren’t recommended because of issues just like the one you’ve hit here.

They are normally built to a poor standard and will fail in long term use 24/7, or come with poorly written firmware.

The devices we recommend have undergone many hours of testing and there are thousands of installations out there using them so any issues with them are likely to come to our attention quickly.

---

<div class="post-metadata">

### Author: ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)
#### Post date: [March 4, 2020, 5:15pm UTC](https://community.xibo.org.uk/t/xibo-android-client-unable-to-display-more-rtsp-streams-at-the-same-time/3935/13 "2020-03-04T17:15:28Z")

</div>


