Discussion Board

Results 1 to 5 of 5
  1. #1
    Hi,

    Can we keep two video players in prefetch state, some docs say that we can, but when I tried the following code I got an ERROR event in the player listener method, the device I am using is 6630 (6.03.40).

    player1 = Manager.createPlayer(is,type);
    palyer1.addPlayerListener(this);
    player1.realize();
    videoControl = (VideoControl) player1.getControl("VideoControl");
    item =(Item) videoControl.initDisplay(.....);
    form.append(item);
    player1.prefetch();

    player2 = Manager.createPlayer(is1,type);
    palyer2.addPlayerListener(this);
    player2.realize();
    videoControl2 = (VideoControl) player2.getControl("VideoControl");
    item =(Item) videoControl2.initDisplay(.....);
    form2.append(item);
    player2.prefetch();

    Thanks

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Is this a direct copy of your source?

    There is a typo on the second line of both player cration pieces
    palyer1.addPlayerListener(this);
    should be
    player1.addPlayerListener(this);

    Hartti

  3. #3
    that was as a typing mistake, it has nothing to do with the error event

  4. #4
    Registered User srinivasvurrinkala's Avatar
    Join Date
    Apr 2007
    Location
    Hyderabad
    Posts
    21
    According to my experience pradeep we cant keep two players in a prefetch state.Anyways we have to come across problem of gap between two players.

  5. #5
    Registered User satyarajasekhar's Avatar
    Join Date
    Aug 2007
    Posts
    46
    hi,
    actually i am also doing the same thing. The problem i am facing i can able to listen the audio, but the videos are not displaying.
    i set the setDisplaySize and setDisplayLocation for the two players.
    i am using the N95 device.
    Please help me in this regard. If yes, please give me the solution for this.

    Thanks,
    G.S.Rajasekhar

Similar Threads

  1. problems displaying video
    By gorsken in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-06-21, 17:18
  2. Play video on Canvas with N 6600 doesnt work. Please help!!!
    By Robert111 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-02-22, 08:45
  3. Simultaneous video rendering - issue SOS
    By arvind_v in forum Streaming and Video
    Replies: 0
    Last Post: 2006-01-04, 15:12
  4. About video mms
    By yqspeed in forum Symbian C++
    Replies: 4
    Last Post: 2005-08-14, 07:38
  5. video players...
    By moschous in forum Streaming and Video
    Replies: 2
    Last Post: 2003-05-30, 20:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved