Answer the question
In order to leave comments, you need to log in
How to play audio from a link (Windows, MacOSX)?
It is necessary to play the file received by the link from some hosting. For example http://host.ru/audio.mp3
. The task is to play the file, but not waiting until it is completely downloaded. How can this be implemented on Windows and MacOSX? In which direction to dig?
Answer the question
In order to leave comments, you need to log in
Under MacOS X this came in handy https://github.com/tumtumtum/StreamingKit
Qt supports focus:
QMediaPlayer
player = new QMediaPlayer;
playlist = new QMediaPlaylist(player);
playlist->addMedia(QUrl("http://example.com/myfile1.mp3"));
playlist->addMedia(QUrl("http://example.com/myfile2.mp3"));
// ...
playlist->setCurrentIndex(1);
player->play();
I haven't tried libzplay.sourceforge.net/WELCOME.html
for windows
under poppy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question