Access Denied when streaming video
Hi,
I am using QMediaPlayer to stream a online video, and it would play when the app launch, but after the app launched, in left upper corner, it shows a message box"Connection Failed Access Denied", it shows again when I tried to use Phonon. Anything wrong?
Following is my code:
[CODE]
QT += core gui network phonon webkit
MOBILITY = multimedia
TARGET.CAPABILITY = UserEnvironment NetworkServices
[/CODE]
Phonon version :
[CODE]
Phonon::VideoPlayer *player = new Phonon::VideoPlayer(Phonon::VideoCategory, ui->widget);
player->play(QUrl("http://www.youtube.com/watch?v=eL71fXvCP6w&feature=rec-LGOUT-exp_fresh+div-1r-1-HM"));
[/CODE]
QMediaPlay version:
[CODE]
playerlist = new QMediaPlaylist(this);
player = new QMediaPlayer(this);
playerlist->addMedia(QUrl("http://www.youtube.com/watch?v=eL71fXvCP6w&feature=rec-LGOUT-exp_fresh+div-1r-1-HM"));
player->setPlaylist(playerlist);
widget = new QVideoWidget(this);
player->setVideoOutput(widget);
widget->show();
player->play();
[/CODE]
Please give me a hand.....Thanks for advance
Re: Access Denied when streaming video
For those if face the same problem, here's how I solve the problem :
delete all access point in settings
re-defined an access point
Re: Access Denied when streaming video
Maybe your telephone is in offline mode.
Best.