Method and apparatus for live streaming, server, system and storage medium
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorTiantian Zhou
Life of this patent
Estimating the term…
Abstract
The disclosure provides a method and an apparatus for live streaming. The method includes receiving a live streaming pausing command sent by a first client, in which the live streaming pausing command is configured to instruct a pause of a live streaming in a live streaming room created with a login account of the first client; pausing acquisition of live streaming data from the first client and acquiring a target resource based on the live streaming pausing command; sending a target resource to a second client to instruct the second client to switch from displaying a live streaming picture to displaying the target resource, in which the second client includes a client of an account entered in the live streaming room.
Claims17
A method for live streaming, the method comprising:
- receiving, by a server, a live streaming pausing command from a first client, wherein the live streaming pausing command is configured to instruct a pause of a live streaming in a live streaming room created with a login account of the first client;
- pausing, by the server, acquisition of live streaming data from the first client based on the live streaming pausing command;
- acquiring, by the server, a target resource based on the live streaming pausing command;
- sending, by the server, the target resource to a second client to instruct the second client to switch from displaying a live streaming picture to displaying the target resource, wherein the second client comprises a client of an account entered in the live streaming room;
- receiving a live streaming resuming command from the first client, wherein the live streaming resuming command is configured to instruct resumption of the live streaming in the live streaming room;
- resuming acquisition of the live streaming data from the first client based on the live streaming resuming command;
- and
- sending the live streaming data to the second client to instruct the second client to display the live streaming picture on an interface of the live streaming room of the second client;
- wherein the live streaming pausing command is received from the first client in response to receiving a live streaming pausing operation, and the live streaming resuming command is received from the first client in response to receiving a live streaming resuming operation;
- wherein the method further comprises:
- acquiring a first time point and a second time point, wherein the first time point is a time point when the first client receives the live streaming pausing operation and the second time point is a time point when the first client receives the live streaming resuming operation;
- and
- forming a live streaming playback video by splicing a first live streaming video segment and a second live streaming video segment of the live streaming room based on the first time point and the second time point;
- wherein the first live streaming video segment is a live streaming video segment before the first time point, and the second live streaming video segment is a live streaming video segment after the second time point.
A method for live streaming, the method comprising:
- receiving, by a first client, a live streaming pausing operation for a live streaming picture during displaying of the live streaming picture in a live streaming room;
- sending, by the first client, a live streaming pausing command to a live streaming server in response to the live streaming pausing operation, wherein the live streaming pausing command is configured to instruct the live streaming server to pause acquisition of live streaming data from the first client and to send a target resource to a second client in order to switch the second client from displaying a live streaming picture to displaying the target resource, wherein the second client comprises a client of an account entered in the live streaming room;
- acquiring a first time point and a second time point in response to receiving a live streaming resuming operation, wherein the first time point is a time point when the live streaming pausing operation is received and the second time point is a time point when the live streaming resuming operation is received;
- and
- sending the first time point and the second time point to the live streaming server, wherein a live streaming playback video is formed by splicing a first live streaming video segment before the first time point and a second live streaming video segment after the second time point based on the first time point and the second time point.
A server, comprising:
- a memory configured to store instructions;
- and
- a processor configured to execute the instructions to perform a method for live streaming comprising steps of:
- receiving a live streaming pausing command from a first client, wherein the live streaming pausing command is configured to instruct a pause of a live streaming in a live streaming room created with a login account of the first client;
- pausing acquisition of live streaming data from the first client based on the live streaming pausing command;
- acquiring a target resource based on the live streaming pausing command;
- and
- sending the target resource to a second client to instruct the second client to switch from displaying a live streaming picture to displaying the target resource, wherein the second client comprises a client of an account entered in the live streaming room;
- receiving a live streaming resuming command from the first client, wherein the live streaming resuming command is configured to instruct resumption of the live streaming in the live streaming room;
- resuming acquisition of the live streaming data from the first client based on the live streaming resuming command;
- and
- sending the live streaming data to the second client to instruct the second client to display the live streaming picture on an interface of the live streaming room of the second client;
- wherein the live streaming pausing command is received from the first client in response to receiving a live streaming pausing operation, and the live streaming resuming command is received from the first client in response to receiving a live streaming resuming operation;
- wherein the method further comprises:
- acquiring a first time point and a second time point, wherein the first time point is a time point when the first client receives the live streaming pausing operation and the second time point is a time point when the first client receives the live streaming resuming operation;
- and
- forming a live streaming playback video by splicing a first live streaming video segment and a second live streaming video segment of the live streaming room based on the first time point and the second time point;
- wherein the first live streaming video segment is a live streaming video segment before the first time point, and the second live streaming video segment is a live streaming video segment after the second time point.
Dependencies are inferred from the claim text.