Web player and Web playing method based on WebAssembly technology
The invention discloses a Web player based on WebAssembly technology and a playing method. The Web player based on the WebAssembly technology comprises a UI interface, a Js layer, a WebAssemble layerand a basic library. The UI interface is used for carrying out playing related control; the Js layer...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a Web player based on WebAssembly technology and a playing method. The Web player based on the WebAssembly technology comprises a UI interface, a Js layer, a WebAssemble layerand a basic library. The UI interface is used for carrying out playing related control; the Js layer is used for receiving a control instruction from a UI interface; downloading a media stream file from a far-end server and transmitting the media stream file to the WebAssemble layer; receiving the audio data and the video data decoded by the WebAssemble layer and playing the audio data and the video data on a UI (User Interface); wherein the WebAssemble layer is used for putting a media stream file into an undecoded queue; calling the media stream file in the undecoded queue to decode the media stream file to form an audio file and a video file, and then transmitting the audio file and the video file to a Js layer; and the basic library comprises an open source library (FFMPEGA), a WebGLand a Web Audio API (Applic |
---|