Method and device for decrypting and encrypting data by Gstreamer
A technology for encrypting data and data, which is applied in the field of streaming media data processing, and can solve the problems of no plug-ins, failure of pipeline encryption data, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0076] Based on the first embodiment above, in the second embodiment of the present invention, step S20 includes:
[0077] Step S21: Set the state of the source element as being in processing state, pass the encrypted data containing the uri attribute transmitted from the pipeline to the data collection module, and save the encrypted data into a temporary buffer through the data collection module;
[0078] Step S22: transfer the encrypted data in the buffer to the queue of the source element by the callback function;
[0079] Step S23: Set the source pad according to the attribute of the source element, push the encrypted data from the callback to the source pad, and push the encrypted data to the decryption element through the source pad.
[0080] In this embodiment, the encrypted data collected is processed by setting the state of the source element as the processing state, and the encrypted data transmitted from the pipeline containing the uri (UniformResourceIdentifier, Un...
no. 4 example
[0102] Based on the fourth embodiment above, in the fifth embodiment of the present invention, step S50 includes:
[0103] Step S51: Analyze the URL identifying the source element according to the pysrc protocol, and find the pysrc element to be downloaded;
[0104] Step S52: Modify the uri attribute of the playbin2 pipeline to the attribute corresponding to the pysrc element;
[0105] Step S53: adding the pysrc element to the pipeline through the playbin2 pipeline according to the uri attribute;
[0106] Step S54: Modify the attributes of the pysrc element to make it ready;
[0107] Step S55: creating a queue for managing the encrypted data in the pysrc element;
[0108] Step S56: Set the source pad according to the attribute of the pysrc element, so as to push the encrypted data read by the queue to the source pad.
[0109] The playback system accesses the streaming media data through the URL (UniformResourceLocator, Uniform Resource Locator) of the streaming media, and g...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com