Audio and video data encryption and decryption method and device based on rtmp and readable storage medium

The invention relates to the technical field of data processing, and provides an audio and video data encryption and decryption method and device based on rtmp, and a readable storage medium, and themethod comprises the steps: collecting video data and audio data, and carrying out the coding of the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LIN GUOXIONG
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 relates to the technical field of data processing, and provides an audio and video data encryption and decryption method and device based on rtmp, and a readable storage medium, and themethod comprises the steps: collecting video data and audio data, and carrying out the coding of the collected video data and audio data, and forming an rtmp stream; adding an encryption zone bit field encypt to the rtmp meta data, and judging whether the encryption setting is valid or not; if the encryption setting is valid, respectively encrypting the video data and the audio data of the rtmp stream in a byte obfuscation manner; reading the encrypted rtmp flow; reading an encryption zone bit field encypt in the rtmp meta data, and judging whether the encryption setting is valid or not; if the encryption setting is valid, decrypting the rtmp stream after the encryption setting is read; and decoding the decrypted rtmp stream to obtain a clear rtmp stream. According to the invention, the video data and the audio da