CN107743244B - Video live broadcasting method and device - Google Patents

Video live broadcasting method and device Download PDF

Info

Publication number
CN107743244B
CN107743244B CN201711025512.3A CN201711025512A CN107743244B CN 107743244 B CN107743244 B CN 107743244B CN 201711025512 A CN201711025512 A CN 201711025512A CN 107743244 B CN107743244 B CN 107743244B
Authority
CN
China
Prior art keywords
video
live broadcast
live
preset event
recorded
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
CN201711025512.3A
Other languages
Chinese (zh)
Other versions
CN107743244A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711025512.3A priority Critical patent/CN107743244B/en
Publication of CN107743244A publication Critical patent/CN107743244A/en
Application granted granted Critical
Publication of CN107743244B publication Critical patent/CN107743244B/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/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
    • H04N21/4333Processing operations in response to a pause request
    • 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
    • H04N21/4334Recording 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The disclosure relates to a video live broadcast method and device. The method comprises the following steps: monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video; and when a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video and playing the prerecorded video. This technical scheme has solved in the live broadcast process of video, single picture appears when the live broadcast pauses, and the problem that the spectator who watches the live broadcast that leads to left promotes the live broadcast's of video interest simultaneously, makes more close between anchor and the spectator.

Description

Video live broadcasting method and device
Technical Field
The disclosure relates to the technical field of live video, in particular to a live video method and device.
Background
Currently, live video is increasingly favored by users; the video live broadcast refers to live broadcast by utilizing the internet and a streaming media technology, and the video is combined with rich elements such as images, characters and sounds, has a luxuriant sound and a good effect, and gradually becomes a mainstream expression mode of the internet. The anchor can establish a video live broadcast room on a website through the internet, broadcast to other users in the video live broadcast room, the users can see anchor videos in the current video live broadcast room and hear the sound of the anchor videos, and the anchor can also carry out private chat with a plurality of users in the video live broadcast room, and the like.
With the popularization of live broadcast software, many anchor broadcasters have mobile phone live broadcasts, so that the anchor broadcasters can broadcast the live broadcasts wherever they go, which is very convenient, but also has a problem that if a call comes in the anchor live broadcast process or a message of communication software is needed to be watched for reminding, a live broadcast picture is paused, and a static picture appears, which is monotonous.
Disclosure of Invention
The embodiment of the disclosure provides a video live broadcast method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a video live broadcast method, including:
monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video;
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video and playing the prerecorded video.
In one embodiment, the pausing the live video and playing the pre-recorded video if a preset event occurs, which causes the live video to be paused, may include:
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and playing the pre-recorded video according to the selection of the user.
In one embodiment, the monitoring whether a preset event causing the live view to be suspended occurs may include:
monitoring whether the live video is paused; alternatively, the first and second electrodes may be,
monitoring whether a local terminal has an incoming call; alternatively, the first and second electrodes may be,
it is monitored whether a preset application is opened.
In one embodiment, the method may further comprise:
monitoring whether the pre-recorded video is played completely;
and if the pre-recorded video is played, continuing the video live broadcast process.
In one embodiment, the method may further comprise:
monitoring whether an operation instruction for continuing video live broadcast input by a main broadcast is received;
and if the operation instruction is received, continuing the video live broadcast process.
In one embodiment, the method may further comprise:
respectively and correspondingly storing the preset events and the pre-recorded videos;
if a preset event causing the live broadcast picture to be stopped occurs, pausing the live broadcast of the video and playing the pre-recorded video, wherein the method comprises the following steps:
if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and searching a pre-recorded video corresponding to the currently occurring preset event from the corresponding relation between the stored preset event and the pre-recorded video;
and playing the pre-recorded video corresponding to the preset event.
According to a second aspect of the embodiments of the present disclosure, there is provided a video live broadcasting device, including: the device comprises a first monitoring module and a playing module;
the first monitoring module is used for monitoring whether a preset event causing the stop of a live broadcast picture occurs in the live broadcast process of the video;
the playing module is used for pausing the live video and playing the pre-recorded video when the first monitoring module monitors that a preset event which causes the stop of the live video picture occurs.
In one embodiment, the play module may include: a first play sub-module;
and the first playing sub-module is used for pausing the live video when a preset event causing the termination of the live video picture occurs, and playing the pre-recorded video according to the selection of a user.
In one embodiment, the first monitoring module may include:
the first monitoring submodule is used for monitoring whether the live video is paused; alternatively, the first and second electrodes may be,
the second monitoring submodule is used for monitoring whether a local terminal has an incoming call; alternatively, the first and second electrodes may be,
and the third monitoring submodule is used for monitoring whether the preset application is opened or not.
In one embodiment, the apparatus may further comprise: the second monitoring module and the first video live broadcast module;
the second monitoring module is used for monitoring whether the pre-recorded video is played completely;
and the first video live broadcast module is used for continuing the video live broadcast process when the pre-recorded video is played.
In one embodiment, the apparatus may further comprise: the third monitoring module and the second video live broadcast module;
the third monitoring module is used for monitoring whether an operation instruction for continuing video live broadcast input by the anchor is received;
and the second video live broadcast module is used for continuing the video live broadcast process when the operation instruction is received.
In one embodiment, the apparatus may further comprise: a storage module;
the storage module is used for correspondingly storing the preset events and the pre-recorded videos respectively;
the playing module comprises: searching a submodule and a second playing submodule;
the searching submodule is used for pausing the live broadcast of the video when a preset event causing the stop of a live broadcast picture occurs, and searching a pre-recorded video corresponding to the currently occurring preset event from the corresponding relation between the stored preset event and the pre-recorded video;
and the second playing submodule is used for playing the pre-recorded video corresponding to the preset event.
According to a third aspect of the embodiments of the present disclosure, there is provided a video live broadcasting apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video;
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video and playing the prerecorded video.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method provided by the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, whether a preset event causing the live broadcast picture to be stopped occurs or not is monitored in the live broadcast process, if the preset event causing the live broadcast picture to be stopped occurs, live broadcast of the video is paused, and the prerecorded video is played. Therefore, the problem that in the video live broadcasting process, a single picture appears when live broadcasting is paused, and the live broadcasting watching audience leaves is solved, the interestingness of the video live broadcasting is improved, and the anchor broadcast and the audience are closer.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a video live method according to an example embodiment.
Fig. 2 is a flow diagram illustrating another video live method according to an example embodiment.
Fig. 3 is a flow diagram illustrating yet another video live method in accordance with an exemplary embodiment.
Fig. 4 is a flow diagram illustrating yet another video live method in accordance with an exemplary embodiment.
Fig. 5 is a flow diagram illustrating yet another video live method in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating a video live device according to an example embodiment.
Fig. 7 is a block diagram illustrating a play module 62 in a video live device according to an example embodiment.
Fig. 8 is a block diagram illustrating a first monitoring module 61 in a live video device according to an exemplary embodiment.
Fig. 9 is yet another block diagram illustrating a first monitoring module 61 in a live video device according to an exemplary embodiment.
Fig. 10 is yet another block diagram illustrating a first monitoring module 61 in a live video device according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating yet another video live device in accordance with an example embodiment.
Fig. 12 is a block diagram illustrating another video live device according to an example embodiment.
Fig. 13 is a block diagram illustrating yet another video live device according to an example embodiment.
Fig. 14 is a block diagram illustrating a device adapted for video live broadcast according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a video live method, which is used in a terminal as shown in fig. 1, according to an exemplary embodiment, and includes the following steps S101 to S102:
in step S101, during the live video, whether a preset event causing the live video to be suspended occurs is monitored.
In step S102, if a preset event causing the live view to be suspended occurs, the live view is paused, and a pre-recorded video is played.
The anchor may have a preset event causing a live broadcast picture to be suspended in a live broadcast process, and the preset event causing the live broadcast picture to be suspended may be, for example, an event that the anchor needs to suspend the live broadcast picture when a call comes in the live broadcast process and needs to answer the call, or when the call is temporarily suspended or inconvenient. When the preset event occurs, a video recorded in advance by the anchor can be inserted, the video can be a blessing video of the anchor or any video recorded in advance and having anchor characteristics. The duration of the pre-recorded video is short.
When the anchor receives the call or checks the mobile phone message, the recorded video of the anchor can be automatically played, the anchor can record N sections of videos in advance, one video is set to be a default playing video, and the video can be automatically played when the anchor receives the call.
According to the method, whether the preset event causing the live broadcast picture to be stopped occurs or not is monitored in the live broadcast process, if the preset event causing the live broadcast picture to be stopped occurs, live broadcast is paused, and the prerecorded video is played. Therefore, the problem that in the video live broadcasting process, a single picture appears when live broadcasting is paused, and the live broadcasting watching audience leaves is solved, the interestingness of the video live broadcasting is improved, and the anchor broadcast and the audience are closer.
In one embodiment, as shown in fig. 2, step S102 may be implemented as step S1021:
in step S1021, if a preset event causing the live view to be suspended occurs, the live view is paused, and the pre-recorded video is played according to the selection of the user.
The anchor can record N sections of videos in advance, when the anchor needs to leave a little bit in the live broadcasting process, the anchor can manually select to play one section of recorded videos, and therefore people watching the live broadcasting cannot get bored to leave a live broadcasting room in the waiting process.
In one embodiment, the monitoring in step S101 whether the preset event causing the live screen to be suspended occurs may be implemented as any one of the following steps a1, a2, or A3:
step A1, monitoring whether the video live broadcast is paused.
When the video live broadcast pause is monitored, determining that a preset event causing the live broadcast picture to be paused occurs.
Step A2, monitoring whether the local terminal has an incoming call.
And when the telephone call is monitored, determining that a preset event causing the termination of the live broadcast picture occurs.
Step a3, it is monitored whether the preset application is opened.
When the monitoring preset application is opened, it is determined that a preset event causing the live view to be suspended occurs.
The preset application may be, for example, a short message application, an instant messaging application, or the like.
It should be noted that the preset events causing the termination of the live view are not limited to the above three types, and may also be any event that the user needs to interrupt the live view to complete.
In one embodiment, as shown in fig. 3, the method may further include the following steps S103-S104:
in step S103, it is monitored whether the playing of the pre-recorded video is completed.
In step S104, if the playing of the pre-recorded video is completed, the video live broadcasting process is continued.
In one embodiment, as shown in fig. 4, the method may further include the following steps S105-S106:
in step S105, it is monitored whether an operation instruction to continue the video live broadcast input by the anchor is received.
In step S106, if an operation instruction is received, the video live broadcast process is continued.
In one embodiment, as shown in fig. 5, the method may further include the following step S107:
in step S107, preset events causing the live view to be suspended are stored in correspondence with the pre-recorded videos, respectively.
At this time, step S102 may further include the following steps S1022 to S1023:
in step S1022, if a preset event causing the live view to be suspended occurs, the live view of the video is suspended, and a pre-recorded video corresponding to the currently occurring preset event is searched from the correspondence between the stored preset event and the pre-recorded video.
In step S1023, a pre-recorded video corresponding to the preset event is played.
In order to further prevent the audiences from leaving the live broadcast room when the live broadcast is paused, the preset events and the pre-recorded videos can be respectively and correspondingly stored, and when a certain preset event occurs, the video corresponding to the preset event is played. For example, when the anchor receives a call, since the anchor shortens the call time as much as possible in the live video process, the anchor can play a blessing video with a short period of time; if the main broadcast leaves for a long time, the video with long time and high interest can be played.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating a video live apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 6, the video live broadcasting apparatus includes: a first monitoring module 61 and a playing module 62;
the first monitoring module 61 is used for monitoring whether a preset event causing the stop of a live broadcast picture occurs in the live broadcast process of the video;
and the playing module 62 is configured to pause the live video and play the pre-recorded video when the first monitoring module 61 monitors that a preset event causing the live video to be stopped occurs.
If the anchor has a call or is inconvenient in the live broadcasting process, the anchor can insert a video recorded in advance, wherein the video can be a blessing video of the anchor or any video recorded in advance and provided with anchor characteristics. The duration of the pre-recorded video is short.
When the anchor receives the call or checks the mobile phone message, the recorded video of the anchor can be automatically played, the anchor can record N sections of videos in advance, one video is set to be a default playing video, and the video can be automatically played when the anchor receives the call.
According to the above device of the embodiment of the present disclosure, in the live video process, the first monitoring module 61 monitors whether a preset event causing the live video to be suspended occurs, and if the preset event causing the live video to be suspended occurs, the playing module 62 suspends live video and plays the prerecorded video. Therefore, the problem that in the video live broadcasting process, a single picture appears when live broadcasting is paused, and the live broadcasting watching audience leaves is solved, the interestingness of the video live broadcasting is improved, and the anchor broadcast and the audience are closer.
In one embodiment, as shown in FIG. 7, the play module 62 may include: a first play sub-module 621;
the first playing sub-module 621 is configured to pause live video when a preset event causing the live video to be suspended occurs, and play a pre-recorded video according to a selection of a user.
The anchor can record N sections of videos in advance, when the anchor needs to leave a little bit in the live broadcasting process, the anchor can manually select to play one section of recorded videos, and therefore people watching the live broadcasting cannot get bored to leave a live broadcasting room in the waiting process.
In one embodiment, the first monitoring module 61 may include:
as shown in fig. 8, a first monitoring sub-module 611, configured to monitor whether the live video is paused; alternatively, the first and second electrodes may be,
as shown in fig. 9, a second monitoring sub-module 612, configured to monitor whether there is an incoming call at the local end; alternatively, the first and second electrodes may be,
as shown in fig. 10, a third monitoring submodule 613 is used for monitoring whether the preset application is opened.
It should be added that fig. 8, 9 and 10 only show the case that the first monitoring module 61 includes the first monitoring submodule 611, the second monitoring submodule 612 and the third monitoring submodule 613 respectively, but the first monitoring module 61 is not limited to the cases shown in fig. 8, 9 and 10, and the first monitoring module 61 may also include all of the first monitoring submodule 611, the second monitoring submodule 612 and the third monitoring submodule 613, or may include only any two of them.
In one embodiment, as shown in fig. 11, the apparatus may further include: a second monitoring module 63 and a first video live broadcasting module 64;
a second monitoring module 63, configured to monitor whether playing of a prerecorded video is completed;
and the first video live broadcasting module 64 is configured to continue the video live broadcasting process when the second monitoring module 63 monitors that the pre-recorded video is played completely.
In one embodiment, as shown in fig. 12, the apparatus may further include: a third monitoring module 65, a second live video module 66;
a third monitoring module 65, configured to monitor whether an operation instruction for continuing video live broadcast input by the anchor is received;
and the second video live broadcasting module 66 is used for continuing the video live broadcasting process when the third monitoring module 65 monitors that the operation instruction is received.
In one embodiment, as shown in fig. 13, the apparatus may further include: a save module 67;
a storage module 67, configured to correspondingly store the preset event and the pre-recorded video respectively;
the play module 62 includes: a searching sub-module 622 and a second playing sub-module 623;
the searching sub-module 622 is configured to pause live video when a preset event causing a live video to be suspended occurs, and search for a pre-recorded video corresponding to the currently occurring preset event from a correspondence between the preset event stored in the storage module 67 and the pre-recorded video;
and the second playing sub-module 623 is configured to play the pre-recorded video corresponding to the preset event found by the finding sub-module 622.
In order to further prevent the audiences from leaving the live broadcast room when the live broadcast is paused, the preset events and the pre-recorded videos can be respectively and correspondingly stored, and when a certain preset event occurs, the video corresponding to the preset event is played. For example, when the anchor receives a call, since the anchor shortens the call time as much as possible in the live video process, the anchor can play a blessing video with a short period of time; if the main broadcast leaves for a long time, the video with long time and high interest can be played.
The embodiment of the present disclosure further provides a video live broadcasting device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video;
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video and playing the prerecorded video.
The processor is further configured to:
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and playing the pre-recorded video according to the selection of the user.
The processor is further configured to:
monitoring whether the live video is paused; alternatively, the first and second electrodes may be,
monitoring whether a local terminal has an incoming call; alternatively, the first and second electrodes may be,
monitoring whether a preset application is opened;
when the video live broadcast pause is monitored, determining that a preset event causing the live broadcast picture to be paused occurs.
The processor is further configured to:
monitoring whether the pre-recorded video is played completely;
and if the pre-recorded video is played, continuing the video live broadcast process.
The processor is further configured to:
monitoring whether an operation instruction for continuing video live broadcast input by a main broadcast is received;
and if the operation instruction is received, continuing the video live broadcast process.
The processor is further configured to:
respectively and correspondingly storing the preset events and the pre-recorded videos;
if a preset event causing the live broadcast picture to be stopped occurs, pausing the live broadcast of the video and playing the pre-recorded video, wherein the method comprises the following steps:
if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and searching a pre-recorded video corresponding to the currently occurring preset event from the corresponding relation between the stored preset event and the pre-recorded video;
and playing the pre-recorded video corresponding to the preset event.
Fig. 14 is a block diagram illustrating an apparatus for video live broadcasting, which is suitable for a terminal device, according to an exemplary embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of an apparatus 1200, enable the apparatus 1200 to perform the above-described video live method, the method comprising:
monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video;
and if the preset event occurs, pausing the live video and playing the prerecorded video.
In one embodiment, the pausing the live video and playing the pre-recorded video if a preset event occurs, which causes the live video to be paused, may include:
and if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and playing the pre-recorded video according to the selection of the user.
In one embodiment, the monitoring whether a preset event causing the live view to be suspended occurs may include:
monitoring whether the live video is paused; alternatively, the first and second electrodes may be,
monitoring whether a local terminal has an incoming call; alternatively, the first and second electrodes may be,
monitoring whether a preset application is opened;
when the video live broadcast pause is monitored, determining that a preset event causing the live broadcast picture to be paused occurs.
In one embodiment, the method may further comprise:
monitoring whether the pre-recorded video is played completely;
and if the pre-recorded video is played, continuing the video live broadcast process.
In one embodiment, the method may further comprise:
monitoring whether an operation instruction for continuing video live broadcast input by a main broadcast is received;
and if the operation instruction is received, continuing the video live broadcast process.
In one embodiment, the method may further comprise:
respectively and correspondingly storing the preset events and the pre-recorded videos;
if a preset event causing the live broadcast picture to be stopped occurs, pausing the live broadcast of the video and playing the pre-recorded video, wherein the method comprises the following steps:
if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and searching a pre-recorded video corresponding to the currently occurring preset event from the corresponding relation between the stored preset event and the pre-recorded video;
and playing the pre-recorded video corresponding to the preset event.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A video live broadcast method is applied to a terminal for carrying out video live broadcast, and comprises the following steps:
monitoring whether a preset event causing the termination of a live broadcast picture occurs or not in the live broadcast process of the video;
if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video and playing the prerecorded video;
the method further comprises the following steps:
respectively and correspondingly storing a preset event and a pre-recorded video, wherein the duration of the pre-recorded video corresponds to the duration of the corresponding preset event;
if a preset event causing the live broadcast picture to be stopped occurs, pausing the live broadcast of the video and playing the pre-recorded video, wherein the method comprises the following steps:
if a preset event causing the termination of the live broadcast picture occurs, pausing the live broadcast of the video, and searching a pre-recorded video corresponding to the currently occurring preset event from the corresponding relation between the stored preset event and the pre-recorded video;
and playing the pre-recorded video corresponding to the preset event.
2. The method of claim 1, wherein the monitoring whether a preset event occurs that causes a live view to be suspended comprises:
monitoring whether the live video is paused; alternatively, the first and second electrodes may be,
monitoring whether a local terminal has an incoming call; alternatively, the first and second electrodes may be,
it is monitored whether a preset application is opened.
3. The method of claim 1, further comprising:
monitoring whether the pre-recorded video is played completely;
and if the pre-recorded video is played, continuing the video live broadcast process.
4. The method of claim 1, further comprising:
monitoring whether an operation instruction for continuing video live broadcast input by a main broadcast is received;
and if the operation instruction is received, continuing the video live broadcast process.
5. The utility model provides a live video device which characterized in that is applied to the terminal that carries out the live video, includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the video live method of any of the above claims 1-4.
6. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any of claims 1-4.
CN201711025512.3A 2017-10-27 2017-10-27 Video live broadcasting method and device Active CN107743244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711025512.3A CN107743244B (en) 2017-10-27 2017-10-27 Video live broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711025512.3A CN107743244B (en) 2017-10-27 2017-10-27 Video live broadcasting method and device

Publications (2)

Publication Number Publication Date
CN107743244A CN107743244A (en) 2018-02-27
CN107743244B true CN107743244B (en) 2021-04-27

Family

ID=61238371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711025512.3A Active CN107743244B (en) 2017-10-27 2017-10-27 Video live broadcasting method and device

Country Status (1)

Country Link
CN (1) CN107743244B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385591A (en) * 2018-12-28 2020-07-07 阿里巴巴集团控股有限公司 Network live broadcast method, live broadcast processing method and device, live broadcast server and terminal equipment
CN110536144B (en) * 2019-07-31 2021-09-07 腾讯科技(深圳)有限公司 Live broadcast processing method and device and storage medium
CN110958465A (en) * 2019-12-17 2020-04-03 广州酷狗计算机科技有限公司 Video stream pushing method and device and storage medium
CN112243157A (en) * 2020-10-14 2021-01-19 北京字节跳动网络技术有限公司 Live broadcast control method and device, electronic equipment and computer readable medium
CN113014946A (en) * 2021-03-05 2021-06-22 广州市网星信息技术有限公司 Emergency processing method and emergency processing device for live broadcast drop of live broadcast platform
CN113259693A (en) * 2021-03-08 2021-08-13 北京达佳互联信息技术有限公司 Live broadcast method, device, server, system and storage medium
CN114640864A (en) * 2022-03-08 2022-06-17 广州方硅信息技术有限公司 Method, device, computer equipment and medium for playing small video in live broadcast room

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791889A (en) * 2016-05-04 2016-07-20 武汉斗鱼网络科技有限公司 Advertisement inter-cut method for video live broadcasting and advertisement inter-cut device for video live broadcasting
CN107071503A (en) * 2017-02-09 2017-08-18 腾讯科技(深圳)有限公司 The method of net cast, device and live connect streaming server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547134A (en) * 2010-12-15 2012-07-04 中兴通讯股份有限公司 Method for processing live programs and device
CN105430490B (en) * 2015-11-30 2018-05-25 北京华夏电通科技有限公司 The flexible control of direct broadcast band and switching method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791889A (en) * 2016-05-04 2016-07-20 武汉斗鱼网络科技有限公司 Advertisement inter-cut method for video live broadcasting and advertisement inter-cut device for video live broadcasting
CN107071503A (en) * 2017-02-09 2017-08-18 腾讯科技(深圳)有限公司 The method of net cast, device and live connect streaming server

Also Published As

Publication number Publication date
CN107743244A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN107743244B (en) Video live broadcasting method and device
CN106791893B (en) Video live broadcasting method and device
CN106911961B (en) Multimedia data playing method and device
CN106941624B (en) Processing method and device for network video trial viewing
EP3188066A1 (en) A method and an apparatus for managing an application
CN106911967B (en) Live broadcast playback method and device
JP6121621B2 (en) Voice call method, apparatus, program, and recording medium
CN106792173B (en) Video playing method and device and non-transitory computer readable storage medium
CN106559712B (en) Video playing processing method and device and terminal equipment
CN109348239B (en) Live broadcast fragment processing method and device, electronic equipment and storage medium
WO2017181551A1 (en) Video processing method and device
KR101814110B1 (en) Method and apparatus for displaying conversation interface
CN111246283B (en) Video playing method and device, electronic equipment and storage medium
CN111583952B (en) Audio processing method, device, electronic equipment and storage medium
EP3796317A1 (en) Video processing method, video playing method, devices and storage medium
CN109039872B (en) Real-time voice information interaction method and device, electronic equipment and storage medium
US20210311699A1 (en) Method and device for playing voice, electronic device, and storage medium
CN110719530A (en) Video playing method and device, electronic equipment and storage medium
CN109614470B (en) Method and device for processing answer information, terminal and readable storage medium
US20180007420A1 (en) Method, device and system for recording television program
CN108769769B (en) Video playing method and device and computer readable storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN111182328B (en) Video editing method, device, server, terminal and storage medium
CN111736746A (en) Multimedia resource processing method and device, electronic equipment and storage medium
CN106528442B (en) Cache cleaning method and device

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