Method and system for flash peer-to-peer network live broadcast based on block format
A peer-to-peer network and block technology, applied in the field of webcasting, can solve problems such as difficult peer-to-peer network interaction on other platforms, and achieve the effect of improving user experience and improving transmission efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Such as figure 1 As shown, it is a schematic flow chart of the method for Flash peer-to-peer network live broadcast based on the segmented format described in this embodiment. In this embodiment, the RTMFP transmission protocol of the Flash peer-to-peer network is integrated to connect each node, and the live video data is divided into blocks according to a fixed size, and the block live video data is distributed to each node for transmission, and finally the client receives from each node Obtain the live video data according to the order of the live video stream in order to play. The steps of the method for performing Flash peer-to-peer network live broadcast based on the block format described in this embodiment are as follows:
[0060] Step 101, setting on the Flash peer-to-peer network to generate block information for recording the description information of each live video data block according to the live video data blocks.
[0061] The description of the live v...
Embodiment 2
[0075] Such as figure 2 As shown, it is a schematic flow chart of the method for Flash peer-to-peer network live broadcast based on the segmented format described in this embodiment. On the basis of Embodiment 1, this embodiment describes the specific content of encrypting and transmitting live video data in blocks, and the steps are as follows:
[0076] Step 201, setting on the Flash peer-to-peer network to generate block information for recording the description information of each live video data block according to the live video data blocks.
[0077] Step 202. Acquire live video data, divide the live video data into blocks according to a predetermined size, and generate the block information.
[0078] Step 203, add header information to the live video data block to form a live video data piece, the header information includes: the offset position of the live video data block in the live video data stream, the video The size of live data blocks, live video status informa...
Embodiment 3
[0088] Such as image 3 As shown, it is a schematic flow chart of the method for Flash peer-to-peer network live broadcast based on the segmented format described in this embodiment. On the basis of Embodiment 1 and Embodiment 2, this embodiment describes the specific content of skipping packet playback when the live video freeze occurs on the client side, and the steps are as follows:
[0089] Step 301, set on the Flash peer-to-peer network to generate block information for recording each live video data block description information according to the live video data block, and set the freeze time threshold for playing live video data, preferably, the The freeze time threshold ranges from 1 second to 5 seconds.
[0090] Step 302. Acquire live video data, divide the live video data into blocks according to a predetermined size, and generate the block information.
[0091] Step 303, adding header information to the live video data block to form a live video data piece, the heade...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


