QMediaplayer streaming from a custom QIODevice with encryption on Mac OS (10.9)

后端 未结 2 1663
北荒
北荒 2021-01-15 03:04

i\'m currently porting an application from Qt4(.8.4) to Qt5(.2.0). I\'m nearly done with all the known changes like deprecated toAscii()-function, missing QtGui and so on. N

相关标签:
2条回答
  • 2021-01-15 03:53

    Just came to this page. There the available/chosen audio-backends for each platform are listed:

    Backends for each platform/OS

    As you can see the DirectShow-Plugin (Windows) does support stream sources whereas AVM Foundation/Quicktime 7 (OSX) don't have streaming support. So I guess the only solution seems to ship a custom backend with the application (gstreamer, vlc).

    0 讨论(0)
  • 2021-01-15 04:06

    Anyway,try give empty QMediaContent() to setMedia instead of 0. It is working OK for me (but,I try it in linux) In your small test project,you use mp3 -- I'm not sure if it's supported.

    0 讨论(0)
提交回复
热议问题