The invention discloses a point-to-point audio and video call
system based on custom signaling. A media plane adopts a mature
WebRTC protocol, and a signaling plane designs a load domain of the
MQTT protocol by taking the
MQTT protocol as a carrier to form a custom signaling. The signaling naming mode refers to the SIP protocol. An
MQTT server needs to be set up to transmit signaling, and the
server only carries out forwarding and does not carry out any
processing on a signaling message. A
client needs to customize a signaling state
machine to realize
session management so as to support the functions of call
initiation, automatic hanging up when an opposite party is busy and the like. Different from the SIP protocol, the self-defined signaling does not need a special protocol
server for
protocol processing, so that the
call establishment time
delay is shortened. Because the MQTT protocol is a binary protocol, compared with the SIP protocol, the MQTT-based self-defined signaling has the advantages that the flow consumption of hundreds of bytes is reduced on the signaling surface, and the bandwidth waste is reduced.