Interaction between WebRTC and IP camera

WebRTC Media Gateways for media interoperability For integrating IP cameras into WebRTC applications, media interaction needs to be implemented first. This means that the media stream provided by the camera needs to be compatible with the WebRTC codec and the format supported by the browser. This also means translating what the IP camera spits out […]

webrtc-agc automatic gain control algorithm

Recently, I have started to adjust the webrtc-agc algorithm. The process of volume feedback adjustment in adaptive analog gain mode is recorded here. Related functions in the AGC algorithm: WebRtcAgc_AddMic: used to input audio frames from the microphone into the AGC processing flow. This is the input point of the original audio frame. WebRtcAgc_AddFarend: Used […]

Basic analysis of RTP protocol used in RTSP and WebRTC

1. Introduction Real Time Streaming Protocol (RTSP) is a network transport protocol designed to send low-latency streams. The protocol was developed in 1996 by experts from RealNetworks, Netscape and Columbia University. It defines how the data in the stream should be packed For transmission. 2.RTP The principle of RTP protocol is responsible for packetizing streaming […]

[Streaming Media Server] SRS4.0 RTMP to WebRTC ICE interaction analysis

Introduction ICE stands for Interactive Connectivity Establishment: Interactive connectivity establishment method. ICE is implemented according to the recommendations of RFC5245 and is a set of protocols based on the offer/answer mode to solve NAT traversal. It comprehensively utilizes existing STUN, TURN and other protocols to establish sessions in a more efficient way. ICE introduction 1. […]

WebRTC-Android Exploration – Basic postures for creating audio and video call programs

To implement a WebRTC call application on Android, you need to go through five steps: Collect – Render local preview screen – Create connection – Signaling exchange related information – Render remote screen. WebRTC has a series of encapsulations for developers, which reduces the pressure on developers to develop a calling application. This article will […]

An attempt at WebRTC communication mechanism in IoT scenarios

Specific implementation steps Run https://github.com/Jhuster/RTCStartupDemo to see the actual effect Replace the warehouse’s RTCSignalClient with the gateway’s communication mechanism, check whether the project source code can be used: Github, and reconstruct the project. The final runtime is: 2023/05/ 28 WebRTC related knowledge Transport protocol used by WebRTC: ICE (Interactive Connectivity Establishment): This is a framework […]

The browser web page uses sipml5 (jssip, sipjs) to make calls (mod_cti is based on FreeSWITCH)-webrtc

Article directory Preface 1. Introduction to related terms (1) SSL certificate (2), JSSIP (3), SIP.js 2. Operation steps Summarize Foreword This text mainly introduces how to register a SIP account on the web side to make and receive calls. There is no need to install additional SIP softphone software and physical telephones, making it easier […]

webRTC-Simple video communication server

webRTC-Simple Video Communication Server Table of Contents [TOC] Foreword This article establishes a network video communication based on webSocket Recommended reading 《Learning WebRTC》 Content covered Get connection to server from client Identify the user on each connection end Two remote users initiate a call end call Display effect Display effect Connect Contains two pages: enter […]

Webrtc WebSocket realizes audio and video communication

General browsers have integrated webrtc functions, so point-to-point audio and video communication can be carried out within the local area network without the need for a webrtc server. This article mainly uses websocket for communication. It supports a Google browser and is not compatible with Firefox browser. At the same time, it requires Tomcat 8.0 […]

Example analysis of C++ implementation of WebRTC on github

The link is as follows https://github.com/llamerada-jp/webrtc-cpp-sample This example is divided into four parts, consisting of two classes, a structure and a main function, one by one, as follows struct Ice ICE (Interactive Connectivity Establishment) is used to establish connections struct Ice {<!– –> std::string candidate; std::string sdp_mid; // Returns the value of the “a=mid” attribute […]