×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    55

    S40 6th edition (7230, X2-00): play video file from stream doesn't work

    Hi all,

    Does anybody know if playing video from a stream (file stream, network stream, doesn't matter), rather than playing file from a (local) url, works on the 7230 and/or X2-00?

    Using the Manager.createPlayer(InputStream stream, String mime_type);
    I get following logging:

    Code:
    124547.568 j.l.Thread(Thread-35) INFO la isEmulator: NokiaX2-00/04.90
    124547.571 j.l.Thread(Thread-35) INFO jh play file from stream: file:///C:/predefgallery/predefvideos/24856.3gp
    124549.295 j.l.Thread(Thread-35) INFO jh Player created, now starting to prefetch videodata and update controls ...
    124549.317 j.l.Thread(Thread-35) INFO jh Realizing player
    124549.327 j.l.Thread(Thread-35) INFO jh Realize finished
    124549.329 j.l.Thread(Thread-35) INFO jh Prefetching player
    124549.359 j.l.Thread(Thread-35) INFO jh Prefetch finished
    // get video and volume control
    124549.362 j.l.Thread(Thread-35) INFO jh updating controls
    124549.365 j.l.Thread(Thread-35) INFO jh Controls updated
    124549.368 j.l.Thread(Thread-35) INFO jh PlayerListener added
    124549.370 j.l.Thread(Thread-35) INFO jh Player ready
    // show video control on screen
    124549.385 j.l.Thread(Thread-35) INFO jh locatePlayer
    124549.388 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh playerUpdate ---------------------------------- sizeChanged (com.nokia.mid.impl.isa.mmedia.video.VideoCtrlImpl@3c628a4)
    124549.389 j.l.Thread(Thread-35) INFO jh setFullscreen
    124549.400 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh player state = 300
    124549.402 j.l.Thread(Thread-35) INFO jh dsize: w: 128
    124549.409 j.l.Thread(Thread-35) INFO jh dsize: h: 96
    124549.457 j.l.Thread(Thread-35) INFO jh ssize: w: 240
    124549.459 j.l.Thread(Thread-35) INFO jh ssize: h: 176
    124549.464 j.l.Thread(Thread-35) INFO jh Setting volume of player to 100
    124549.484 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh playerUpdate ---------------------------------- sizeChanged (com.nokia.mid.impl.isa.mmedia.video.VideoCtrlImpl@3c628a4)
    124549.500 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh player state = 300
    124549.504 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh playerUpdate ---------------------------------- volumeChanged (com.nokia.mid.impl.isa.mmedia.VolumeCtrlImpl@acddf72)
    124549.507 c.n.m.i.i.m.EvtQ(Thread-38) INFO jh player state = 300
    Notice the player remains in state 300 (Prefetched) but after that nothing happens.
    Using Manager.createPlayer(String url); this seems to work on those devices.
    Our code works on S40 5th edition and other manufacturer's devices, so it's highly undoubtable that the code is wrong.

    The issue here is that we want to stream video files and when enough data is being fetched, we start the player.
    Only if we work through files, we get the annoying confirmations for reading and writing files. Signing and installing over the air gives us the possibility to enable the read/write but many end users won't know there is such a thing as application access.


    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Re: S40 6th edition (7230, X2-00): play video file from stream doesn't work

    which manager ?
    please sent me detial to samish.marwaha2820@gmail.com
    thanx

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    55

    Re: S40 6th edition (7230, X2-00): play video file from stream doesn't work


  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: S40 6th edition (7230, X2-00): play video file from stream doesn't work

    When the error encountered, were you testing the app on the emulator or real device?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    55

    Re: S40 6th edition (7230, X2-00): play video file from stream doesn't work

    All testing happened on real devices.

Similar Threads

  1. Nokia X2-00 - JSR234 : It's a joke ??
    By loicmormont in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2013-03-16, 17:26
  2. Video (progressive streaming and from file) on Nokia 7230
    By thijsman86 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 15
    Last Post: 2011-03-08, 18:10
  3. Video on S40 6th Edition Lite phones
    By thijsman86 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2010-09-17, 14:48

Posting Permissions

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