[SailfishDevel] Mjpeg support in webview

Coley coley.curtin at gmail.com
Tue Jan 14 16:17:33 UTC 2014


When I try QtMultimedia to playback the stream as suggested it fails.
I get an error - The QMediaPlayer object does not have a valid service
I'm guessing I need to install some plugin, but what one should I install?

Thanks,
-Coley.

On 13 January 2014 16:54, Coley <coley.curtin at gmail.com> wrote:
> OK, will investigate the alternate suggested.
> Thanks.
> -Coley.
>
>
> On 13 January 2014 15:33, Vesa-Matti Hartikainen
> <vesa-matti.hartikainen at jolla.com> wrote:
>>
>> Hi,
>>
>>  We have not configured Mozilla engine for 3rd party use (there are issues
>> like only one profile, etc.), and that is why using it is not a good idea,
>> and the app would not be accepted to store.
>>
>> Perhaps you could try to use QtMultimedia to playback the stream?
>> http://qt-project.org/doc/qt-5.1/qtmultimedia/qml-qtmultimedia5-video.html
>>
>> BR,
>>  Vesku
>>
>>
>>
>>
>>
>> On 01/13/2014 03:50 PM, Coley wrote:
>>
>> Hi,
>> I'm trying to display an Mjpeg stream in a little app I'm creating using
>> QML.
>> Initially I tried SilicaWebView but this fails to display the image.
>>
>> The image can be displayed fine using the native browser, so I tried to
>> use qtmozembed pkg but I don't know what to import into my project.
>> I've added
>> import Qt5Mozilla 1.0
>> but this doesn't seem to be valid.
>>
>> I've installed qtmozembed-qt5 on the SDK and it is already present on
>> device, and the appropriate -devel pkg on the SDK.
>>
>> Is there any variable I need to add to the CONFIG var in my .pro file?
>>
>> Thanks,
>> -Coley.
>>
>>
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>>
>>
>>
>> --
>> Vesa-Matti Hartikainen
>> Jolla Oy
>> http://jolla.com
>> p. +358 50 487 6067
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>
>


More information about the Devel mailing list