×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    6

    How to buffer a downloaded MP3 file from streaming server

    Please help me,,

    I'm developing a mobile internet radio,,

    I can play file MP3 from internet server, but it must be downloaded completely.
    The radio streaming always produce MP3 file non stop. I have problem when my code only can play when file is downloaded completely.
    So,How to buffer part of file so that it can be played wihout waiting downloaded file completely??

    Note : I use stream connection to connect "socket://"

    Thanx

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to buffer a downloaded MP3 file from streaming server

    well you might want to have a look at "prgressive download"...
    Also you could use the earch functionality of this Forum, streaming on J2ME has been one of the most frequestenly asked questions, not that anyone has ever really come up with a good solution by using the standard streaming capabilities...

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How to buffer a downloaded MP3 file from streaming server

    Just set the JAD attribute --> progressive_download : enabled

    And play the mp3 file using MMAPI Player.

    thanks,
    ~Amitabh

  4. #4
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to buffer a downloaded MP3 file from streaming server

    afaik that will only work on S40's for http streams...
    S60's should be able to do so out of themselves for rtsp streams...
    Also watch out for the bitrate of the stream, most S40 don't have 3G so even with progressive download you will have a very bad and stuttering playback...

Similar Threads

  1. Problems with MBM and MBG file
    By rsiudak in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2010-02-19, 02:23
  2. KERN-EXEC 3 or 0 with GPS sample code
    By neil.young in forum Symbian
    Replies: 12
    Last Post: 2009-10-14, 20:50
  3. XML onLoad with background http server problem
    By simonjuric in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2009-06-08, 16:47
  4. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  5. Error : Cannot find file : for DUMMIES
    By PACALA_BA in forum Symbian
    Replies: 7
    Last Post: 2008-07-06, 13:18

Posting Permissions

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