Audio and video recording method in live broadcast process and related equipment

The invention discloses an audio and video recording method in a live broadcast process and related equipment. The method comprises the following steps: acquiring audio and video coding data in a WebRtc stream pushing process; creating a media file corresponding to the audio and video recording file...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: JIANG PEIYING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an audio and video recording method in a live broadcast process and related equipment. The method comprises the following steps: acquiring audio and video coding data in a WebRtc stream pushing process; creating a media file corresponding to the audio and video recording file by using the FFmpeg; creating an audio input stream and a video input stream of the media file through the FFmpeg; creating an encoder by using the FFmpeg and writing encoder parameters into an audio input stream and a video input stream of the media file; creating a media wrapper through the FFmpeg to encapsulate the audio input stream and the video input stream into audio data and video data; and writing the audio data and the video data into the media file by using FFmpeg, and writing the end of the media file to obtain the audio and video recording file. According to the method, secondary coding during recording is avoided, so that the performance consumption of the anchor side client equipment is reduced, and