CN108271033A - A kind of net cast method and device - Google Patents
A kind of net cast method and device Download PDFInfo
- Publication number
- CN108271033A CN108271033A CN201611262635.4A CN201611262635A CN108271033A CN 108271033 A CN108271033 A CN 108271033A CN 201611262635 A CN201611262635 A CN 201611262635A CN 108271033 A CN108271033 A CN 108271033A
- Authority
- CN
- China
- Prior art keywords
- video stream
- stream file
- angle
- video
- direct broadcasting
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
Abstract
The invention discloses a kind of net cast method and devices, and applied to live streaming field, this method includes:If the direct broadcasting room being currently entering sends multi-angle live streaming request between multi-angle net cast, to data server;N number of video stream data address that data server is returned for multi-angle live streaming request is received, N number of video stream data address is used to characterize the position of N number of video stream file that direct broadcasting room is being broadcast live on video stream server, and N is the integer more than 1;According to N number of video stream data address, load N number of video stream file from video stream server and play out.By the present invention solve existing network live streaming there is technical issues that be broadcast live picture, realize at the same multi-angle presentation network direct broadcasting video pictures, more comprehensively show direct broadcasting room, than an angle single video pictures video effect more preferably.
Description
Technical field
The present invention relates to network live streaming field more particularly to a kind of net cast method and devices.
Background technology
With the development of network communication, more and more user's selections are made friends and are entertained by the network platform, these nets
Network platform includes one-to-one platform of chatting with friends, main broadcaster chatroom platform, forum's dating site etc., wherein, one-to-one chat is handed over
Friendly platform and main broadcaster chatroom platform due to can real-time video exchange, more favored by user.But existing network is broadcast live, only
The view picture for the live streaming that one angle is presented to viewing user, it is seen then that existing network live streaming has the single skill of live streaming picture
Art problem.
Invention content
In view of the above problems, an embodiment of the present invention provides a kind of net cast method and device, the above problem is overcome
Or it solves the above problems at least partly.
In a first aspect, an embodiment of the present invention provides a kind of net cast method, the net cast method includes:
If the direct broadcasting room being currently entering, between multi-angle net cast, sending multi-angle live streaming to data server please
It asks;
Receive N number of video stream data address that the data server is returned for multi-angle live streaming request, the N
A video stream data address is used to characterize N number of video stream file that the direct broadcasting room is being broadcast live in video stream server
Position, N number of video stream file corresponds to N number of scene angle, and N is the integer more than 1;
According to N number of video stream data address, carried out from video stream server loading N number of video stream file
It plays.
Preferably, in the N number of video flowing for receiving the data server and being returned for multi-angle live streaming request
After data address, the method further includes:
The volume for setting N-1 video stream file in N number of video stream file is zero.
Preferably, if N number of video stream file includes main video stream file and secondary video stream file, the setting N
The volume of N-1 video stream file in a video stream file is zero, including:
Main video stream file is determined from N number of video stream file;
The volume value or the volume value of the main video stream file of adjusting for keeping the main video stream file current are more than default
Volume value, the default volume value are more than zero;
The volume of the secondary video stream file is adjusted from current volume value to zero.
Preferably, before the transmission multi-angle live streaming request to data server, the method further includes:
When entering the direct broadcasting room, the direct broadcasting room attribute information of the direct broadcasting room, institute are obtained from the data server
State one during direct broadcasting room attribute information is used to characterize the direct broadcasting room between single angle video direct broadcasting room, multi-angle net cast
Kind;
Identify the direct broadcasting room attribute information.
Preferably, after the identification direct broadcasting room attribute information, the method further includes:
If it is single angle video direct broadcasting room to identify the direct broadcasting room, single angle live streaming is sent to the data server
Request;
Receive the single video stream data address for single angle live streaming request that the data server returns, institute
It states single video stream data address and is taken for characterizing the single video stream file that the direct broadcasting room is being broadcast live in video flowing
The position being engaged on device;
It establishes and connects with the video stream server;
According to the single video stream data address, the single video stream file is loaded from the video stream server.
Preferably, it is described to be played out from video stream server loading N number of video stream file, including:
It establishes and connects with the video stream server, and create N number of flow object;
It is corresponded to by N number of flow object from the video stream server and receives N number of video stream file;
The N number of video stream file correspondence received is attached in N number of the video object;
N number of the video object is added to same display container, to play N number of video in the display container
Stream file.
Preferably, it is described that N number of the video object is added to same display container, to be played in the display container
N number of video stream file, including:
N number of the video object is subjected to level-superposed;
N number of the video object after superposition is added to the display container, it is corresponding to play N number of video stream file.
Preferably, the N number of video fluxion for receiving the data server and being returned for multi-angle live streaming request
According to address, including:
Receive the response data that the data server is returned for multi-angle live streaming request;
Stream address array is parsed from the response data, the stream address array includes N number of array element;
The corresponding video stream data address of one of array element is determined as to the video stream data of home court scape angle
N-1 array element is determined as the video stream data address of secondary scene angle by location.
Second aspect, an embodiment of the present invention provides a kind of net cast device, the net cast device includes:
First request transmitting unit, if the direct broadcasting room for being currently entering takes between multi-angle net cast to data
Request is broadcast live in device transmission multi-angle of being engaged in;
First address receiving unit, for receiving the N that the data server is returned for multi-angle live streaming request
A video stream data address, N number of video stream data address are used to characterize N number of video that the direct broadcasting room is being broadcast live
Position of the stream file on video stream server, N number of video stream file correspond to N number of scene angle, and N is the integer more than 1;
First loading unit, for according to N number of video stream data address, from described in video stream server loading
N number of video stream file plays out.
Preferably, described device further includes:
Volume setting unit, the volume for setting N-1 video stream file in N number of video stream file is zero.
Preferably, if N number of video stream file includes main video stream file and secondary video stream file, the volume setting is single
Member, including:
Determination unit, for determining main video stream file from N number of video stream file;
Master volume adjusts unit, for the volume value for keeping the main video stream file current or adjusts main video flowing
The volume value of file is more than default volume value, and the default volume value is more than zero;
Secondary volume zero setting unit, for being adjusted the volume of the secondary video stream file to zero from current volume value.
Preferably, described device further includes:
Attribute information acquiring unit, for when entering the direct broadcasting room, the live streaming to be obtained from the data server
Between direct broadcasting room attribute information, the direct broadcasting room attribute information for characterizing the direct broadcasting room is single angle video direct broadcasting room, more
One kind in angle video direct broadcasting room;
Information identificating unit, for identifying the direct broadcasting room attribute information.
Preferably, described device further includes:
Second request transmitting unit, if for identifying that the direct broadcasting room is single angle video direct broadcasting room, to the number
Single angle live streaming request is sent according to server;
Request is broadcast live for receiving the single angle that is directed to that the data server returns in second address receiving unit
Single video stream data address, the single video stream data address for characterize the direct broadcasting room be broadcast live it is single
Position of the video stream file on video stream server;
Connection unit connects for being established with the video stream server;
Second loading unit, for according to the single video stream data address, institute to be loaded from the video stream server
State single video stream file.
Preferably, first loading unit, including:
Connection subelement is established, is connected for being established with the video stream server, and create N number of flow object;
Video stream file receiving unit corresponds to reception institute for passing through N number of flow object from the video stream server
State N number of video stream file;
Additional subelement, for the N number of video stream file correspondence received to be attached in N number of the video object;
The video object adding device, for N number of the video object to be added to same display container, in the display
N number of video stream file is played in container.
Preferably, the video object addition subelement, is specifically used for:
N number of the video object is subjected to level-superposed;
N number of the video object after superposition is added to the display container, it is corresponding to play N number of video stream file.
Preferably, first address receiving unit, is specifically used for:
Receive the response data that the data server is returned for multi-angle live streaming request;
Stream address array is parsed from the response data, the stream address array includes N number of array element;
The corresponding video stream data address of one of array element is determined as to the video stream data of home court scape angle
N-1 array element is determined as the video stream data address of secondary scene angle by location.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
During due between multi-angle net cast multi-angle live streaming request is sent to data server;Receive data service
N number of video stream data address that device is returned for multi-angle live streaming request, according to N number of video stream data address, from video
Streaming server loads N number of video stream file and plays out, it is achieved thereby that the video pictures of network direct broadcasting are presented in multi-angle simultaneously,
More comprehensively show direct broadcasting room, than an angle single video pictures video effect more preferably.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart of net cast method provided in an embodiment of the present invention;
Fig. 2 is the structure chart of net cast device provided in an embodiment of the present invention.
Specific embodiment
In order to solve existing network live streaming there is technical issues that picture is broadcast live, an embodiment of the present invention provides one kind
Net cast method and device, general thought are as follows:
If the direct broadcasting room being currently entering, between multi-angle net cast, sending multi-angle live streaming to data server please
It asks;N number of video stream data address that data server is returned for multi-angle live streaming request is received, according to N number of video stream data
Address loads N number of video stream file from video stream server and plays out.
Pass through above-mentioned technical proposal more comprehensively shows it is achieved thereby that the video pictures of the network direct broadcasting of multi-angle presentation simultaneously
Direct broadcasting room, than an angle single video pictures video effect more preferably.
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
Refering to what is shown in Fig. 1, an embodiment of the present invention provides a kind of net cast method, applied to network direct broadcasting client,
Refering to what is shown in Fig. 1, net cast method provided in an embodiment of the present invention includes the following steps:
It is straight that if S101, the direct broadcasting room being currently entering send multi-angle between multi-angle net cast, to data server
Broadcast request;
S102, N number of video stream data address that data server is returned for multi-angle live streaming request, N number of video are received
Flow data address is used to characterize the position of N number of video stream file that direct broadcasting room is being broadcast live on video stream server, N number of
Video stream file corresponds to N number of scene angle, and N is the integer more than 1;
S103, according to N number of video stream data address, load N number of video stream file from video stream server and play out.
It should be noted that live streaming client can be specifically the electricity such as smart mobile phone, desktop computer, all-in-one machine or notebook
Sub- equipment, this is not restricted.
In the following, the specific implementation step of the net cast method of network direct broadcasting client is discussed in detail with reference to Fig. 1:
First, S101 is performed:If the direct broadcasting room being currently entering between multi-angle net cast, is sent to data server
Multi-angle live streaming request.
In one embodiment, when network direct broadcasting client enters direct broadcasting room, network direct broadcasting client is from data server
The direct broadcasting room attribute information of direct broadcasting room is obtained, identifies direct broadcasting room attribute information.Specifically, direct broadcasting room attribute information is straight for characterizing
Be between broadcasting between single angle video direct broadcasting room, multi-angle net cast in one kind.
If by identifying direct broadcasting room attribute information, the direct broadcasting room being currently entering is identified between multi-angle net cast,
Then multi-angle live streaming request is sent to data server.
In embodiments of the present invention, multi-angle live streaming request be specially:" isAngle=is added in request parameters field
The HTTP request of true " parameters, " isAngle=true " characterization are needed to data server requests video stream data address.
Specifically, according to the swf_api interfaces of data server offer, (swf_api interfaces carry between multi-angle net cast
For video stream data address), HTTP request is initiated from flash player to data server, asks swf_api interfaces.
Network direct broadcasting client to data server send multi-angle live streaming request so that data server receive it is polygonal
During degree live streaming request, " isAngle=true " parameter in multi-angle live streaming request is recognized, and returns to video stream data address
The stream address array of composition, wherein, the element flowed in the array of address is corresponded with video stream data address.It flows in the array of address
Including N number of element, N number of element corresponds to N number of video stream data address.
If by identifying direct broadcasting room attribute information, if identifying that the direct broadcasting room being currently entering is that single angle video is broadcast live
Between, send single angle live streaming request to data server.Single angle live streaming is asked:It is added in request parameters field "
The HTTP request of isAngle=false " parameters, " isAngle=false " characterization needs regard for one to data server requests
Frequency flow data address, i.e.,:Single video stream data address.
Network direct broadcasting client sends single angle live streaming request to data server, so that data server receives single angle
During degree live streaming request, " isAngle=true " parameter in single angle live streaming request is recognized, and returns to single video stream data
Address.
Receive the single video stream data address for single angle live streaming request that data server returns, single video flowing
Data address is used to characterize the position of single video stream file that direct broadcasting room is being broadcast live on video stream server;With regarding
Frequency streaming server establishes connection;According to single video stream data address, single video stream file is loaded from video stream server.
After S101, S102 is then performed:Receive N number of video that data server is returned for multi-angle live streaming request
Flow data address, N number of video stream data address are used to characterize N number of video stream file that direct broadcasting room is being broadcast live in video flowing
Position on server, N number of video stream file correspond to N number of scene angle, and N is the integer more than 1.
Specifically, in one embodiment, after N number of video stream data address is received, major and minor home court scape angle is set
Video stream data address.Implementing flow is:Receive the response data that data server is returned for multi-angle live streaming request;
Stream address array is parsed from response data, stream address array includes N number of array element;By one of array element pair
The video stream data address answered is determined as the video stream data address of home court scape angle, and N-1 array element is determined as pair
The video stream data address of scene angle.
In other embodiments, the video stream data address of major and minor home court scape angle can also be defined by main broadcaster's client.
S103, according to N number of video stream data address, load N number of video stream file from video stream server and play out.
The N number of video stream data in one embodiment, returned in reception data server for multi-angle live streaming request
After location, the volume for setting N-1 video stream file in N number of video stream file is zero, keeps the sound of a video stream file
Magnitude is more than zero.
, can be while N number of video stream file be loaded from video stream server in specific implementation process, setting is N number of
The volume of N-1 video stream file in video stream file is zero.
Include main video stream file and secondary video stream file for N number of video stream file, provide a specific embodiment:From
Main video stream file is determined in N number of video stream file;The volume value or the main video flowing of adjusting for keeping main video stream file current
The volume value of file is extremely more than default volume value, wherein, it presets volume value and is more than zero;Again by the volume of secondary video stream file from work as
Preceding volume value is adjusted to zero.
It should be noted that it in embodiments of the present invention, presets volume value and is more than zero.For example, N=2 is right by one
The main video stream file of home court scape angle and the secondary video stream file composition of a corresponding secondary scene angle are answered, then by secondary video flowing
The volume value of file is adjusted to zero, keeps main video stream file for current volume value or adjusts the volume of main video stream file
Value is more than default volume value.
For example, N=3, by the main video stream file of a corresponding home court scape angle, a corresponding left secondary scene angle
Secondary video stream file, the secondary video stream file of the right secondary scene angle of a correspondence.By the volume value of two secondary video stream files
Zero is adjusted to, keep main video stream file as current volume value or adjusts the volume value of main video stream file more than default sound
Magnitude.
In specific implementation process, major and minor video flowing can be adjusted by setting NetStream.soundTransform
The volume value of file.
In one embodiment, the specific implementation flow played out from the N number of video stream file of video stream server loading,
Include the following steps:
Step 1:It establishes and connects with video stream server, and create N number of flow object;
Step 2:It is corresponded to by N number of flow object from video stream server and receives N number of video stream file;
Step 3:The N number of video stream file received correspondence is attached in N number of the video object;N number of the video object is added
Same display container is added to, to play N number of video stream file in container is shown.
In embodiments of the present invention, network direct broadcasting client needs to combine video stream data address and stream protocol from video flowing
Server loads N number of video stream file and plays out.Wherein, stream protocol can use http (HyperText Transfer
Protocol, hypertext transfer protocol) agreement, can also use rtmp (Real Time Messaging Protocol, in real time
Messaging protocol) agreement.
It should be noted that video stream data address is made of the address and live streaming code (liveid) of video stream server,
The address of video stream server is URL (Uniform Resource Locator, uniform resource locator).
If stream protocol is http agreements, when network direct broadcasting client enters direct broadcasting room, network direct broadcasting client creates
Connecting object (NetConnection), then, network direct broadcasting client is by calling NetConnection objects, according to video
The address of streaming server is established with video stream server and is connected, and the realization method for establishing connection is connect (url).In network
Client is broadcast live and after video stream server successful connection, network direct broadcasting client is created respectively for N number of video stream data address
Flow object (netStream) and the video object (video) are built, i.e.,:Create N number of netStream objects and N number of video objects.It connects
It, network direct broadcasting client creates N number of video flowing, and same by calling N number of netStream objects, for N number of video stream file
When call play (liveid) methods of N number of netStream objects, receive N number of video stream file, then network direct broadcasting client
End by N number of netStream objects one-to-one correspondence be attached on video objects so that N number of video stream file correspondence be attached to it is N number of
N number of video objects are added in same display container (NetConnection), to be played in container is shown by the video object
N number of video stream file, so as to show the video pictures of N number of angle on flash broadcast interfaces.
Specifically, it in the present embodiment, needs to add the event handling function of network connection, sentence in event handling function
Circuit network connection status.It should be noted that the successful state of network connection is:
NetConnection.Connect.Success。
If stream protocol is rtmp agreements, when network direct broadcasting client enters direct broadcasting room, network direct broadcasting client creates
NetConnection objects call NetConnection objects to establish sky with video stream server and connect, and create N number of
NetStream objects and N number of video objects, network direct broadcasting client is by the address (URL) of video stream server and code is broadcast live
(liveid) composition is spliced into a full address and is:liveurl.Then, network direct broadcasting client is called N number of simultaneously
Play (liveurl) method of netStream objects, the live streaming that broadcasting current network live streaming client is currently located direct broadcasting room regard
Frequently.It should be noted that a netStream object corresponds to play (liveurl) method.Then network direct broadcasting client
N number of netStream objects one-to-one correspondence is attached to N number of video objects, N number of video objects are added to same display container
(NetConnection) in, to play N number of video stream file in same display container, so as to show that the video of N number of angle is drawn
Face is on flash broadcast interfaces.
The playing process of live video can generate various state events (statusEvent), and each state event is added
It is presented into corresponding video objects.In the present invention implements embodiment, NetConnection objects and NetStream objects
Holding always exists.
Specifically, the specific implementation that N number of video stream file is played in container is shown includes:By N number of the video object
Carry out level-superposed;N number of video stream file is showed based on N number of the video object correspondence after superposition.Thus by N number of video stream file
It is presented as the effect of picture-in-picture.
In further technical solution, in container is shown playing N number of video stream file further includes:Set N number of video
At least one of the length of object, width, coordinate layouts parameter, so as to which more preferably viewing experience sense be presented.
Based on same inventive concept, an embodiment of the present invention provides a kind of net cast device, applied to network direct broadcasting visitor
Family end, refering to what is shown in Fig. 2, the net cast device includes:
First request transmitting unit 201, if for the direct broadcasting room that is currently entering between multi-angle net cast, to data
Server sends multi-angle live streaming request;
First address receiving unit 202 returns for receiving the data server for multi-angle live streaming request
N number of video stream data address, N number of video stream data address for characterize the direct broadcasting room be broadcast live it is N number of
Position of the video stream file on video stream server, N number of video stream file correspond to N number of scene angle, and N is the integer more than 1;
First loading unit 203, for according to N number of video stream data address, N to be loaded from the video stream server
A video stream file plays out.
Preferably, described device further includes:
Volume setting unit, the volume for setting N-1 video stream file in N number of video stream file is zero.
Preferably, if N number of video stream file includes main video stream file and secondary video stream file, the volume setting is single
Member, including:
Determination unit, for determining main video stream file from N number of video stream file;
Master volume adjusts unit, for the volume value for keeping the main video stream file current or adjusts main video flowing
The volume value of file is more than default volume value, and the default volume value is more than zero;
Secondary volume zero setting unit, for being adjusted the volume of the secondary video stream file to zero from current volume value.
Preferably, described device further includes:
Attribute information acquiring unit, for when entering the direct broadcasting room, the live streaming to be obtained from the data server
Between direct broadcasting room attribute information, the direct broadcasting room attribute information for characterizing the direct broadcasting room is single angle video direct broadcasting room, more
One kind in angle video direct broadcasting room;
Information identificating unit, for identifying the direct broadcasting room attribute information.
Preferably, described device further includes:
Second request transmitting unit, if for identifying that the direct broadcasting room is single angle video direct broadcasting room, to the number
Single angle live streaming request is sent according to server;
Request is broadcast live for receiving the single angle that is directed to that the data server returns in second address receiving unit
Single video stream data address, the main video stream data address are used to characterizing that the direct broadcasting room to be broadcast live single regards
Position of the frequency stream file on video stream server;
Connection unit connects for being established with the video stream server;
Second loading unit, for according to the single video stream data address, institute to be loaded from the video stream server
State single video stream file.
Preferably, first loading unit 203, including:
Connection subelement is established, is connected for being established with the video stream server, and create N number of flow object;
Video stream file receiving unit corresponds to reception institute for passing through N number of flow object from the video stream server
State N number of video stream file;
Additional subelement, for the N number of video stream file correspondence received to be attached in N number of the video object;
The video object adding device, for N number of the video object to be added to same display container, in the display
N number of video stream file is played in container.
Preferably, the video object addition subelement, is specifically used for:
N number of the video object is subjected to level-superposed;
N number of the video object after superposition is added to the display container, it is corresponding to play N number of video stream file.
Preferably, first address receiving unit 202, is specifically used for:
Receive the response data that the data server is returned for multi-angle live streaming request;
Stream address array is parsed from the response data, the stream address array includes N number of array element;
The corresponding video stream data address of one of array element is determined as to the video stream data of home court scape angle
N-1 array element is determined as the video stream data address of secondary scene angle by location.
Since the embodiment of the present invention introduces device, to implement net cast embodiment of the method for the present invention used by fill
It puts, so based on the method that net cast embodiment of the method for the present invention is introduced, the affiliated personnel in this field can understand the device
Concrete structure and deformation, so details are not described herein.Device is all used by every net cast embodiment of the method for the present invention
Belong to the range of the invention to be protected.
By the one or more technical solutions provided in the embodiments of the present invention, at least have the following technical effect that or
Advantage:
During due between multi-angle net cast multi-angle live streaming request is sent to data server;Receive the data
N number of video stream data address that server is returned for multi-angle live streaming request, according to N number of video stream data
Location loads N number of video stream file from the video stream server and plays out, it is achieved thereby that multi-angle presentation simultaneously regards
Frequency live streaming picture, more comprehensively show direct broadcasting room, than an angle single video pictures video effect more preferably.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.According to each description above, construct this kind of system and want
The structure asked is obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize each
Kind programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this
The preferred forms of invention.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize that intelligent camera system according to embodiments of the present invention and network are taken the photograph
As some or all functions of some or all components in head.The present invention is also implemented as being retouched here for performing
The some or all equipment or system program (such as computer program and computer program product) for the method stated.In this way
Realization the present invention program can may be stored on the computer-readable medium or can have one or more signal shape
Formula.Such signal can be downloaded from internet website to be obtained either providing or with any other shape on carrier signal
Formula provides.
It should be noted that the present invention will be described rather than limits the invention for the various embodiments described above, and
Those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In claim
In, any reference mark between bracket should not be configured to limitations on claims.Word "comprising" is not excluded for
There are elements or steps not listed in the claims.Word "a" or "an" before element does not exclude the presence of more
A such element.The present invention can be by means of including the hardware of several different elements and by means of properly programmed calculating
Machine is realized.If in the unit claim for listing dry systems, several in these systems can be by same
Hardware branch embodies.The use of word first, second and third etc. does not indicate that any sequence.These words can be explained
For title.
Claims (10)
- A kind of 1. net cast method, which is characterized in that the net cast method includes:If the direct broadcasting room being currently entering sends multi-angle live streaming request between multi-angle net cast, to data server;N number of video stream data address that the data server is returned for multi-angle live streaming request is received, it is described N number of to regard Frequency flow data address is used to characterize the position of N number of video stream file that the direct broadcasting room is being broadcast live on video stream server It puts, N number of video stream file corresponds to N number of scene angle, and N is the integer more than 1;According to N number of video stream data address, load N number of video stream file from the video stream server and broadcast It puts.
- 2. net cast method as described in claim 1, which is characterized in that receive the data server for institute described After stating N number of video stream data address that multi-angle live streaming request returns, the method further includes:The volume for setting N-1 video stream file in N number of video stream file is zero.
- 3. net cast method as described in claim 1, which is characterized in that if N number of video stream file includes main view Frequency stream file and secondary video stream file, the volume of N-1 video stream file in setting N number of video stream file are Zero, including:Main video stream file is determined from N number of video stream file;The volume value or the volume value of the adjusting main video stream file for keeping the main video stream file current are to more than pre- If volume value, wherein, the default volume value is more than zero;The volume of the secondary video stream file is adjusted from current volume value to zero.
- 4. net cast method as described in claim 1, which is characterized in that described straight to data server transmission multi-angle Before broadcasting request, the method further includes:When entering the direct broadcasting room, the direct broadcasting room attribute information of the direct broadcasting room is obtained from the data server, it is described straight Broadcast one kind during an attribute information is used to characterize the direct broadcasting room between single angle video direct broadcasting room, multi-angle net cast;Identify the direct broadcasting room attribute information.
- 5. net cast method as claimed in claim 4, which is characterized in that the identification direct broadcasting room attribute information it Afterwards, the method further includes:If it is single angle video direct broadcasting room to identify the direct broadcasting room, sending single angle live streaming to the data server please It asks;Receive the single video stream data address for single angle live streaming request that the data server returns, the list A video stream data address takes for characterizing the single video stream file that the direct broadcasting room is being broadcast live in the video flowing The position being engaged on device;It establishes and connects with the video stream server;According to the single video stream data address, the single video stream file is loaded from the video stream server.
- 6. net cast method as described in claim 1, which is characterized in that described from described in video stream server loading N number of video stream file plays out, including:It establishes and connects with the video stream server, and create N number of flow object;It is corresponded to by N number of flow object from the video stream server and receives N number of video stream file;The N number of video stream file correspondence received is attached in N number of the video object;N number of the video object is added to same display container, to play N number of video flowing text in the display container Part.
- 7. net cast method as claimed in claim 6, which is characterized in that described to be added to N number of the video object together One display container, to play N number of video stream file in the display container, including:N number of the video object is subjected to level-superposed;N number of the video object after superposition is added to the display container, it is corresponding to play N number of video stream file.
- 8. net cast method as described in claim 1, which is characterized in that described to receive the data server for described N number of video stream data address that multi-angle live streaming request returns, including:Receive the response data that the data server is returned for multi-angle live streaming request;Stream address array is parsed from the response data, the stream address array includes N number of array element;The corresponding video stream data address of one of array element is determined as to the video stream data address of home court scape angle, it will N-1 array element is determined as the video stream data address of secondary scene angle.
- 9. a kind of net cast device, which is characterized in that the net cast device includes:First request transmitting unit, if for the direct broadcasting room that is currently entering between multi-angle net cast, to data server Send multi-angle live streaming request;First address receiving unit, for receiving N number of regarding of the data server for multi-angle live streaming request return Frequency flow data address, N number of video stream data address are used to characterize N number of video flowing text that the direct broadcasting room is being broadcast live Position of the part on video stream server, N number of video stream file correspond to N number of scene angle, and N is the integer more than 1;First loading unit, for according to N number of video stream data address, being loaded from the video stream server described N number of Video stream file plays out.
- 10. net cast device as claimed in claim 9, which is characterized in that described device further includes:Volume setting unit, the volume for setting N-1 video stream file in N number of video stream file is zero.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611262635.4A CN108271033B (en) | 2016-12-30 | 2016-12-30 | Video live broadcast method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611262635.4A CN108271033B (en) | 2016-12-30 | 2016-12-30 | Video live broadcast method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108271033A true CN108271033A (en) | 2018-07-10 |
CN108271033B CN108271033B (en) | 2021-01-01 |
Family
ID=62755172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611262635.4A Active CN108271033B (en) | 2016-12-30 | 2016-12-30 | Video live broadcast method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108271033B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064972A (en) * | 2019-11-28 | 2020-04-24 | 湖北工业大学 | Live video control method based on IPV9 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917568A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Streaming media technology-based network video player and playing system |
CN101938628A (en) * | 2009-06-29 | 2011-01-05 | 未序网络科技(上海)有限公司 | Internet live broadcast signal dynamic switching method |
CN104506781A (en) * | 2015-01-05 | 2015-04-08 | 北京塞宾科技有限公司 | Multi-directional audio signal acquisition method and device for on-line teaching |
CN105828091A (en) * | 2016-03-28 | 2016-08-03 | 广州华多网络科技有限公司 | Method and system for video program playing in network broadcast |
CN105915996A (en) * | 2015-12-15 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Multipath stream media playing method and equipment |
CN106254916A (en) * | 2016-08-09 | 2016-12-21 | 乐视控股(北京)有限公司 | Live play method and device |
-
2016
- 2016-12-30 CN CN201611262635.4A patent/CN108271033B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938628A (en) * | 2009-06-29 | 2011-01-05 | 未序网络科技(上海)有限公司 | Internet live broadcast signal dynamic switching method |
CN101917568A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Streaming media technology-based network video player and playing system |
CN104506781A (en) * | 2015-01-05 | 2015-04-08 | 北京塞宾科技有限公司 | Multi-directional audio signal acquisition method and device for on-line teaching |
CN105915996A (en) * | 2015-12-15 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Multipath stream media playing method and equipment |
CN105828091A (en) * | 2016-03-28 | 2016-08-03 | 广州华多网络科技有限公司 | Method and system for video program playing in network broadcast |
CN106254916A (en) * | 2016-08-09 | 2016-12-21 | 乐视控股(北京)有限公司 | Live play method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064972A (en) * | 2019-11-28 | 2020-04-24 | 湖北工业大学 | Live video control method based on IPV9 |
Also Published As
Publication number | Publication date |
---|---|
CN108271033B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566786B (en) | Method and device for acquiring monitoring video and terminal equipment | |
JP6700344B2 (en) | Information exchange method, device, audio terminal, computer-readable storage medium and program | |
CN108206934A (en) | A kind of monitor video sharing method and device | |
CN106303657A (en) | A kind of even method that wheat is live and main broadcaster's end equipment | |
US20170171638A1 (en) | Method and Terminal for Video Play | |
CN103685547A (en) | Download server dispatching method, download server dispatching system and terminal device | |
CN104602098A (en) | Video barrage display method and equipment thereof | |
CN103533460A (en) | Method, device, terminal and system for sharing television service | |
CN104022945B (en) | Method and device for realizing instant communication in client end | |
CN108206958A (en) | A kind of method for obtaining video recording resource and association turn server | |
CN109151514A (en) | Method, storage medium, equipment and the system of purchase commodity are realized in direct broadcasting room | |
CN104410660A (en) | Method and device of downloading multimedia resources as well as router and server | |
CN105163193A (en) | Method and device for comment information sharing of video-on-demand played by smart television | |
US20170171571A1 (en) | Push Video Documentation Methods and Appliances | |
CN104902295A (en) | Intelligent TV business realization method, terminal device and system | |
CN105100906A (en) | Play control method and play control device | |
CN103702235A (en) | Data processing method and system for content delivery network | |
CN108055577A (en) | A kind of live streaming exchange method, system, device and electronic equipment | |
CN108810600A (en) | A kind of switching method of video scene, client and server | |
US20150026746A1 (en) | Method and IPTV Server for Enabling Playout of One or More Media Objects | |
CN104036042A (en) | information delivery method, device and system | |
CN103442288A (en) | Method, device and system for processing of trans-equipment data contents | |
CN113542904B (en) | Video projection playing method and device, electronic equipment and storage medium | |
EP3160101B1 (en) | Multi-media resource management method, cloud server and electronic device | |
CN114040232A (en) | Screen projection system, method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |