×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    Streaming mp3 from local file system.

    Hello all,
    I'm developing mp3 player with decryption support.
    I need to change mp3 data in the time it is playing. At the beggining i've extended InputStream class (read method) and it worked. Unfortunately i've noticed that large files doesn't want to play or they are starting but after all data is read (it takes a lot of time). I'm going to extend DataSource and SourceStream so that large files might be working.
    I've searched internet and found:

    http://today.java.net/pub/a/today/20...me.html?page=1

    There is example with streaming rtsp data. I would like to do the same with fileconnection. Does enybody know if it will work? (it will play large files)?

  2. #2
    Registered User
    Join Date
    Aug 2007
    Posts
    14

    Re: Streaming mp3 from local file system.

    I would certainly like to know how to fix this problem. It is a complete pain.

    It is a problem I have only encountered with Nokia phones, not other ones - ie SonyEricsson. I haven't checked Motorola or Samsung, although I will probably do so very shortly.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    2

    Re: Streaming mp3 from local file system.

    Quote Originally Posted by qbodzio View Post
    Hello all,
    I'm developing mp3 player with decryption support.
    I need to change mp3 data in the time it is playing. At the beggining i've extended InputStream class (read method) and it worked. Unfortunately i've noticed that large files doesn't want to play or they are starting but after all data is read (it takes a lot of time). I'm going to extend DataSource and SourceStream so that large files might be working.
    I've searched internet and found:

    http://today.java.net/pub/a/today/20...me.html?page=1

    There is example with streaming rtsp data. I would like to do the same with fileconnection. Does enybody know if it will work? (it will play large files)?

    Hi Anybody knows how to stream file from file system..?

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Streaming mp3 from local file system.

    It is possible on some devices (newer S60 phones).

    There are some details in the MMAPI implementation notes in Java ME Developer's library
    http://www.forum.nokia.com/document/...rs_Library_v1/

    Hartti

Similar Threads

  1. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  2. S60 theme questions
    By Nokian_Spb in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-08-17, 06:11
  3. N6600 - Can't move MP3 file to MMC Card if sent by BT
    By sugaray in forum Bluetooth Technology
    Replies: 1
    Last Post: 2004-11-29, 11:59
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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