×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    72

    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
    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"));
    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();
    Please give me a hand.....Thanks for advance

  2. #2
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    72

    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

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    3

    Re: Access Denied when streaming video

    Maybe your telephone is in offline mode.

    Best.

Similar Threads

  1. Access denied
    By decisor in forum Mobile Java General
    Replies: 9
    Last Post: 2009-10-06, 13:14
  2. FileConnection access denied
    By thechameleon in forum Mobile Java General
    Replies: 6
    Last Post: 2009-08-13, 18:29
  3. Access denied when I try to access a jar file
    By dousseau in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-09-03, 14:49
  4. Denied access to C memory
    By jmv_ in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2007-10-09, 13:24
  5. SecurityException: Access Denied
    By giovannijoe in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-01-10, 19:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •