CN107864122A - A kind of display methods and device of even wheat main broadcaster's live TV stream - Google Patents

A kind of display methods and device of even wheat main broadcaster's live TV stream Download PDF

Info

Publication number
CN107864122A
CN107864122A CN201710971414.2A CN201710971414A CN107864122A CN 107864122 A CN107864122 A CN 107864122A CN 201710971414 A CN201710971414 A CN 201710971414A CN 107864122 A CN107864122 A CN 107864122A
Authority
CN
China
Prior art keywords
live
live tv
main broadcaster
tv stream
terminal
Prior art date
Application number
CN201710971414.2A
Other languages
Chinese (zh)
Inventor
潘龙
陈少杰
张文明
Original Assignee
武汉斗鱼网络科技有限公司
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 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Priority to CN201710971414.2A priority Critical patent/CN107864122A/en
Publication of CN107864122A publication Critical patent/CN107864122A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/60Media handling, encoding, streaming or conversion
    • H04L65/601Media manipulation, adaptation or conversion
    • H04L65/604Media manipulation, adaptation or conversion at the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/80QoS aspects
    • 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, synchronizing decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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, synchronizing decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs

Abstract

The present invention provides a kind of display methods and device of even wheat main broadcaster's live TV stream.Methods described includes:Obtain the first live TV stream address of first main broadcaster's terminal and the second live TV stream address of second main broadcaster's terminal for connecting wheat in objective network direct broadcasting room;Based on the first live TV stream address and the second live TV stream address, the live TV stream of the first main broadcaster terminal and the live TV stream of the second main broadcaster terminal are obtained respectively, and played simultaneously in same picture by two Streaming Medias respectively.The present invention is the picture for alloing any user terminal to see two main broadcasters simultaneously, directly by being played by two Media Streams in user terminal after two live TV streams of live TV stream address acquisition of two main broadcaster's terminals simultaneously, eliminate the reliance on the client mixed flow of server mixed flow either main broadcaster, the problems such as avoiding time delay, the shake of server mixed flow, the network consumption that it also avoid client mixed flow is big, easily produces the problem of network jitter.

Description

A kind of display methods and device of even wheat main broadcaster's live TV stream

Technical field

The present invention relates to net cast technical field, more particularly, to the display methods and dress of even wheat main broadcaster's live TV stream Put.

Background technology

With the continuous development that net cast is entertained, main broadcaster occurs in current live field, and with main broadcaster's progress video to connect wheat mutual Dynamic net cast entertainment mode.Two main broadcasters start the even interactive model of wheat and create a direct broadcasting room, and live spectators enter Even the direct broadcasting room of wheat can see the live picture of two main broadcasters simultaneously, and the performance of two main broadcasters is watched by working together with interactive, Greatly increase direct broadcasting room interest.

Video in live connects wheat interaction, is inevitably related to the mixed flow of two main broadcaster's live videos, so as to reach Occurs the picture effect of two main broadcaster's video flowings in a live picture.

Two kinds of live video mixed flow schemes in the prior art be present:One kind is server mixed flow and main broadcaster's client mixed flow. Wherein, server mixed flow scheme is that two respective live video streams of main broadcaster of even wheat are obtained by server, and server passes through Encoding and decoding make two video flowings be merged into one, and user obtains live video stream after synthesis and played out;But this scheme shows Easily there is problems with:Encoding and decoding have certain probability cause mixed flow failure (for example having a network jitter in two main broadcasters), It is mixed into new video stream sound delay time or has echo.In addition, main broadcaster's client mixed flow scheme is by the one of main of even wheat The video flowing fixed point for broadcasting end is sent to another main broadcaster's client, and the main broadcaster end progress mixed flow for receiving video flowing is subsequently sent to take Business device, user download live TV stream viewing from server again;This scheme is primarily present problems with:Receive single-point stream and carry out mixed flow Main broadcaster be need it is descending download another main broadcaster live TV stream, it is also desirable to mixed stream is uploaded onto the server to network consumption It is bigger, easily produce network jitter effects user and watch the effect that even wheat is live.

The content of the invention

The present invention is to overcome above mentioned problem or solve the above problems at least in part, there is provided high-volume business datum exports Method.

According to an aspect of the present invention, there is provided a kind of display methods of even wheat main broadcaster's live TV stream, including:

Step 1, the first live TV stream address and for the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room is obtained Second live TV stream address of two main broadcaster's terminals;

Step 2, based on the first live TV stream address and the second live TV stream address, first main broadcaster is obtained respectively The live TV stream of the live TV stream of terminal and the second main broadcaster terminal, and broadcast simultaneously in same picture by two Streaming Medias respectively Put.

Further, the step 2, further comprises:

S21, first line parameter corresponding to the first live TV stream address and the second live TV stream address are obtained respectively Corresponding second line parameter circuit value, established and be bi-directionally connected with the first live TV stream address by the first line parameter, passed through Second line parameter circuit value is established with the second live TV stream address and is bi-directionally connected;

S22, from the first live stream video of first main broadcaster's terminal described in the first live TV stream address acquisition, from described Second net cast stream video of second main broadcaster's terminal described in two live TV stream address acquisitions;

S23, newly-built two Streaming Medias, it is live to play described first simultaneously in same picture by two Streaming Medias respectively Stream video and the second live stream video.

Further, the step S23, further comprises:

S231, based on the size of the terminal player where the same picture, to the described first live stream video and institute State the second live stream video and carry out maximized equal proportion scaling;

S232, by the described first live stream video and the second live stream video respectively to account for the identical of the same picture The play area of area played simultaneously by two newly-built Streaming Medias respectively after arranging between two parties.

Further, the step S231, further comprises:

Obtain the height and width of the terminal player, height and width of the first live stream video and described second live The height and width of stream video;

Obtain the height of the terminal player and the high ratio of the first live stream video and the terminal player Scaling of the wide smaller value with the wide ratio of the first live stream video as the described first live stream video;

Obtain the height of the terminal player and the high ratio of the second live stream video and the terminal player Scaling of the wide smaller value with the wide ratio of the second live stream video as the described second live stream video;

Take smaller in the scaling of the described first live stream video and the scaling of the second live stream video Value, as video scaling ratio;

According to the video scaling ratio, the described first live stream video and the second live stream video are contracted Put.

Further, the step S232, further comprises:

The left-half and right half part averagely split based on the same picture, make the after scaling first live stream video The lower right corner be located at the lower right corner of the left-half, the lower left corner of the second live stream video of scaling is located at the right side The lower left corner divided;

Pass through the first live stream video of left-half and the right side described in two newly-built streaming media playings respectively The the second live stream video divided.

Further, the step S21, further comprises:

First line parameter corresponding to the first live TV stream address is obtained, the first line parameter is included from described same Terminal where one picture and preserves the first line parameter to a plurality of line information of the first live TV stream address;

The second line parameter circuit value corresponding to the second live TV stream address is obtained, second line parameter circuit value is included from described same Terminal where one picture and preserves second line parameter circuit value to a plurality of line information of the second live TV stream address;

Choose from the first line parameter circuit and establish and be bi-directionally connected with the first live TV stream address, from Circuit is chosen in second line parameter circuit value establish and be bi-directionally connected with the second live TV stream address.

Further, the display methods of even wheat main broadcaster's live TV stream also includes:

If video cardton occurs for the first main broadcaster terminal and/or the second main broadcaster terminal, from the first line Parameter and/or second line parameter circuit value choose a different circuit switching connection.

According to a further aspect of the invention, a kind of display device of even wheat main broadcaster's live TV stream is also provided, including:

Address acquisition module, first for obtaining the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room are live Flow address and the second live TV stream address of second main broadcaster's terminal;And

Video mixed flow module, for based on the first live TV stream address and the second live TV stream address, obtaining respectively The live TV stream of the live TV stream of the first main broadcaster terminal and the second main broadcaster terminal, and respectively by two Streaming Medias same Played simultaneously in picture.

According to a further aspect of the invention, there is provided a kind of display device of even wheat main broadcaster's live TV stream, including:

At least one processor;And

At least one memory being connected with the processor communication, wherein:

The memory storage has and by the programmed instruction of the computing device, the processor described program can be called to refer to The side described in display methods and its any alternative embodiment that order is able to carry out connecting wheat main broadcaster's live TV stream described in the embodiment of the present invention Method.

According to a further aspect of the invention, there is provided a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that described non- Transitory computer readable storage medium stores computer instruction, and the computer instruction makes the computer perform present invention implementation Method described in the example even display methods of wheat main broadcaster's live TV stream and its any alternative embodiment.

The present invention proposes a kind of display methods of even wheat main broadcaster's live TV stream, to allow any user terminal to see two simultaneously The picture of individual main broadcaster, directly by passing through two in user terminal after two live TV streams of live TV stream address acquisition of two main broadcaster's terminals Individual Media Stream plays simultaneously, eliminate the reliance on server mixed flow either main broadcaster client mixed flow, avoid server mixed flow when The problems such as prolonging, shaking, the network consumption that it also avoid client mixed flow is big, easily produces the problem of network jitter.

Brief description of the drawings

Fig. 1 is a kind of display methods schematic flow sheet of even wheat main broadcaster's live TV stream of the embodiment of the present invention;

Fig. 2 is the display schematic diagram of two video pictures of the embodiment of the present invention;

Fig. 3 is a kind of structured flowchart of the even display device of wheat main broadcaster's live TV stream of the embodiment of the present invention.

Embodiment

With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but is not limited to the scope of the present invention.

Fig. 1 is a kind of display methods schematic flow sheet of even wheat main broadcaster's live TV stream of the embodiment of the present invention, as shown in figure 1, this Inventive embodiments provide a kind of display methods of even wheat main broadcaster's live TV stream, and its executive agent is any user terminal, including:

Step 1, the first live TV stream address and for the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room is obtained Second live TV stream address of two main broadcaster's terminals;

First main broadcaster's terminal described in the embodiment of the present invention and second main broadcaster's terminal are main broadcaster's end that any two is connecting wheat End, one kind are probably that one of main broadcaster's terminal is put actively to connect wheat, and another main broadcaster's terminal is passively to connect wheat side.It is described straight Stream address is broadcast as the server address where the data of main broadcaster's terminal current video picture.Even main broadcaster's terminal of wheat both sides is live It is probably same server to flow address, it is also possible to different servers.

Step 2, based on the first live TV stream address and the second live TV stream address, first main broadcaster is obtained respectively The live TV stream of the live TV stream of terminal and the second main broadcaster terminal, and broadcast simultaneously in same picture by two Streaming Medias respectively Put.

Whether the embodiment of the present invention is connecting wheat from main broadcaster's terminal where server acquisition room first, if in Lian Maizhong Connect the live TV stream address of wheat both sides corresponding to request.Go to go to play the two according to two Streaming Medias again after obtaining two stream addresses Stream, such user's can see two main broadcasters of even wheat in a direct broadcasting room.To avoid the time delay of traditional mixed flow and performance from disappearing Consumption, the embodiment of the present invention play the video of two main broadcaster's terminals, i.e. a streaming media playing one using two Streaming Medias respectively The video of main broadcaster's terminal, the two is independent of each other.

The embodiment of the present invention proposes a kind of display methods of even wheat main broadcaster's live TV stream, and its executive agent is any viewing main broadcaster The even user terminal of wheat picture, thus the mixed flow of the embodiment of the present invention is completed by user terminal oneself mixed flow.To make to appoint Meaning user terminal can see the picture of two main broadcasters simultaneously, directly pass through the live TV stream address acquisition two of two main broadcaster's terminals Played simultaneously by two Media Streams in user terminal after live TV stream, eliminate the reliance on the client of server mixed flow either main broadcaster Mixed flow, the problems such as avoiding the time delay of server mixed flow, shake, the network consumption that it also avoid client mixed flow greatly, easily produces The problem of network jitter.

In an optional embodiment, the step 2, further comprise:

S21, first line parameter corresponding to the first live TV stream address and the second live TV stream address are obtained respectively Corresponding second line parameter circuit value, established and be bi-directionally connected with the first live TV stream address by the first line parameter, passed through Second line parameter circuit value is established with the second live TV stream address and is bi-directionally connected;

S22, from the first live stream video of first main broadcaster's terminal described in the first live TV stream address acquisition, from described Second net cast stream video of second main broadcaster's terminal described in two live TV stream address acquisitions;

S23, newly-built two Streaming Medias, it is live to play described first simultaneously in same picture by two Streaming Medias respectively Stream video and the second live stream video.

In the environment of a specific implementation, user terminal can be by socket or http request interface to server The video flowing address of the company of acquisition wheat both sides and circuit present situation.Assuming that Aobject is company's wheat data that active initiator connects wheat side, Bobject is the passive company's wheat data for receiving even wheat side, and Aobject and Bobject include live TV stream address nsUrl attributes, And line parameter circuit value cdnList, wherein line parameter circuit value cdnList are that array each element includes line name name Represent that the circuit goes to that CDN manufacturer with specific line information cdn, cdn).

Analogue data structure is as follows

Aobject={ nsUrl:“XXXXXX”,cdnList:[{name:Circuit 1, cdn:XX }, { name:Circuit 2, cdn:XXX}....]

Bobject={ nsUrl:“XXXXXX”,cdnList:[{name:Circuit 1, cdn:XX }, { name:Circuit 2, cdn:XXX}....].

Any user terminal obtains active initiator Lian Maifanglianmai data Aobject and passive receiving even wheat number formulary evidence Bobject, the live TV stream address nsUrl of two company's wheat main broadcaster's terminals can be parsed.

Pass through following several steps when being played typically for a complete live TV stream:1. pass through NetConnection classes pair It is bi-directionally connected as that can be created between flash clients and streaming server, 2. connect media by NetStream class objects again Stream and data.3. having taken Media Stream and data only needs to can be carried out storing this media by video class object containers Flow data, then can be carried out playing live TV stream by video play methods.

The embodiment of the present invention in order to play the stream address of even wheat both sides in direct broadcasting room needs flow above to walk twice.I.e. It is to establish 2 NetConnection, then two NetStream and video of correspondence establishment.

In environment is embodied, even main broadcaster's terminal Aobject and Bobject of wheat both sides code are realized as follows:

Aobject:

Bobject:

Based on above-described embodiment, the main broadcaster's terminal for having been realized in carrying out two company wheats by any user terminal oneself regards The mixed flow of frequency, but such mixed flow is a random superposition of milli, the user's body for two live TV stream pictures being so superimposed Test sense and bad, it is therefore desirable to certain processing is carried out to the video display picture of mixed flow and make it that picture is more attractive.

In an optional embodiment, the step S23, newly-built two Streaming Medias, existed respectively by two Streaming Medias The described first live stream video and the second live stream video are played simultaneously in same picture, is further comprised:

S231, based on the size of the terminal player where the same picture, to the described first live stream video and institute State the second live stream video and carry out maximized equal proportion scaling;

S232, by the described first live stream video and the second live stream video respectively to account for the identical of the same picture The play area of area played simultaneously by two newly-built Streaming Medias respectively after arranging between two parties.

The embodiment of the present invention carries out typesetting on the basis of foregoing user's mixed flow, to video pictures, has obtained picture attractive in appearance Face, lift Consumer's Experience.Including two aspects:

In a first aspect, the display size of two video pictures, the display of fair-sized is realized by scaling in proportion.

Second aspect, the display location of two video pictures, respectively accounts for half, is shown centered on.Fig. 2 is the embodiment of the present invention two The display schematic diagram of individual video pictures, as shown in Fig. 2 described be shown centered on, refer to two video pictures display size it is total Size is shown centered on, and does not imply that each video pictures is shown centered in same display picture respectively.

Based on above-described embodiment, the step S231 is right based on the size of the terminal player where the same picture The first live stream video and the second live stream video carry out maximized equal proportion scaling, further comprise:

Obtain the height and width of the terminal player, height and width of the first live stream video and described second live The height and width of stream video;

Obtain the height of the terminal player and the high ratio of the first live stream video and the terminal player Scaling of the wide smaller value with the wide ratio of the first live stream video as the described first live stream video;

Obtain the height of the terminal player and the high ratio of the second live stream video and the terminal player Scaling of the wide smaller value with the wide ratio of the second live stream video as the described second live stream video;

Take smaller in the scaling of the described first live stream video and the scaling of the second live stream video Value, as video scaling ratio;

According to the video scaling ratio, the described first live stream video and the second live stream video are contracted Put.

It is above the specific method of the maximized equal proportion scaling of the embodiment of the present invention, mainly according to terminal player High wide and each live video stream is high wide, the scaling of each live video stream is calculated, due to the depth-width ratio of live video stream It is not necessarily identical with the depth-width ratio of terminal player, therefore the pantograph ratio based on height and the pantograph ratio based on width not necessarily phase Together, scaling of the less scaling as live video stream is now taken.

Again because the college entrance examination of two live video streams is not of uniform size fixed identical, thus the scaling of two live video stream calculations Ratio is not necessarily identical, now takes the smaller value in the scaling of two live video streams to be used as unified scaling, i.e., most Latter two live video stream all zooms in and out according to unified scaling.

In environment is embodied, even main broadcaster's terminal Aobject and Bobject of wheat both sides height, it is wide be respectively AH, AW, BH and BW, the height of terminal player, wide respectively stageH and stageW, the calculation code realization of scaling are as follows:

Based on above-described embodiment, the step S232, by the described first live stream video and the second live stream video Carried out with respectively accounting for the play area of the same area of the same picture after arranging between two parties respectively by two newly-built Streaming Medias Play, further comprise simultaneously:

The left-half and right half part averagely split based on the same picture, make the after scaling first live stream video The lower right corner be located at the lower right corner of the left-half, the lower left corner of the second live stream video of scaling is located at the right side The lower left corner divided;

Pass through the first live stream video of left-half and the right side described in two newly-built streaming media playings respectively The the second live stream video divided.

Fig. 2 is refer to, the present embodiment handles the play position of latter two video pictures respectively such as 1 and 2 in Fig. 2.Preceding State and two live stream videos have been carried out with the processing of identical scaling in embodiment, then set by the method for the present embodiment XY coordinate positions.In environment is embodied, the code that coordinate position is set is as follows:

In an optional embodiment, the step S21, further comprise:

First line parameter corresponding to the first live TV stream address is obtained, the first line parameter is included from described same Terminal where one picture and preserves the first line parameter to a plurality of line information of the first live TV stream address;

The second line parameter circuit value corresponding to the second live TV stream address is obtained, second line parameter circuit value is included from described same Terminal where one picture and preserves second line parameter circuit value to a plurality of line information of the second live TV stream address;

Choose from the first line parameter circuit and establish and be bi-directionally connected with the first live TV stream address, from Circuit is chosen in second line parameter circuit value establish and be bi-directionally connected with the second live TV stream address.

As it was previously stated, multi-line be present in the live TV stream address of the embodiment of the present invention, wherein, line parameter circuit value cdnList is One array each element includes line name name and specific line information cdn.When obtaining the current of live stream video Circuit occurs that All other routes can be switched to watch during interim card, equally works as in two company's wheat live TV streams with the presence of one or two Current interim card stream can also be switched over during interim card.

Connecting the display methods of wheat main broadcaster's live TV stream in an optional embodiment, described in the embodiment of the present invention also includes:

If video cardton occurs for the first main broadcaster terminal and/or the second main broadcaster terminal, from the first line Parameter and/or second line parameter circuit value choose a different circuit switching connection.

The embodiment of the present invention provides a kind of processing method of live video stream interim card, starts to obtain because interim card is likely to occur in Take live video stream to currently viewing display whenever, the embodiment of the present invention can arbitrarily occur interim card when, utilize line A plurality of line information in the parameter of road carries out fast and effectively circuit switching.

In the specific implementation, all optional circuits can also be provided by the right button menu of the user interface of user terminal Voluntarily selected for user.All circuits are shown on right mouse button, and bind click event onclik, then user has found Interim card only needs to click other circuit switching cans by mouse right button;Once but click on other circuit thing triggering onlick things Part, the line name name of line information cdn bindings can be utilized to go with asking to occur the Lian Maifang of interim card new video flowing Then location re-starts user's mixed flow.

Based on above-described embodiment, the embodiment of the present invention obtains main broadcaster's terminal of two company wheats by user terminal oneself first Live TV stream carry out mixed flow, then carry out video display picture typesetting, finally provide video flowing interim card processing method, completely A kind of user's mixed flow method of even wheat main broadcaster's live TV stream of offer, eliminate the reliance on the server mixed flow either client of main broadcaster and mix Stream, the problems such as avoiding time delay, the shake of server mixed flow, the network consumption that it also avoid client mixed flow is big, easily produces net The problem of network is shaken, has good beneficial effect.

The embodiment of the present invention also provides a kind of display device of even wheat main broadcaster's live TV stream, including:

Address acquisition module, first for obtaining the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room are live Flow address and the second live TV stream address of second main broadcaster's terminal;And

Video mixed flow module, for based on the first live TV stream address and the second live TV stream address, obtaining respectively The live TV stream of the live TV stream of the first main broadcaster terminal and the second main broadcaster terminal, and respectively by two Streaming Medias same Played simultaneously in picture.

The display device of company's wheat main broadcaster's live TV stream described in the embodiment of the present invention, it is and the company wheat described in the embodiment of the present invention The completely corresponding device claim of the display methods of main broadcaster's live TV stream, have the company wheat main broadcaster described in the embodiment of the present invention live The identical technical characteristic of display methods and technique effect of stream, will not be repeated here.

Fig. 3 shows the structured flowchart of the display device of company's wheat main broadcaster's live TV stream of the embodiment of the present invention.

Reference picture 3, the equipment, including:Processor (processor) 401, memory (memory) 402 and bus 403;

Wherein, the processor 401 and memory 402 complete mutual communication by the bus 403;

The processor 401 is used to call the programmed instruction in the memory 402, to perform above-mentioned each method embodiment The method provided, such as including:Obtain the first live TV stream of the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room Address and the second live TV stream address of second main broadcaster's terminal;Based on the first live TV stream address and second live TV stream Location, the live TV stream of the first main broadcaster terminal and the live TV stream of the second main broadcaster terminal are obtained respectively, and pass through two respectively Streaming Media plays simultaneously in same picture.

The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:It is live to obtain objective network Between in connecting the first live TV stream address of first main broadcaster's terminal and the second live TV stream address of second main broadcaster's terminal of wheat;It is based on The first live TV stream address and the second live TV stream address, the live TV stream of the first main broadcaster terminal and described is obtained respectively The live TV stream of second main broadcaster's terminal, and played simultaneously in same picture by two Streaming Medias respectively.

The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example Such as include:The first live TV stream address and the second main broadcaster for obtaining the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room are whole The second live TV stream address at end;Based on the first live TV stream address and the second live TV stream address, described is obtained respectively The live TV stream of the live TV stream of one main broadcaster's terminal and the second main broadcaster terminal, and respectively by two Streaming Medias in same picture Play simultaneously.

One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.

The embodiments such as the equipment of high-volume business datum deriving method described above are only schematical, wherein institute State that the unit illustrated as separating component can be or may not be physically separate, the part shown as unit can To be or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs. Some or all of module therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.This area is general Logical technical staff is not in the case where paying performing creative labour, you can to understand and implement.

Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.

Finally, the present processes are only preferable embodiment, are not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc., the protection of the present invention should be included in Within the scope of.

Claims (10)

  1. A kind of 1. display methods of even wheat main broadcaster's live TV stream, it is characterised in that including:
    Step 1, the first live TV stream address and the second master for the first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room are obtained Broadcast the second live TV stream address of terminal;
    Step 2, based on the first live TV stream address and the second live TV stream address, the first main broadcaster terminal is obtained respectively Live TV stream and the second main broadcaster terminal live TV stream, and played simultaneously in same picture by two Streaming Medias respectively.
  2. 2. method as claimed in claim 1, it is characterised in that the step 2, further comprise:
    S21, obtains first line parameter corresponding to the first live TV stream address respectively and the second live TV stream address is corresponding The second line parameter circuit value, established and be bi-directionally connected by the first line parameter and the first live TV stream address, by described Second line parameter circuit value is established with the second live TV stream address and is bi-directionally connected;
    S22 is straight from described second from the first live stream video of first main broadcaster's terminal described in the first live TV stream address acquisition Broadcast the second net cast stream video of second main broadcaster's terminal described in stream address acquisition;
    S23, newly-built two Streaming Medias, play first live TV stream simultaneously in same picture by two Streaming Medias respectively and regard Frequency and the described second live stream video.
  3. 3. method as claimed in claim 2, it is characterised in that the step S23, further comprise:
    S231, based on the size of the terminal player where the same picture, to the described first live stream video and described Two live stream videos carry out maximized equal proportion scaling;
    S232, by the described first live stream video and the second live stream video respectively to account for the equal area of the same picture Play area carry out between two parties arrange after played simultaneously by two newly-built Streaming Medias respectively.
  4. 4. method as claimed in claim 3, it is characterised in that the step S231, further comprise:
    The height and width of the terminal player, the height and width of the first live stream video and second live TV stream is obtained to regard The height and width of frequency;
    Obtain the height of the terminal player and the width of the high ratio of the first live stream video and the terminal player with Scaling of the smaller value as the described first live stream video in the wide ratio of first live stream video;
    Obtain the height of the terminal player and the width of the high ratio of the second live stream video and the terminal player with Scaling of the smaller value as the described second live stream video in the wide ratio of second live stream video;
    The smaller value in the scaling of the described first live stream video and the scaling of the second live stream video is taken, is made For video scaling ratio;
    According to the video scaling ratio, the described first live stream video and the second live stream video are zoomed in and out.
  5. 5. method as claimed in claim 4, it is characterised in that the step S232, further comprise:
    The left-half and right half part averagely split based on the same picture, make the right side of the after scaling first live stream video Inferior horn is located at the lower right corner of the left-half, the lower left corner of the second live stream video of scaling is located at the right half part The lower left corner;
    Pass through the first live stream video of left-half described in two newly-built streaming media playings and the right half part respectively Second live stream video.
  6. 6. method as claimed in claim 2, it is characterised in that the step S21, further comprise:
    First line parameter corresponding to the first live TV stream address is obtained, the first line parameter is included from the same picture Terminal where face and preserves the first line parameter to a plurality of line information of the first live TV stream address;
    The second line parameter circuit value corresponding to the second live TV stream address is obtained, second line parameter circuit value is included from the same picture Terminal where face and preserves second line parameter circuit value to a plurality of line information of the second live TV stream address;
    Choose from the first line parameter circuit and establish and be bi-directionally connected with the first live TV stream address, from described Circuit is chosen in second line parameter circuit value establish and be bi-directionally connected with the second live TV stream address.
  7. 7. method as claimed in claim 6, it is characterised in that also include:
    If video cardton occurs for the first main broadcaster terminal and/or the second main broadcaster terminal, from the first line parameter And/or second line parameter circuit value chooses a different circuit switching connection.
  8. A kind of 8. display device of even wheat main broadcaster's live TV stream, it is characterised in that including:
    Address acquisition module, for obtaining the first live TV stream of first main broadcaster's terminal for connecting wheat in objective network direct broadcasting room Location and the second live TV stream address of second main broadcaster's terminal;And
    Video mixed flow module, described in based on the first live TV stream address and the second live TV stream address, obtaining respectively The live TV stream of the live TV stream of first main broadcaster's terminal and the second main broadcaster terminal, and respectively by two Streaming Medias in same picture In play simultaneously.
  9. A kind of 9. display device of even wheat main broadcaster's live TV stream, it is characterised in that including:
    At least one processor;And
    At least one memory being connected with the processor communication, wherein:
    The memory storage has can be by the programmed instruction of the computing device, and the processor calls described program instruction energy Enough perform the method as described in claim 1 to 7 is any.
  10. 10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 7 is any.
CN201710971414.2A 2017-10-18 2017-10-18 A kind of display methods and device of even wheat main broadcaster's live TV stream CN107864122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710971414.2A CN107864122A (en) 2017-10-18 2017-10-18 A kind of display methods and device of even wheat main broadcaster's live TV stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710971414.2A CN107864122A (en) 2017-10-18 2017-10-18 A kind of display methods and device of even wheat main broadcaster's live TV stream

Publications (1)

Publication Number Publication Date
CN107864122A true CN107864122A (en) 2018-03-30

Family

ID=61697332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710971414.2A CN107864122A (en) 2017-10-18 2017-10-18 A kind of display methods and device of even wheat main broadcaster's live TV stream

Country Status (1)

Country Link
CN (1) CN107864122A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312905A1 (en) * 2009-06-08 2010-12-09 Dov Sandmann Sustaining Live Interactive Streaming
US20140380352A1 (en) * 2013-06-21 2014-12-25 General Instrument Corporation Trick Play Seek Operation for HLS Converted from DTCP
CN105847875A (en) * 2016-05-13 2016-08-10 武汉斗鱼网络科技有限公司 Live video broadcast platform watching line intelligent choosing method and system
CN105898341A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and mobile client enabling simultaneous video live broadcast by two persons
CN106254899A (en) * 2016-08-16 2016-12-21 网宿科技股份有限公司 The control method of a kind of live even wheat and system
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system
CN106713304A (en) * 2016-12-19 2017-05-24 北京星辰美豆文化传播有限公司 Webcast method, apparatus and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312905A1 (en) * 2009-06-08 2010-12-09 Dov Sandmann Sustaining Live Interactive Streaming
US20140380352A1 (en) * 2013-06-21 2014-12-25 General Instrument Corporation Trick Play Seek Operation for HLS Converted from DTCP
CN105898341A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and mobile client enabling simultaneous video live broadcast by two persons
CN105847875A (en) * 2016-05-13 2016-08-10 武汉斗鱼网络科技有限公司 Live video broadcast platform watching line intelligent choosing method and system
CN106254899A (en) * 2016-08-16 2016-12-21 网宿科技股份有限公司 The control method of a kind of live even wheat and system
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system
CN106713304A (en) * 2016-12-19 2017-05-24 北京星辰美豆文化传播有限公司 Webcast method, apparatus and electronic equipment

Similar Documents

Publication Publication Date Title
US9498712B2 (en) Qualified video delivery
US8818172B2 (en) Multi-user remote video editing
US9077956B1 (en) Scene identification
US6999083B2 (en) System and method to provide a spectator experience for networked gaming
US9455931B2 (en) Load balancing between processors
KR101783056B1 (en) System and method for selecting a video encoding format based on feedback data
KR101757485B1 (en) System and method for accelerated machine switching
KR101723694B1 (en) System and method for multi-stream video compression using multiple encoding formats
KR101549278B1 (en) System for combining a plurality of views of real-time streaming interactive video
KR101586099B1 (en) System for reporting recorded video preceding system failures
KR101510915B1 (en) Method for multicasting views of real-time streaming interactive video
KR101732200B1 (en) System and method for utilizing forward error correction with video compression
JP5222058B2 (en) Dynamic media interaction using time-based metadata
US8887048B2 (en) Media data presented with time-based metadata
US20160378515A1 (en) Remotely emulating computing devices
KR20110132609A (en) System and method for compressing video based on latency measurements and other feedback
KR101786122B1 (en) System and method for video compression using feedback including data related to the successful receipt of video content
KR20110132608A (en) System and method for compressing video frames or portions thereof based on feedback information from a client device
JP3633452B2 (en) 3D advertising system and method with motion in 3D virtual space and recording medium
KR20100114881A (en) Streaming interactive video client apparatus
US20150074243A1 (en) Addition of supplemental multimedia content and interactive capability at the client
KR20100101637A (en) System for recursive recombination of streaming interactive video
KR20100102625A (en) Hosting and broadcasting virtual events using streaming interactive video
DE112013005689T5 (en) Portable game console
KR20100108352A (en) System for collaborative conferencing using streaming interactive video

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