CN114866787B - Live broadcast implementation method and system - Google Patents

Live broadcast implementation method and system Download PDF

Info

Publication number
CN114866787B
CN114866787B CN202210777856.4A CN202210777856A CN114866787B CN 114866787 B CN114866787 B CN 114866787B CN 202210777856 A CN202210777856 A CN 202210777856A CN 114866787 B CN114866787 B CN 114866787B
Authority
CN
China
Prior art keywords
live
live broadcast
video stream
visual angle
time information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210777856.4A
Other languages
Chinese (zh)
Other versions
CN114866787A (en
Inventor
朱立平
黄琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Biti Education Technology Co ltd
Original Assignee
Shenzhen Biti Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Biti Education Technology Co ltd filed Critical Shenzhen Biti Education Technology Co ltd
Priority to CN202210777856.4A priority Critical patent/CN114866787B/en
Publication of CN114866787A publication Critical patent/CN114866787A/en
Application granted granted Critical
Publication of CN114866787B publication Critical patent/CN114866787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/21805Source of audio or video content, e.g. local disk arrays enabling multiple viewpoints, e.g. using a plurality of cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel

Abstract

The application discloses a live broadcast realization method and a system, comprising the following steps: the live broadcast client receives the switching command, displays prompt information on a play interface and continues to play the first live broadcast video stream; acquiring a second visual angle carried in the switching command, and searching a second live video stream corresponding to the second visual angle; caching the received second live video stream; the method comprises the steps that a live broadcast client side obtains first time information on a time axis of a first live broadcast video stream which is being played and obtains second time information of the time axis of a second live broadcast video stream which is cached currently; and the live broadcast client stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on the video playing interface. The method and the device solve the problem that a user may miss a small part of live content due to switching of live video streams at different viewing angles in the prior art, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.

Description

Live broadcast implementation method and system
Technical Field
The application relates to the field of live broadcast, in particular to a live broadcast implementation method and system.
Background
In live broadcasting, multiple cameras may be used to live from multiple different perspectives. Users watching a live broadcast typically use a live client for the viewing.
The live server can pass live video streams of different view angles, but is limited by the factor of network bandwidth, and the live video streams cannot be continuously provided for the live client.
The user can select the watching angle through the live client, when the live client switches the live video streams with different visual angles, live interruption can occur when the first live video stream is switched to the second live video stream due to reasons such as network transmission, so that a small part of live content is missed, and the watching experience of the user is reduced.
Disclosure of Invention
The embodiment of the application provides a live broadcast implementation method and a live broadcast implementation system, which are used for at least solving the problem that in the prior art, a user may miss a small part of live broadcast content due to switching of live broadcast video streams with different viewing angles.
According to an aspect of the present application, a live broadcast implementation method is provided, including: under the condition that a user watches a first direct-broadcast video stream, a live-broadcast client receives a switching command, wherein the first direct-broadcast video stream is a video stream under a first visual angle; the live broadcast client displays prompt information on a play interface and continuously plays the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is switched according to the switching command; the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle; the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream; the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently; and the live broadcast client determines that the second time information and the first time information meet preset conditions, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface.
Further, the determining, by the live client, that the second time information and the first time information satisfy the predetermined condition includes: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
Further, still include: the method comprises the steps that a live broadcast server side obtains a plurality of camera shooting devices participating in live broadcast, wherein each camera shooting device in the plurality of camera shooting devices is used for carrying out live broadcast from a visual angle; the live broadcast server side obtains live broadcast video streams shot by each of the plurality of camera devices; the live broadcast server establishes a time axis, wherein the time axis is shared by all live broadcast video streams; and the live broadcast server end adds the time axis to live broadcast video streams shot by each camera shooting device, wherein the live broadcast video streams are added and transmitted to the live broadcast client end.
Further, still include: the live broadcast server side configures a uniform resource identifier for each live broadcast video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live broadcast video stream shot by the camera equipment; and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end.
Further, the live broadcasting client acquires a second view angle carried in the switching command, and searching for a second live video stream corresponding to the second view angle includes: the live broadcast client searches a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
According to another aspect of the present application, there is also provided a live broadcast implementation system, where the system includes a live broadcast client, where the live broadcast client includes: the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle; the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command; a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle; the cache module is used for receiving the second live video stream and caching the received second live video stream; the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently; and the playing module is used for determining that the second time information and the first time information meet preset conditions, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface.
Further, the playing module is configured to: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
Further, still include: live broadcast server side, wherein, live broadcast server side includes: the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle; the third acquisition module is used for acquiring a live video stream shot by each of the plurality of camera devices; the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams; and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream is added and transmitted to the live client.
Further, the live client further includes: the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment; and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
Further, the lookup module is configured to: searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
In the embodiment of the application, a live broadcast client receives a switching command when a user watches a first live broadcast video stream, wherein the first live broadcast video stream is a video stream under a first visual angle; the live broadcast client displays prompt information on a play interface and continues to play the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is being switched according to the switching command; the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle; the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream; the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently; and the live broadcast client determines that the second time information and the first time information meet preset conditions, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface. The method and the device solve the problem that a user may miss a small part of live content due to switching of live video streams at different viewing angles in the prior art, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a live broadcast implementation method according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In this embodiment, a live broadcast implementation method is provided, and fig. 1 is a flowchart of a live broadcast implementation method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, under the condition that a user watches a first live video stream, a live client receives a switching command, wherein the first live video stream is a video stream under a first visual angle.
And step S104, the live broadcast client displays prompt information on a play interface and continuously plays the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is switched according to the switching command.
Step S106, the live broadcast client obtains a second view angle carried in the switching command, and searches for a second live broadcast video stream corresponding to the second view angle, where the second live broadcast video stream is a video stream under the second view angle, and the switching command is used to switch from the first view angle to the second view angle.
And S108, the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream.
As an implementation manner that can be added, the live broadcast client may further obtain first code stream information of the first live broadcast video stream, and the live broadcast client sends the first code stream information to a live broadcast server; and the live broadcast client receives a second live broadcast video stream sent by the live broadcast server end by using the first code stream information, and the live broadcast client caches the second live broadcast video stream. Through the optional implementation mode, the live broadcast client can keep the code stream information unchanged after switching from the first live broadcast video stream to the second live broadcast video stream, wherein the code stream information is used for indicating the definition degree of the live broadcast video, and the higher the occupied bandwidth of the code stream information is, the clearer the live broadcast video is.
In this optional embodiment, after receiving the first code stream information, the live broadcast server determines that the second live broadcast video stream cannot be provided by the first code stream information, the live broadcast server sends second code stream information that can be provided to the live broadcast client, after receiving the second code stream information, the live broadcast client plays the first live broadcast video stream using the second code stream information, and receives that the live broadcast server sends the second live broadcast video stream using the second code stream information, and caches the second live broadcast video stream. Through the optional implementation manner, the code stream information of the first live video stream being played can be switched from the first code stream information to the second code stream information, and then the live client switches the first live video stream played by using the second code stream information to the second live video stream played by using the same second code stream information. Therefore, seamless switching can be achieved, a user cannot perceive the reduction of the code stream caused by switching the view angle, and the user experience is improved.
Step S110, the live broadcast client obtains first time information on a time axis of the first live broadcast video stream being played, and obtains second time information on a time axis of a second live broadcast video stream that is currently cached.
Step S112, the live broadcast client determines that the second time information and the first time information satisfy a predetermined condition, stops playing the first live broadcast video stream, and starts playing the second live broadcast video stream on a video playing interface.
The predetermined condition may be set according to actual conditions, for example, the determining, by the live client, that the second time information and the first time information satisfy the predetermined condition includes: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
As an optional implementation manner, a packet loss rate between the live client and the live server may be obtained, and when the packet loss rate is lower than a first threshold, and a difference between the second time and the first time is within 1 second, it is determined that the second time information and the first time information satisfy the predetermined condition; and if the packet loss rate is greater than the first threshold value, and the difference between the second time and the first time is within 3 seconds, determining that the second time information and the first time information meet the predetermined condition, wherein the first threshold value is predetermined. In this optional embodiment, the packet loss rate is used to represent a network condition between the live broadcast client and the live broadcast server, and a difference between the first time and the second time is determined according to the network condition, so as to determine the switching time.
Through the steps, the problem that a user may miss a small part of live content due to switching of live video streams at different view angles in the prior art is solved, so that the loss of the live content of the live video streams at different view angles during switching is reduced to a certain extent, and the live watching experience of the user is improved.
As another optional implementation manner, after stopping playing the first live video stream, the live client acquires a bandwidth between the live client and the live server, and if the bandwidth is greater than a bandwidth required for playing the second live video stream, continues to cache the first live video stream, and generates a video file at a predetermined time interval from the cached first live video stream; and after receiving a playback request, the live client plays back the generated video file, wherein the live client receives configuration information from a live server when live broadcasting starts, and the configuration information is used for indicating the live client to play the first live video stream in the first view angle by default.
The method comprises the steps that a time axis can be created by a live broadcast server side, the live broadcast server side obtains a plurality of camera shooting devices participating in live broadcast, and each camera shooting device in the plurality of camera shooting devices is used for carrying out live broadcast from one visual angle; the live broadcast server side obtains live broadcast video streams shot by each of the plurality of camera devices; the live broadcast server side establishes a time axis, wherein the time axis is shared by all live broadcast video streams; and the live broadcast server end adds the time axis into a live broadcast video stream shot by each camera shooting device, wherein the live broadcast video stream added is transmitted to the live broadcast client end.
As an optional embodiment, the time axis functions as a timer, the timer is made into a timing animation video, the timing animation video is a transparent timing animation video, the transparent timing animation video is arranged at one corner of a live video stream shot by each camera device, the timing animation video cannot be seen in the live video stream because the timing animation video is transparent, but the playing time of the timing animation video is accumulated along with live broadcast, and therefore the playing time of the timing animation video is taken as the time axis; at the same time, the live broadcast server side adds the transparent timing animation videos to all live broadcast video streams at the same time, so that all the live broadcast video streams have the same timing mode, namely the live broadcast video streams have the same time axis.
In order to better transmit a plurality of live video streams, the live server configures a uniform resource identifier for each live video stream shot by each camera device, wherein each uniform resource identifier is used for acquiring one live video stream shot by one camera device; and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end. In this optional embodiment, the acquiring, by the live broadcast client, the second view angle carried in the switch command, and searching for the second live broadcast video stream corresponding to the second view angle includes: the live broadcast client searches for a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
In another embodiment, live videos which are simultaneously acquired from different angles by a plurality of camera devices can be acquired; receiving a visual angle conversion instruction, and continuously playing a live video corresponding to a current visual angle; and extracting live videos uploaded by different camera equipment related between the current visual angle and the converted visual angle, and then performing three-dimensional scene model reconstruction on the live contents according to the extracted live videos.
In this embodiment, the following technical features may also be included: the method comprises the steps that a live broadcast server side obtains live broadcast videos which are simultaneously collected by a plurality of camera devices from different angles; the camera shooting equipment is uniformly distributed around the shooting site; in the embodiment, the live broadcast server receives a visual angle conversion instruction, extracts live broadcast videos uploaded by different camera devices related between a current visual angle and a converted visual angle, and then performs three-dimensional scene model reconstruction on live broadcast contents according to the extracted live broadcast videos; the live broadcast client sends the three-dimensional scene model to the live broadcast client, and the three-dimensional scene model is displayed in a rotating mode according to the visual angle conversion instruction until the visual angle conversion is completed; and the live broadcast client continuously plays the live broadcast video corresponding to the converted visual angle.
Optionally, after acquiring live videos that are simultaneously acquired by a plurality of camera devices from different angles, the method further includes: distributing a plurality of live videos on a plurality of video tracks; and marking the view angle of the camera equipment on the video track where the corresponding live video is located. Receiving the view angle conversion instruction, and continuously playing the live video corresponding to the current view angle specifically includes: receiving a visual angle conversion instruction, and reducing the playing speed of the live video corresponding to the current visual angle to N times of the normal speed; the N is less than 1; and sending the live video with the N times of playing speed to the client.
The live video uploaded by different camera devices involved between the current view and the converted view is extracted specifically including: positioning the camera equipment existing between the current visual angle and the converted visual angle; and extracting live video clips corresponding to the camera equipment with the current visual angle, the camera equipment with the converted visual angle and the camera equipment between the camera equipment and the current visual angle in real time from the receiving of the visual angle conversion instruction.
The three-dimensional scene model reconstruction of the live broadcast content according to the extracted live broadcast video specifically comprises the following steps: continuously extracting a plurality of video pictures at equal intervals from the extracted live video clips; sequentially fitting and reconstructing video pictures on the same time point, which are extracted from a plurality of live video clips, according to the arrangement sequence of the camera equipment; inserting three-dimensional scene models corresponding to a plurality of equidistant time points on a live video clip into a time axis to form a three-dimensional scene model video stream.
The three-dimensional scene model is sent to a live broadcast client, and the three-dimensional scene model is displayed in a rotating mode according to a view angle conversion instruction until view angle conversion is completed; after the reconstruction of the three-dimensional scene model is completed, extracting the current playing time point of the live video with the playing speed reduced to N times of the normal speed; dividing the three-dimensional scene model video stream into two segments by taking the extracted current playing time point as a dividing point, wherein the three-dimensional scene model video stream before the dividing point is an invalid video stream, and the three-dimensional scene model video stream after the dividing point is an effective video stream; increasing the playing speed of the effective video stream to M times of the normal playing speed, and sending the effective video stream to the client; and M is greater than or equal to 1.
The increasing the playing speed of the effective video stream to M times of the normal playing speed and sending the effective video stream to the client specifically includes: increasing the playing speed of the effective video stream to M times of the normal playing speed, and extracting the end time point of the effective video stream; inserting the accelerated effective video stream into the video track by taking the ending time point as a splicing node on the corresponding video track after the visual angle is converted; and sending the spliced video track and the live video on the video track to a client.
Replacing the method steps after receiving the view angle conversion instruction and continuously playing the live video corresponding to the current view angle with the method steps after continuously playing the live video corresponding to the current view angle; when the view angle conversion passes through the view angle of one camera shooting device, playing a live video corresponding to the camera shooting device until the view angle conversion passes through the next camera shooting device; in the interval of video conversion, the live video played at the previous playing visual angle is played at a reduced speed; switching to the live video corresponding to the current visual angle from the final time point of the play of the live video played at the reduced speed until the visual angle conversion is completed; and (4) the live video corresponding to the current visual angle is played at an accelerated speed until the content of the live video is synchronous with the scene, and the live video is recovered to the normal playing speed.
In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.
The programs described above may be run on a processor or stored in memory (or referred to as computer-readable media), which includes both non-transitory and non-transitory, removable and non-removable media, that enable storage of information by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks, and corresponding steps may be implemented by different modules.
Such an apparatus or system is provided in this embodiment. The system is called a live broadcast implementation system and comprises a live broadcast client, wherein the live broadcast client comprises: the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle; the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command; a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle; the cache module is used for receiving the second live video stream and caching the received second live video stream; the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently; and the playing module is used for determining that the second time information and the first time information meet a preset condition, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface.
The system or the apparatus is used for implementing the functions of the method in the foregoing embodiments, and each module in the system or the apparatus corresponds to each step in the method, which has been described in the method and is not described herein again.
For example, the playing module is configured to: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
For another example, the method further includes: live broadcast server side, wherein, live broadcast server side includes: the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle; the third acquisition module is used for acquiring a live video stream shot by each of the plurality of camera devices; the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams; and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream is added and transmitted to the live client.
For another example, the live client further includes: the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment; and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
For another example, the lookup module is configured to: searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
The embodiment solves the problem that in the prior art, a user may miss a small part of live content due to switching of live video streams at different viewing angles, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A live broadcast implementation method is characterized by comprising the following steps:
under the condition that a user watches a first live video stream, a live client receives a switching command, wherein the first live video stream is a video stream under a first visual angle;
the live broadcast client displays prompt information on a play interface and continuously plays the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is switched according to the switching command;
the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle;
the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream;
the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently;
the live broadcast client determines that the second time information and the first time information meet a preset condition, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface; wherein determining that the second time information and the first time information satisfy the predetermined condition comprises: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
2. The method of claim 1, further comprising:
the method comprises the steps that a live broadcast server side obtains a plurality of camera shooting devices participating in live broadcast, wherein each camera shooting device in the plurality of camera shooting devices is used for carrying out live broadcast from a visual angle;
the live broadcast server side acquires live broadcast video streams shot by each camera device in the plurality of camera devices;
the live broadcast server side establishes a time axis, wherein the time axis is shared by all live broadcast video streams;
and the live broadcast server end adds the time axis to live broadcast video streams shot by each camera shooting device, wherein the live broadcast video streams added with the time axis are transmitted to the live broadcast client end.
3. The method of claim 2, further comprising:
the live broadcast server side configures a uniform resource identifier for each live broadcast video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live broadcast video stream shot by the camera equipment;
and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end.
4. The method according to claim 3, wherein the live client acquires a second view angle carried in the switching command, and searching for a second live video stream corresponding to the second view angle comprises:
the live broadcast client searches a uniform resource identifier corresponding to the second visual angle according to the second visual angle;
and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
5. A live broadcast implementation system, the system comprising a live broadcast client, wherein the live broadcast client comprises:
the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle;
the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command;
a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle;
the cache module is used for receiving the second live video stream and caching the received second live video stream;
the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently;
the playing module is used for determining that the second time information and the first time information meet a preset condition, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface; wherein determining that the second time information and the first time information satisfy the predetermined condition comprises: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
6. The system of claim 5, further comprising: live broadcast server side, wherein, live broadcast server side includes:
the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle;
the third acquisition module is used for acquiring a live video stream shot by each of the plurality of camera devices;
the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams;
and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream added with the time axis is transmitted to the live client.
7. The system of claim 6, wherein the live client further comprises:
the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment;
and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
8. The system of claim 7, wherein the lookup module is configured to:
searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle;
and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
CN202210777856.4A 2022-07-04 2022-07-04 Live broadcast implementation method and system Active CN114866787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210777856.4A CN114866787B (en) 2022-07-04 2022-07-04 Live broadcast implementation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210777856.4A CN114866787B (en) 2022-07-04 2022-07-04 Live broadcast implementation method and system

Publications (2)

Publication Number Publication Date
CN114866787A CN114866787A (en) 2022-08-05
CN114866787B true CN114866787B (en) 2022-09-23

Family

ID=82626100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210777856.4A Active CN114866787B (en) 2022-07-04 2022-07-04 Live broadcast implementation method and system

Country Status (1)

Country Link
CN (1) CN114866787B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116389783B (en) * 2023-06-05 2023-08-11 四川农业大学 Live broadcast linkage control method, system, terminal and medium based on unmanned aerial vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
CN110809168A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Video live broadcast processing method and device, terminal and storage medium
CN111447457A (en) * 2020-03-25 2020-07-24 咪咕文化科技有限公司 Live video processing method and device and storage medium
CN111866525A (en) * 2020-09-23 2020-10-30 腾讯科技(深圳)有限公司 Multi-view video playing control method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2015218353A1 (en) * 2014-02-14 2016-09-01 Pluto Inc. Methods and systems for generating and providing program guides and content
US10255032B2 (en) * 2016-12-13 2019-04-09 EVA Automation, Inc. Wireless coordination of audio sources
CN108810636B (en) * 2017-04-28 2020-04-14 华为技术有限公司 Video playing method, virtual reality equipment, server, system and storage medium
SG11202004992QA (en) * 2017-12-13 2020-06-29 Guangzhou Huya Information Technology Co Ltd Display Method for Live Broadcast Screen of Live Broadcast Room, Storage Device and Computer Device
CN108810559A (en) * 2018-05-31 2018-11-13 北京达佳互联信息技术有限公司 Field-of-view mode switching method, the transmission method of device and live data, device
CN112399197A (en) * 2019-08-12 2021-02-23 深圳市茁壮网络股份有限公司 Method, device, server and medium for converting IP (Internet protocol) playing into scrambled video stream playing
CN114513674A (en) * 2020-11-16 2022-05-17 上海科技大学 Interactive live broadcast data transmission/processing method, processing system, medium and server
CN113633973B (en) * 2021-08-31 2023-06-27 腾讯科技(深圳)有限公司 Game picture display method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
CN110809168A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Video live broadcast processing method and device, terminal and storage medium
CN111447457A (en) * 2020-03-25 2020-07-24 咪咕文化科技有限公司 Live video processing method and device and storage medium
CN111866525A (en) * 2020-09-23 2020-10-30 腾讯科技(深圳)有限公司 Multi-view video playing control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114866787A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
US9253533B1 (en) Scene identification
US9077956B1 (en) Scene identification
WO2020048429A1 (en) Method and apparatus for obtaining media resource
CN104301769B (en) Method, terminal device and the server of image is presented
US8886765B2 (en) System and method for predicitive trick play using adaptive video streaming
TWI540890B (en) Method and apparatus for processing motion video
CN105704568A (en) Method and device for realizing live broadcast time shifting
CN114866787B (en) Live broadcast implementation method and system
CN110198494B (en) Video playing method, device, equipment and storage medium
CN106878815B (en) Video playing method and device
RU2502208C2 (en) Method and device for recording and reproducing programmes, as well as set-top box
WO2017166496A1 (en) Method and device for downloading video file, and method and device providing video file
US11082752B2 (en) Shot-based view files for trick play mode in a network-based video delivery system
CN110351606A (en) Media information processing method, relevant device and computer storage medium
CN114079813A (en) Picture synchronization method, coding method, video playing device and video coding device
CN103533444A (en) Method and device for supporting time-shifting playing
CN113794942B (en) Method, apparatus, system, device and medium for switching view angle of free view angle video
US20170013037A1 (en) Media fragment rotation method, client and system
EP3343929A1 (en) Method for storing audio/video data and corresponding device
WO2019100631A1 (en) Video playing method, apparatus and system, and storage medium
WO2017080152A1 (en) Data synchronization method and device
US20180324480A1 (en) Client and Method for Playing a Sequence of Video Streams, and Corresponding Server and Computer Program Product
CN112243136A (en) Content playing method, video storage method and equipment
CN102594773A (en) Method and system for realizing data acquisition
CN108574881B (en) Projection type recommendation method, server and client

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant