You Are Here:

Community: Developer Discussion Boards

#1 Old streaming amr - 2004-05-10, 10:51

Join Date: May 2004
Posts: 1
bendegand
Offline
Registered User
Hello,

I write a MIDlet on my nokia 6600 to play an amr file.
My MIDlet simulate streaming via a SourceStream specific implementation.

I use a SourceStream and a DataSource to hide to the player the data download system.
I simulate the streaming using a double buffer and downloading data by http in SourceStream.

My application works fine, it download amr file via http and play it well.

My problem is I don't know how to force player to use my SourceStream as a stream flow.
Player call SourceStream::read(byte[] b, int off, int len) function in PREFETCH state and not in STARTED state so it download all amr file data before playing.

My content type is "audio/amr".
Do you know how can I force Player to stream my SourceStream data for example on configuring it with a special option ?

I want to avoid rtp streaming or is it the single solution ?

thanks for your replies.

cordially,
benoit degand.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia