The application relates to a real-time audio-video
interaction method and device,
computer equipment, a storage medium and a
computer program product. The method comprises the following steps: acquiring an audio-
video media stream, creating a peer-to-peer connection object; generating
session description protocol request information and setting the information as a local media description, sending the information to a receiving end through a signaling channel, receiving and
processing session description protocol response information fed back by the receiving end, completing media capability negotiation of both parties, exchanging network information; performing an address
connectivity check process of an interactive connection establishment framework, cooperating with the receiving end to determine an optimal transmission path of the audio-
video media stream transmission, performing a
handshake process through a data
packet transmission layer security protocol, and negotiating to generate an end-to-end
encryption key; encapsulating and transmitting the encrypted audio-
video media stream, acquiring network transmission state information based on a real-time
transmission control protocol, and optimizing a communication transmission process in real time. The method can reduce
delay and cost and provide a more secure
decentralized network environment.