[SailfishDevel] GStreamer does not support HTTP streaming -- Workaround?
Erlend Boe
erlendboe at yahoo.com
Thu Jul 11 14:18:30 UTC 2013
Hi Thomas,
Thanks for your help.
I have filed bug #689.
@all: go and vote for it at https://bugs.nemomobile.org
Regards,
Erlend
On 11.07.2013, at 15:21, "Thomas B. Rücker" <thomas at ruecker.fi> wrote:
> Hi,
>
> On 07/11/2013 12:40 PM, Erlend Boe wrote:
>> I tried to play an .ogg audio file using a http url in my application (from qml), but it is not working.
>> The error message that I get is:
>> GStreamer; Unable to play - "http://upload.wikimedia.org/wikipedia/commons/4/4b/En-us-surname.ogg"
>> Error: "No URI handler implemented for "http".
>>
>> I then saw that also MeeGo once had this problem, bug 1584.
>> (performing a similar test in the simulator gives the same error as in bug 1584)
>
> Umm, that's bad and should be fixed. I suppose Mer inherited the build
> config from MeeGo.
> GStreamer is part of Nemo middleware nowadays and bugs can be filed here:
> https://bugs.nemomobile.org/
> Once it's fixed there it should automagically also appear in Sailfish as
> that uses Nemo MW.
>
>> What is the best workaround for this issue? Do I need to download the .ogg file to a temporary file in C++, and then use this local file?
>
> You can't easily do that with e.g. a large file or a live stream like
> those listed on http://dir.xiph.org. You'd essentially need to implement
> your own HTTP client. So building it with HTTP support enabled is in
> order and removes the incentive to reinvent the wheel, badly.
>
> Cheers
>
> Thomas
> _______________________________________________
> SailfishOS.org Devel mailing list
More information about the Devel
mailing list