当前位置:网站首页>基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
2022-08-04 05:32:00 【睏哥RTC】
大家都知道webrtc双方完成连接,最重要的就是要双方完成sdp的交换,google没有对这个如何完成这个sdp交互做出规定,这个sdp即使通过邮件交换也行,当然我们要做一个会议系统SDK肯定要智能一点,需要向用户隐藏这个sdp交互过程。
在webrtc的例子peerconnection_client和peerconnection_server里,通过用peerconnection_server做一个http服务器,两个peerconnection_client调用http接口完成sdp和icecandidate的交换,在基于Webrtc和Janus的多人视频会议系统开发1-系统架构里,已经说明,在用Janus服务器实现webrtc多人视频会议时,对每一个客户端和Janus的连接,客户端扮演example里peerconnection_client的角色,Janus同时扮演peerconnection_server和peerconnection_client的角色,我们的目标是要将自己的视频发布到Jannus服务器,发到Janus后,后续的转发是另外一个拉取的过程,这个在后续文章中说明。
因此我们首先需要将peerconnection例子里http接口,改造成Janus用的websocket接口,websocket怎么连就不具体说了,重点讲连接后的信令过程,其实就是Janus的信令交换协议,限于篇幅,本章只列出协议过程:






--------------------------------------------------------------------------------------------------------------------------------------------------------------
原创文章,带点个人作品小广告,勿怪勿怪: “证爱网,见证爱”。
情侣之间,家庭成员之间,欢迎光临本店购买证爱礼物>>>
边栏推荐
- MNIST handwritten digit recognition - based on Mindspore to quickly build a perceptron to achieve ten categories
- 结构体内存对齐-C语言
- Rules.make - suitable for viewing in edit mode
- Object.requireNonNull 方法说明
- C语言结构体(必须掌握版)
- DRA821 环境搭建
- 淘宝分布式文件系统存储引擎(一)
- Implementation of CAS lock-free queue
- The usefulness of bind() system call
- Stream API
猜你喜欢

strlen 转义字符

2020-03-27

Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?

Janus转发丢包导致音视频不同步原因分析

No matching function for call to 'RCTBridgeModuleNameForClass'
![[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST](/img/06/6f49260732e5832edae2ec80aafc99.png)
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST

2020-03-27

LeetCode_Nov_4th_Week

arm交叉编译

C语言对文件的操作(完整版)
随机推荐
[daily office][ssh]cheatsheet
Usage of SFTP
Cut the hit pro subtitles export of essays
Janus转发丢包导致音视频不同步原因分析
Fabric v1.1 环境搭建
MySQL索引
LeetCode_22_Apr_4th_Week
counting cycle
2022在 Go (Golang) 中使用微服务的系统课程
基于asp.net的法律援助平台的设计与实现(附项目链接)
位段-C语言
Completely remove MySQL tutorial
LeetCode_Nov_4th_Week
Chapter One Introduction
LeetCode_Nov_5th_Week
Rules.make-适合在编辑模式下看
IEEE802.X protocol suite
Copy Siege Lion's Annual "Battle" | Review 2020
C语言对文件的操作(完整版)
MVC custom configuration