You Are Here:

Community: Developer Discussion Boards

#1 Old Recording audio - 2005-04-26, 16:02

Join Date: Mar 2005
Posts: 6
cryptobox
Offline
Registered User
I wanted to record audio streams and send them over the gprs
so i tried the follwing:
Player p= Manager.createPlayer("capture://audio?endian=little&signed=unsigned&rate=8000&bits=8&encoding="+enc);


where enc is:
ulaw (size =7000byte/sec)
pcm (size= 7000bype/sec)
gsm (not working)


1st Why isn't the gsm working?
2nd are there any other encoding types?
Reply With Quote

#2 Old 2005-05-12, 12:45

Join Date: Mar 2003
Posts: 6
farinhdf
Offline
Registered User
Did you get this working?

From my experience it's impossible to access the recorder's data during the actual recording. (only works after you stop the recording).

Can anyone confirm this?
Reply With Quote

#3 Old Re: Recording audio - 2005-05-24, 09:33

Join Date: Mar 2004
Posts: 3
scud
Offline
Registered User
Quote:
Originally posted by cryptobox
2nd are there any other encoding types?
You can query supported recording media types by calling System.getProperty("audio.encodings").

And yes, you need to commit recording by calling RecordControl.commit() before recorded data can be found from your OutputStream. (this will also stop the player). See details and example code from RecordControl documentation.
Reply With Quote

#4 Old 2005-05-30, 11:26

Join Date: May 2005
Posts: 3
renukad
Offline
Registered User
yes! even i want to do the same thing..... which protocol you are plannnig to use on gprs.
Reply With Quote

#5 Old 2005-05-30, 15:50

Join Date: May 2005
Posts: 4
duanl
Offline
Registered User
scud, if you have the 6260 and 6670, by Manager.getSupportedContentTypes( "capture" ), you can get the list: "audio/wav, audio/au, audio/amr, audio/raw". but when you record a amr audio, you will get a Symbian OS Error: -1. So the list is not true. Is nokia cheating us? I really want to know about it!
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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ