Und wenn ja wie.
Mit einem Icecast Server geht der folgenden Code:
Code: Alles auswählen
Phonon::MediaObject *Objekt = new Phonon::MediaObject(this);
mediaObjekt->setCurrentSource(Phonon::MediaSource("http://Servername:Port/live.ogg"));
Phonon::AudioOutput *Ausgabe =new Phonon::AudioOutput(Phonon::MusicCategory, this);
Phonon::Path Pfad = Phonon::createPath(Objekt, Ausgabe);
Objekt->play();