【owt-server】AudioSendAdapter analysis

  • owt-server/source/core/rtc_adapter/AudioSendAdapter.cc

Run rtprtcpmodule using other threads

  • taskrunner allocates threads:
  • Therefore, the use of rtprtcp is done with mutex:

First generate a random ssrc for the audio sender and register it

Insert image description here

    // SSRCs of this type.
    std::vector<uint32_t> ssrcs_;

To send, you must also register pt with the rtprtcp module.

Insert image description here

Send rtp, rtcp packets

Guess you like

Origin blog.csdn.net/commshare/article/details/132684950