Omer, I'd take a look at the integration tests for qtubuntu-media (lp:qtubuntu-media) and make sure that you're doing a similar thing with your player setup. If you don't see a difference that might be causing your crash I can help you dive a little deeper in figuring this out.
On Sat, Mar 26, 2016 at 7:39 AM, Omer Akram <om2...@ubuntu.com> wrote: > Hi! > > I am trying to use QMediaPlayer in my app to play internet streams. The > reason I am not using the QML MediaPlayer component is because due to some > reason the MediaPlayer.play() halts the app for the time of initial > buffering. So I am wanting to use QMediaPlayer for playback but it seems as > soon as I try to create QMediaPlayer object, my app crashes. I am not sure > what debug symbols I should install to know whats causing the crash. > > The crash is happening on both Xenial(desktop) and rc-proposed. I have > pushed the minimal QtCreator project source[1] to reproduce the crash. > mytype.cpp (line: 9) has the playStream() method that I am calling from > Main.qml (line: 34), the crash is happening at line mytype.cpp (line: 12). > > [1] lp:~om26er/+junk/qmedia_player_crash > > Any help here is greatly appreciated. > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp