Mp3 Streaming
Login to reply to this topic.
Mon, 2006-06-19 08:24
Joined: 2005-06-28
Forum posts: 7
Hi!

I've to write an application in order to play a MP3 file remoted hosted on a Web Server.
I want to play it in streaming, that is my priority is to avoid to download the whole file and the to player it.

Does the OpenUrlL API support Mp3 codec?

Thank you!

Mon, 2006-06-19 13:16
Joined: 2004-01-09
Forum posts: 187
OpenUrl function will launch the embedded player by recognising the MIME type for that file. There is nothing to do with the API. If your Player supports that format it will play.

Generally all devices based on Symbian 8.0a and above supports MP3 format.

----
Chetan Kulshrestha

Mon, 2006-06-19 15:08
Joined: 2006-04-17
Forum posts: 78
Hello..

yep nice to have this functionality on board..
But how is the experince, would it be with heaps of jurks Huh
What bitrate is recommended ?

Kind Regards
Faiq

____________________
S60, 8.0a and onwards
Tue, 2006-06-20 07:08
Joined: 2004-01-09
Forum posts: 187
Using Real Producer, you can have the bit rate according to your target clients(devices). But it will then convert your MP3 song to Real Audio format.

----
Chetan Kulshrestha

Tue, 2006-06-20 07:23
Joined: 2006-04-17
Forum posts: 78
Thanks for reply..

in my case i am sending packets to another client, because the mp3 is located on another mobile (not on webserver), how can i do here, what are your recommendations ?

Kind regards
Faiq
Tue, 2006-06-20 16:34
Joined: 2005-06-28
Forum posts: 7
Hi.

I've tried to implement a piece of code, without success Sad
Code:
iRecorder=CMdaAudioRecorderUtility::NewL(*this);
iRecorder->OpenUrlL(iURL,0,_L8("audio/mpeg"));
iRecorder->PlayL();

I've installed the sis file on a 6630 and a N70, but when I try to launch the PlayL mobile returns me a popup "Not supported functionality" (or similar, my mobiles speak Italian Tongue ).

I've also tried to open a wav clip modifying Mime type in audio/wav, with the same result.

Can you help me?

Tnx
Scarex
Wed, 2006-06-21 16:25
Joined: 2005-06-28
Forum posts: 7
I solved the problem in another way.

I've used    CMMFCodec::NewL(KMMFFourCCCodeMP3, KMMFFourCCCodePCM16); in order to initialize internal codec for convertion between MP3 and PCM16...then the converted audio samples are played by CMdaAudioOutputStream class.

Tnx a lot however Smiley
Thu, 2006-06-22 12:59
Joined: 2006-04-17
Forum posts: 78
Hello Scarex,

On which SDK you are working ?
It would be helpful for us, if we know on which versionS its working on.
I am doing same sort thing..

Dont forget that we cant stream 128kbps file   Grin

Kind regards
Faiq
Sun, 2006-07-02 16:40
Joined: 2006-04-17
Forum posts: 78
Hi Scarex

on which SDK and device are you on ?
I am trying todo on N 6630 Huh

Kind Regards
Frankk

____________________
S60, 8.0a and onwards
Mon, 2009-05-18 13:26
Joined: 2007-03-09
Forum posts: 6

Hi Scarex

Please give me a snippets or code that how you play audio file from URL. i am also doing same things but i am getting -5 error.

Please help me my mail id :


Tanya


copyright 2003-2009 NewLC SARL