×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    9

    Streaming Recorded Voice!!

    hi guys
    we are developing an application where we want to stream the audio while recording it. the problem is that we can't get the recorded data before the recorder commits so we can't stream the audio

    has anybody any idea how can we do this?
    and is there any method other than using MMAPI?

    thanks in advance

  2. #2
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    78

    Re: Streaming Recorded Voice!!

    Hi,
    Unfortunately you can't do that using J2ME. You should use Symbian to develop your application.

    Regards,

    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com
    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: Streaming Recorded Voice!!

    Just to add a possible workaround, as pointed out by Hartti in this thread:

    http://discussion.forum.nokia.com/fo...d.php?t=127528

    You do not have access to the stream while recording. You have to stop recording and then send the recorded clip in one thread while starting to record another clip in the other thread.
    Pit

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    9

    Re: Streaming Recorded Voice!!

    Thank you for your replies.

    Well, in the S60 SDK 3rd edition examples, there is a sample code about audio streaming. They stated in one of the comments that you cannot use the stream as long as it's being used by the player; i.e. the voice recorder.

    So, may you clarify your point about doing that in C++ please? any citations about the possibility of doing it in the SymbianC++ would be highly appreciated.

    About using two overlapped recorders, that didn' work either. The time taken for each recorder to start after being stopped is too long to be tolerated. That leads to scattered voice stream that I doubt anybody likes to listen to.

    Thanks...

  5. #5
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    78

    Re: Streaming Recorded Voice!!

    Hi,
    Unfortunately I'm not a Symbian expert.

    Anyway I've found this link that maybe can help you:

    http://www.newlc.com/Support-for-str...dio-input.html

    Hope you can find the solution.

    Regards,
    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com
    Last edited by manupeco; 2008-06-10 at 10:55. Reason: Add signature
    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com

  6. #6
    Registered User
    Join Date
    Mar 2008
    Posts
    9

    Re: Streaming Recorded Voice!!

    Apparently, that's not doable in neither the C++ nor the J2ME. The classes you mentioned use some callback mechanisms to notify the handlers after the buffer gets full or the recorder stops. Actually, the SDK example uses them to do the streaming.

    I am, somehow, finding it logical. As there is no exposed APIs for manipulating neither the Headset profile (HSP) nor the Advanced Audio Distribution Profile (A2DP), I guess a basic reason for that is to prevent the customers from making costless calls. So, they need to disable any other alternative to that, including the ability to stream consecutive voice data; as the old wisdom states: "thre is no such thing as a free lunch."

    Thank you all for your concerns! I appreciate it, and you did your best.

    Regards...

  7. #7
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    78

    Re: Streaming Recorded Voice!!

    Hi,
    I can suggest you to keep searching because some voip applications exist and they are written using Symbian C++.

    Good luck!

    Regards,
    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com
    Emanuele Pecorari
    My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
    My Blog: http://j2mesoccer.splinder.com

  8. #8
    Regular Contributor
    Join Date
    May 2008
    Posts
    68

    Re: Streaming Recorded Voice!!

    Hi

    You can't stream recorded voice in J2ME. With Http if you can send chunks of recorded voice to server, there will be a gap between the recorded chunks when they comined and play on sever

    So you have to opt Symbian for streaming, because we can use only video or audio streaming on those handsets using SIP or any VOIP applications which supports rtsp protocols

    Thanks

    Ravi

Similar Threads

  1. E60 - Voice dialing requirements (several)
    By kja2615 in forum Series 40 & S60 Platform Feedback Archive
    Replies: 3
    Last Post: 2008-11-16, 18:48
  2. Is it possible to implement Auto Call and play recorded voice to end user
    By surajjoshi_007 in forum Mobile Java General
    Replies: 5
    Last Post: 2008-04-29, 01:43
  3. Streaming recorded audio data.
    By ravinathwani in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-09-08, 09:25
  4. Voice Streaming in my Nokia 3650
    By LearningCurve in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2004-05-31, 19:40
  5. Replies: 2
    Last Post: 2003-07-04, 11:28

Posting Permissions

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