Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User pmcerlean's Avatar
    Join Date
    Oct 2006
    Posts
    5
    Hi,

    I want to write a system for reporting on live sports events.

    I want the reporters to be able to use an application on the mobile device to capture audio and have it transferred to a server (in realtime), where web listeners can access it. In effect I want to be able to let subscribers listen to the games live.

    I have read about CMdaAudioInputStream so that seems like a good place to start.

    How do I take the buffers from the audio recording and send them to a streaming server so that people can listen to them? I guess I should use RTSP for streaming them to a server.

    The next question is how do I convert the PCM16 buffers to something like AMR? I guess I need to do this before firing them to the server?

    I would be grateful if anyone can point me in the right direction as to the technologies I need to use to achieve my goals. Thanks.

    Patrick.

  2. #2
    Regular Contributor inguvaseshu's Avatar
    Join Date
    May 2006
    Location
    Hyderabad,India
    Posts
    89
    For converting pcm to amr pls refer http://discussion.forum.nokia.com/fo...ad.php?t=79254

    Regards,
    Sheshu Kumar Inguva.

  3. #3
    Registered User santhu_island's Avatar
    Join Date
    Oct 2006
    Posts
    11
    Hi,

    the idea is good but insted of recording pcm16 and then converting to amr format and streaming to server you can directly record in amr format

    TRAPD(lErrorCode, m_cAudioInputStreamPtr->SetDataTypeL(KMMFFourCCCodeAMR));

    then the buffer you receive from hardware is amr format and you no need to convert again

    Regards
    Santhosh

  4. #4
    Regular Contributor mobile_don's Avatar
    Join Date
    May 2007
    Posts
    114
    Quote Originally Posted by pmcerlean
    Hi,

    I want to write a system for reporting on live sports events.

    I want the reporters to be able to use an application on the mobile device to capture audio and have it transferred to a server (in realtime), where web listeners can access it. In effect I want to be able to let subscribers listen to the games live.

    I have read about CMdaAudioInputStream so that seems like a good place to start.

    How do I take the buffers from the audio recording and send them to a streaming server so that people can listen to them? I guess I should use RTSP for streaming them to a server.

    The next question is how do I convert the PCM16 buffers to something like AMR? I guess I need to do this before firing them to the server?

    I would be grateful if anyone can point me in the right direction as to the technologies I need to use to achieve my goals. Thanks.

    Patrick.
    Hi
    u can use this to convert PCM16 data into AMR
    void xxxx::ConvertPcmToAmr()
    {
    iSrcBuf = CMMFDescriptorBuffer::NewL(somelength(e.g.320));
    iDstBuf = CMMFDescriptorBuffer::NewL(somelength(e.g.32));

    iSrcBuf->Data().Copy(iAudioData);

    TCodecProcessResult result;
    TRAPD(iErr, result = iCodec->ProcessL(*iSrcBuf, *iDstBuf));

    iFile.Write(iDstBuf->Data());

    }

Similar Threads

  1. audio streaming problem. Please help nokia experts
    By nitinp_bioinf in forum Symbian C++
    Replies: 8
    Last Post: 2007-07-26, 06:52
  2. MMAPI audio capture on 6680 bug???
    By clydzik in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-05-31, 10:41
  3. about video capture and streaming
    By deepakskole2006 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-05-02, 10:56
  4. PCAP (Packet Capture) for Video Streaming
    By sap1981 in forum Symbian C++
    Replies: 0
    Last Post: 2005-06-01, 16:33
  5. Streaming video to web server
    By toro111 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-02-08, 13:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved