A video loading method and electronic device
An electronic device and video technology, applied in the multimedia field, can solve problems such as the complexity of the video data loading process, achieve the effect of improving video loading efficiency and simplifying the video loading process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050]The embodiment of the present invention provides a video loading method, such as figure 1 shown, including:
[0051] S101. The electronic device sends an address splicing request message including the m3u8 address of the advertising video and the m3u8 address of the program video to the gateway server, and the address splicing request message is used to instruct the gateway server to splice the m3u8 address of the advertising video and the m3u8 address of the program video into one Play address.
[0052] Exemplarily, the electronic device may be an electronic terminal capable of downloading and playing video data streams, such as any one of electronic terminals such as a mobile phone, an ipad, a personal computer, and a smart TV.
[0053] Wherein, the m3u8 address of the advertisement video may include slice addresses of all slice files of the advertisement video. The m3u8 address of the program video may include: slice addresses of all slice files of the program video...
Embodiment 2
[0067] The embodiment of the present invention provides a video loading method, such as figure 2 shown, including:
[0068] S201. The electronic device acquires an advertisement identifier of an advertisement video requested from an advertisement system.
[0069] Among them, the electronic device can detect in real time whether the electronic device currently has an advertisement playback demand, and after detecting that there is currently an advertisement playback demand, according to the required information of the advertisement playback demand (required information for the advertisement to be played, such as the type of advertisement, the duration of the advertisement, etc.) ) sends an advertisement request to the advertising system, and the advertising system can configure the corresponding advertising video for the electronic device according to the required information contained in the received advertising request, and send the advertisement identification of the advert...
Embodiment 3
[0093] An embodiment of the present invention provides an electronic device, such as image 3 As shown, it includes: a sending unit 31 , a receiving unit 32 and a loading unit 33 .
[0094] The sending unit 31 is configured to send an address splicing request message including the m3u8 address of the advertising video and the m3u8 address of the program video to the gateway server, and the address splicing request message is used to instruct the gateway server to combine the m3u8 address of the advertising video and the m3u8 address of the program video to the gateway server. The m3u8 address of the program video is spliced into a playback address.
[0095] The receiving unit 32 is configured to receive the splicing and playing address from the gateway server.
[0096] The loading unit 33 is configured to load the advertisement video and the program video according to the splicing playback address received by the receiving unit 32 .
[0097] Further, such as Figure 4 As ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


