WEBRTCDEMO.APK Code Daytime (four): Audio sending process

Source: Internet
Author: User

Reprint Annotated Source Http://blog.csdn.net/wanghorse

Send AudioOpenslesinput:: Recordersimplebufferqueuecallback    Openslesinput:: Recordersimplebufferqueuecallbackhandler, Save the dataOpenslesinput:: Cbthreadimpl    Audiodevicebuffer:: Setrecordedbuffer, copy the dataAudiodevicebuffer:: Setvqedata    Audiodevicebuffer::D eliverrecordeddata        Voebaseimpl:: Recordeddataisavailable            Voebaseimpl::P rocessrecordeddatawithapm                Audiodevicemoduleimpl:: Maxmicrophonevolume                    audiodevicetemplate:: Maxmicrophonevolume                Transmitmixer::P Reparedemux                    Transmitmixer:: Generateaudioframe                        Downconverttocodecformat, single-double conversion, resamplingPushresampler<T>:: Resample                    Transmitmixer::P rocessaudio,AGC、AEC、ANC                        Audioprocessingimpl::P rocessstream                            Audiobuffer::D einterleavefrom                            Audioprocessingimpl::P rocessstreamlocked                            Audiobuffer:: Interleaveto                Transmitmixer::D emuxandmix                    Channel::D EmultiplexCopying dataChannel::P repareencodeandsend, some processing, such as addingDTMF                Transmitmixer:: Encodeandsend ()                    Channel:: Encodeandsend                        Audiocodingmoduleimpl:: Add10msdata                            Audiocodingmoduleimpl::P reprocesstoadddataStoring dataAudiocodingmoduleimpl::P rocess                            Audiocodingmoduleimpl::P rocesssinglestream                                Acmgenericcodec:: Encode                                    Acmisac:: Internalencode                                Channel:: SendData                                    Modulertprtcpimpl:: Sendoutgoingdata                                        Rtpsender:: Sendoutgoingdata                                            Rtpsenderaudio:: Sendaudio                                                Rtpsender:: Buildrtpheader                                                    Rtpsender:: Creatertpheader                                                Rtpsender:: SendtonetworkStatisticsRtpsender:: Sendpackettonetwork                                                        Channel:: Sendpacket                                                            Udptransportimpl:: Sendpacket

WEBRTCDEMO.APK Code Daytime (four): Audio sending process

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.