mediasoup study notes, overall understanding

The epidemic is working at home, let’s learn something together. Webrtc has some basic apis to learn the following. In fact, I have heard of this before. After running the demo, I have not had time to watch it. This time can be arranged in the plan. Better understanding of.

mediasoup provides a simple and convenient set of instant audio and video call system, the upper layer provides nodejs interface, nodejser is more close to the people.
But it also contains a lot of knowledge about audio and video media, such as media encoding and decoding.

There are indeed a lot of official documents. I was crazy at the time. It might not be possible to get started. Moreover, his demo function is also very rich. It is not easy to sort out the analysis. Of course, you can also look at the source code to help your understanding. If you have an understanding of the details of how webrtc establishes a connection, you can understand it relatively well.

Understanding of five concepts

  • Worker is simply understood as a process
  • Router routing, room
  • Producer The producer of the data,
    such as the sound collected by the microphone, the picture collected by the camera, and so on.
  • Consumer The consumer of data, the data subscribes
    to the data collected by audio or video playback.
    A user can be a producer or a subscriber at the same time.
  • Transport data transmission channel, connection;
    mediasoup can create rtctransport, plaintransport, etc.;

These later articles will introduce

characteristic

  • Support IPv6
  • Support TCP RTCP
  • Multiple streams support adaptability
  • Bandwidth assessment, congestion control
  • Support STCP, data, file transfer

The article continues to be updated~~~

reference:

Guess you like

Origin blog.csdn.net/uk_51/article/details/104656850