03-04-2013 06:07 PM
I have a few apps that stream SHOUTcast audio and HLS video using a MediaPlayer
Both from C++ and QML
They work fine in Personal mode, but when distributed via a BES and ran in Work mode they cannot stream content.
I get a MediaError:ourceUnavailable error when calling play()
From what I've seen, the Nobex app http://appworld.blackberry.com/webstore/content/13
Anyone as seen this, or have ideas on how to fix?
The only IT policy that I have set on the BES is to require a Work mode password
Solved! Go to Solution.
03-07-2013 11:04 AM
Are you making your "Personal" to "Work" mode change WHILE the app is still running? That is, if you exit the app(s) and restart it again (after the "Work" transition has finished) does the issue fix itself?
Also, can you try to see if all the other network communcations is working as expected, after this *Work* mode transition? For example, what about the Browser app? What about the HUB? Any other apps which requires internet connectivity?
We haven't seen this issue previously but if you can provide enough data, logs, OS/SDK versions, we can try to track it down. You can also just file a bug through DIT and paste the link here; we can take that item and escalate to the respective development teams.
03-07-2013 02:38 PM
The changing of modes does not affect it, it is only about how I distribute and start the app.
If the app is sideloaded, or installed from BlackBerry World, it works file.
The issues is when the app is distrubuted using the BES, or installed from "BlackBerry World - Work" and started in work mode, I cannot have media.
YouTube in the Work mode Browser can stream video, and when we do we see the traffic go trough the BES even if I only have 3G connection on the phone. The App is also making HTTP request using QNetworkAccessManager and
QHttp without problem. So the connection to the BES and Internet connection seems to be up as expected.
Our IT do not have any filter rules that should be blocking specific traffic from the phones, and if I Wifi connect the phone on the Network of the BES, the app works in Personal mode. So it does not seem to be a firewall issue.
I see this on OS Version 10.0.10.672, and it was also the same on the version versions.
I am using Cascades SDK 10.0.9.1673
03-07-2013 02:42 PM
Just a quick comment for now:
* Any particular reason why you are using an older SDK? You should be able to upgrade to at least 10.0.10.261 SDK (through the IDE, after you install the latest SDK from the developer.blackberry.com sites). Not sure yet if that will help your situation but it definitely always advisable to be updated to the latest OS/SDK versions.
03-08-2013 01:32 PM
Thanks. Would you able to provide some logs? Also, if you can quickly create a DIT issue here: https://www.blackberry.com/jira/secure/Dashboard.j
..Then we can take that and escalate it internally ASAP.
You can just copy/paste the details you provided in this thread and possibly some logs, if possible (for example: output from "slog2info", in the terminal, after you SSH into the device; you can also just copy the log file output from the app sandboxed area.
03-15-2013 05:29 PM
Thanks. We already took the issue and made a corresponding internal bug report for it. If the issue does get resolved, you will be notified via that particular DIT issue. You can make comments on that particular DIT issue as well and continue the conversation from there, if needed.