Live broadcast room processing method and device for realizing small-window video playing
A technology of playing video and processing method, applied in the field of information processing, can solve the problem of large display area, and achieve the effect of streamlining the live broadcast window, simple interface, and reducing the area
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This embodiment provides a live room processing method for realizing video playback in a small window, which is applied to a terminal. figure 1 It is a schematic flow chart of the processing method of the live broadcast room for realizing small window playback of video, including:
[0051] Step S11, creating a live broadcast page and a dialog box in a hidden state, the live broadcast page includes a video playback layer and a room list layer, and when the video playback layer is displayed, the room list layer is in a hidden state.
[0052] Specifically, since there are multiple live rooms, the server has a roomManager, and each live room has a room network interface, the room interface. The server communicates with the room interface on the terminal through the roomManager, and realizes the connection between each live room. manage. The live broadcast page can be realized in the following ways:
[0053] A1: Create a window object Qt, and make the window object inherit...
Embodiment 2
[0090] The live broadcast room processing method for realizing video playback in the small window provided by this embodiment, after detecting the trigger operation of the first small window play option in embodiment 1, further includes: closing the target live room Live window. By closing the live window of the target live room, only using the dialog box to play the live video of the target live room, avoiding opening two windows at the same time to watch the live video of the same live room, and saving system resources.
[0091] Specifically, the current split page of the target live room can be obtained through the getTab method of the TabView control and the index of the current split page, and then the cached room network interface can be obtained in the current split page, and then the current split page can be deleted through the removedTab method of the TabView control. Splitting the page, and deleting the room network interface of the target live room from the roomMan...
Embodiment 3
[0094] The live room processing method used to realize the small window playback video provided by this embodiment is based on the video stream address of the target live room as described in embodiment 1, after the live video of the target live room is played in the dialog box ,Also includes:
[0095] Display the main window playback option in the dialog box;
[0096] After detecting the trigger operation of the play option in the main window, the dialog box is hidden, and the live video of the target live room is played on the video play layer.
[0097] Specifically, the playback option of the main window can be set when creating the dialog box. The trigger operation of the play option in the main window is similar to the trigger operation of the play option in the first small window, the dialog box can be hidden through the trigger operation of the play option in the main window, and the room of the target live room can also be obtained ID. When the dialog is hidden, the p...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


