Re: Recording in Amr Format
Hi,
I tried to use CMdaAudioRecorderUtility->RecordL() on N95 with AMR UIDs as you indicated. It gives "Feature not supported".
Did anyone write a recording application succesfully using CMdaAudioRecorderUtility->RecordL() ?
BR,
Rene
Re: Recording in Amr Format
Hi,
In general you shouldn't hard code UIDs in your application for these things - it isn't portable. If you need to use a specific controller you should query the available controller plug-ins and select the appropriate one.
Much better if possible though, is just to set the destination format and data type then open the file with one of the overloads that doesn't take any UIDs at all.
Hope that helps,
Sorcery
Re: Recording in Amr Format
Hi Sorcery-ltd,
I am just writing a test application to see if the requirement of my customer (recording using AMR-NB at 12.2Kbps) is feasible or not on S60. I am supprised that
CMdaAudioRecorderUtility->RecordL() gives "Feature not supported", but CMdaAudioInputStream works.
So my question stays: Did anyone use CMdaAudioRecorderUtility succesfully on S60? Is there an example using this specific class. It suggest it can also stream to a URL (but unknown if this works and if not why it does not work).
We will not use any hardcoded UIDs in our application when it is released to market. Thanks for this general advice.
BR,
Rene
Re: Recording in Amr Format
Hi,
I haven't personally recorded AMR with the CMdaAudioRecorderUtility, however, I remember seeing other posts on this forum for people that have. Have a search.
Have you tried what I was suggesting and just specify the format and type you want via the appropriate API calls and then just opening a file to record to without specifying any UIDs? It's actually quite likely that you are getting "Feature not supported" because the UIDs you are using are incorrect - if you leave the system to pick the appropriate controller via the method I suggest then you will find out if it is actually possible.
It is in fact possible that on some models you would be able to record in some formats via CMdaAudioInputStream and not via CMdaAudioRecorderUtility. That's because the latter requires an appropriate controller plug-in whereas the former just requires support for the codec in the DevSound layer. However, other devices may have the support the other way around, particularly older devices. That is there may be a controller plug-in and a soft codec but no support for the codec in DevSound. In that case CMdaAudioInputStream wouldn't work.
This is a tricky area where support has changed over time and you need to be careful about what devices you want to support.
Hope that helps,
Sorcery
Re: Recording in Amr Format
Hi Sorcery,
thanks for this clarification. Unfortunately I have to pause this project for 1-2 weeks (the next 2 weeks I have some other development priorities). I will get back when I have some more results.
BR,
Rene
Re: Recording in Amr Format
could anyone tell me what different encoded video files'headers are?