Specific implementation mode
To facilitate the understanding of the present invention, below with reference to relevant drawings to invention is more fully described.In attached drawing
Give the preferred embodiment of the present invention.But the present invention can realize in many different forms, however it is not limited to this paper institutes
The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
When traditional live streaming equipment is broadcast live plug-flow, the mode of generally use manual operation fills in live streaming plug-flow address.
For example, when user fills in live streaming plug-flow address by the way of manual operation, needs to first pass through computer or mobile terminal is opened directly
It broadcasts, and after getting live streaming plug-flow address, by filling in the live streaming plug-flow address got manually.Due to live streaming plug-flow address
Complexity is susceptible to live streaming plug-flow address and fills in mistake.With the extensive use of Quick Response Code, also there is part live streaming coding at present
The live streaming plug-flow address got is generated two codes by equipment, then fills in live streaming plug-flow address by scanning the two-dimensional code.But it is same
Sample needs user to open live streaming by the operation of a series of complex by computer or mobile terminal, and with getting live streaming plug-flow
Location, then be arranged encoding device to live streaming carry out plug-flow could complete to be broadcast live, ease for use is poor, complicated for operation.
And in the live broadcasting method of various embodiments of the present invention, user, which need to only input, logins account and password, automatic by backstage
Identification and operation webpage, you can realize automatic acquisition live streaming plug-flow address, and after getting live streaming plug-flow address, it is automatic to be arranged
Give live streaming flow pulling equipment.It establishes live streaming flow pulling equipment and is connect with the live streaming that platform is broadcast live, realize the real-time live broadcast of video, Jin Erjian
The operation that current live streaming encoding device opens net cast is changed, has improved user experience and access live streaming platform realizes video
The efficiency of real-time live broadcast.
Live broadcasting method provided by the present application can be applied in application environment as shown in Figure 1, wherein processor 102 is logical
Network is crossed to be communicated by network with live streaming encoding device 104.Wherein, processor 102 can be utilized for signal processing and letter
Number transmission etc., live streaming encoding device 104 can be used to signal transmit to processor progress coded treatment.
In one embodiment, as shown in Fig. 2, providing a kind of live broadcasting method, in this way applied to the processing in Fig. 1
It illustrates, includes the following steps for device 102:
Step S210 obtains user and logins request, inquires the live state of platform to be broadcast live.
Wherein, user logins request and refers to that user logins the logging request of platform to be broadcast live.User logins request and can wrap
Include subscriber authentication information.Platform to be broadcast live refers to that user selects the live streaming platform logged in.Platform to be broadcast live can be net
Platform is broadcast live in network.Live state refers to the current operating conditions of platform to be broadcast live.Live state may include that open state is broadcast live
With live streaming closed state.
Specifically, user selects after platform is broadcast live, and account and password are logined to platform to be broadcast live input live streaming.Processor
It obtains user and logins request, request is logined according to the user got, the corresponding user of inquiry logins the platform to be broadcast live of request
Live state.
Step S220 is confirming when it is open state that the live state of platform, which is broadcast live, is obtaining corresponding platform to be broadcast live
Plug-flow address is broadcast live, and live streaming plug-flow address is transferred to live streaming encoding device;Live streaming plug-flow address is used to indicate live streaming coding
The corresponding transport protocol foundation of equipment calls is connect with the live streaming of platform to be broadcast live.
Wherein, the connection that live streaming plug-flow address can be used for establishing live streaming client and being broadcast live between encoding device, and realize
The communication that client is broadcast live and is broadcast live between encoding device.Plug-flow refers to that live streaming client pushes the signal stream locally acquired
To the process of server.Transport protocol refers to establishing live streaming client and the agreement connected between encoding device is broadcast live.Wherein,
Live streaming client is the client of corresponding platform to be broadcast live.
Specifically, processor confirms when it is open state that the live state of platform, which is broadcast live, obtains corresponding platform to be broadcast live
Live streaming plug-flow address, and the live streaming plug-flow address got is transferred to live streaming encoding device so that live streaming encoding device tune
It is established with corresponding transport protocol and is connect with the live streaming of equipment to be broadcast live, realize the real-time live broadcast to live streaming platform.Optionally, lead to
It crosses processor and obtains live streaming plug-flow address, and be arranged after encoding device is broadcast live, it can be achieved that the real-time video to live streaming platform is straight
It broadcasts, can also realize the real-time voice live streaming to live streaming platform.
In a specific embodiment, as shown in figure 3, being wrapped after the step of inquiring the live state of platform to be broadcast live
It includes:
Step S310 logins request according to user, and in the direct broadcasting room page of platform to be broadcast live, inquiry is corresponding to wait for that live streaming is flat
The live streaming label value of platform.
Wherein, the direct broadcasting room page refers to the webpage of corresponding direct broadcasting room address.Live streaming label value refers to corresponding direct broadcasting room
The label value of address.Preferably, a platform to be broadcast live corresponds to a direct broadcasting room address;Different platforms to be broadcast live is corresponding straight
Broadcast an address difference.One platform to be broadcast live corresponds to a live streaming label value;The corresponding live streaming label of different platforms to be broadcast live
Value is different.
Specifically, user selects after platform is broadcast live, and account and password are logined to platform to be broadcast live input live streaming.Processor
When the user got logins request, request is logined in the direct broadcasting room page of corresponding platform to be broadcast live according to user, inquiry pair
Should platform be broadcast live live streaming label value.
Step S320 obtains the direct broadcasting room address of corresponding live streaming label value according to the live streaming label value inquired.
Wherein, direct broadcasting room address is referred in the address that platform to be broadcast live is broadcast live.
Specifically, processor obtains the direct broadcasting room address of the corresponding live streaming label value according to the live streaming label value inquired.
Preferably, by the live streaming label value of automatic search query platform to be broadcast live, the live streaming for treating live streaming platform is realized
Between address acquisition, and can be in Auto-writing to the text box of direct broadcasting room address, and then can be to the direct broadcasting room address in text box
Shared.For example, by platform to be broadcast live share button can carry out microblogging, wechat, it is short breath, a kind of QQ (instant messagings
Software) etc. share.
Further, live streaming plug-flow address be correspondence platform to be broadcast live URL (Uniform Resource Locator,
Uniform resource locator) address.The addresses URL refer to the character string for description information resource.One kind being used using the addresses URL
Unified format describes various information resources, including file, server address and catalogue etc..
Specifically, after user logins account and password, automatic identification and operation webpage on backstage realize that automatically unlatching is straight
It broadcasts, the addresses URL of corresponding live streaming plug-flow address is obtained by processor, and the addresses URL got are transferred to live streaming plug-flow
Equipment, live streaming flow pulling equipment are established the connection with platform to be broadcast live by the URL call by location transport protocols, realize the reality of video
When be broadcast live.
It should be noted that each file on internet is there are one unique addresses URL, that is, platform to be broadcast live
It is unique that the corresponding addresses URL in plug-flow address, which are broadcast live,.
Further, transport protocol can be RTMP agreements (Real Time Messaging Protocol, real-time messages
Transport protocol).Transport protocol can also be HLS protocol (HTTP Live Streaming, dynamic code rate adaptive technique).
Specifically, when transport protocol is RTMP agreements, processor will be obtained by the communication module of corresponding RTMP agreements
To live streaming plug-flow address be transferred to live streaming encoding device, by RTMP protocol realizations be broadcast live encoding device and platform to be broadcast live it
Between connection.When transport protocol is HLS protocol, the live streaming that will be got processor by the communication module of corresponding HLS protocol
Plug-flow address is transferred to live streaming encoding device, and the connection between live streaming encoding device and platform to be broadcast live is realized by HLS protocol.
Based on the present embodiment, request is logined according to the user got, inquires the live state of platform to be broadcast live;Confirmation waits for
When the live state that platform is broadcast live is open state, the live streaming plug-flow address of corresponding platform to be broadcast live is obtained, and plug-flow will be broadcast live
Address is transferred to live streaming encoding device so that live streaming encoding device is established according to the corresponding transport protocol of live streaming plug-flow call by location
It is connect with the live streaming of platform to be broadcast live.Specifically, after user logins account and password, automatic identification and operation webpage on backstage,
It realizes and automatically opens live streaming, and obtain live streaming plug-flow address.And the live streaming plug-flow address got is transferred to live streaming plug-flow
Equipment, live streaming flow pulling equipment establish the connection with platform to be broadcast live by the live streaming plug-flow call by location transport protocol, and realization regards
The real-time live broadcast of frequency.The operation that current live streaming encoding device opens net cast is simplified, it is real to improve access live streaming platform
The efficiency of existing video real-time live broadcast.
In one embodiment, as shown in figure 4, providing a kind of live broadcasting method, in this way applied to the processing in Fig. 1
It illustrates, includes the following steps for device 102:
Step S410 obtains user and logins request, inquires the live state of platform to be broadcast live.
Step S420 is confirming when it is open state that the live state of platform, which is broadcast live, is obtaining corresponding platform to be broadcast live
Plug-flow address is broadcast live.
Step S430, the legality message of verification live streaming plug-flow address;Legality message includes arbitrary in following information
A kind of or arbitrary combination:Address header check field, address tail check field and address character string length.
Live streaming plug-flow address is transferred to live streaming encoding device by step S440 when check results are legal.
Wherein, the particular content process of above-mentioned steps S410 and step S420 can refer to content above, and details are not described herein again.
Specifically, the legality message of live streaming plug-flow address refer to address check field and string length whether
Meet preset standard value.Processor is getting correspondence when the live streaming plug-flow address of platform is broadcast live, to live streaming plug-flow address
Legality message is verified.Processor is transferred to live streaming encoding device when check results are legal, by live streaming plug-flow address.
For example, preset address header check field is " 0010 ", preset address tail check field is " 0001 ", preset address
String length is 16.Processor is corresponding to the address header check field of the addresses URL of live streaming plug-flow address with preset
When the head check field matching of location, when the address tail check field of the addresses URL is matched with preset address tail check field, the addresses URL
Address character string length when being matched with preset address string length, be determined as that check results are legal, then plug-flow be broadcast live
Address is transferred to live streaming encoding device.
Based on the present embodiment, by carrying out legitimacy verifies to the live streaming plug-flow address got, reduces and get
The error rate of plug-flow address is broadcast live.User's operation is simplified, the efficiency of access live streaming platform is improved.
In one embodiment, as shown in figure 5, providing a kind of live broadcasting method, in this way applied to the processing in Fig. 1
It illustrates, includes the following steps for device 102:
The corresponding assignment of live streaming button in the setting page is opened in step S510, the live streaming for inquiring platform to be broadcast live.
Wherein, the unlatching setting webpage that the setting page refers to corresponding platform to be broadcast live is opened in live streaming.Button is broadcast live to correspond to
Assignment can be used to indicate live streaming be turned on and off state.Assignment can open the data of live streaming, can also be to close directly
Broadcast the data of closing.
Specifically, user selects after platform is broadcast live, and account and password are logined to platform to be broadcast live input live streaming.Processor
When the user got logins request, request is logined according to the user got, is set in the live streaming unlatching of corresponding platform to be broadcast live
Set in the page, obtain the corresponding assignment of live streaming button of platform to be broadcast live.
Step S520 confirms that the live state of platform to be broadcast live is open state when being assigned a value of opening live streaming threshold value,
Obtain live streaming plug-flow address.
Wherein, it opens live streaming threshold value and refers to that wait platform is broadcast live be the threshold value opened when being broadcast live.
Specifically, the assignment got is compared processor with live streaming threshold value is opened, if being assigned a value of opening live streaming
Threshold value then confirms that the live state of platform to be broadcast live is open state, and with obtaining the live streaming plug-flow of corresponding platform to be broadcast live
Location.The live streaming plug-flow address got is transferred to live streaming flow pulling equipment by processor, and live streaming flow pulling equipment passes through the live streaming plug-flow
Call by location transport protocol establishes the connection with platform to be broadcast live, and realizes the real-time live broadcast of video.
Preferably, the corresponding assignment of button is broadcast live by matching algorithm processor in processor, is being assigned a value of opening live streaming door
When limit value, confirm that the live state of platform to be broadcast live is open state, and obtain the live streaming plug-flow address of corresponding platform to be broadcast live.
Assignment is updated to open live streaming threshold value, confirmation waits for straight by step S530 when being assigned a value of closing live streaming threshold value
The live state for broadcasting platform is open state, obtains live streaming plug-flow address.
Wherein, it closes live streaming threshold value and refers to that wait platform is broadcast live be the threshold value closed when being broadcast live.
Specifically, the assignment got is compared processor with threshold value is closed, if being assigned a value of closing live streaming thresholding
Value then confirms that the live state of platform to be broadcast live is open state, and obtains the live streaming plug-flow address of corresponding platform to be broadcast live.Place
The live streaming plug-flow address got is transferred to live streaming flow pulling equipment by reason device, and live streaming flow pulling equipment passes through the live streaming plug-flow address tune
The connection with platform to be broadcast live is established with transport protocol, realizes the real-time live broadcast of video.
Preferably, the corresponding assignment of button is broadcast live by matching algorithm processor in processor, is being assigned a value of closing live streaming door
When limit value, confirm that the live state of platform to be broadcast live is open state, and obtain the live streaming plug-flow address of corresponding platform to be broadcast live.
Based on the present embodiment, after user logins account and password, on backstage, automatic identification and operation webpage, are realized automatic
Open live streaming.It is full in assignment by obtaining the corresponding assignment of live streaming button of platform to be broadcast live in opening the setting page in live streaming
When foot live streaming unlocking condition, live streaming plug-flow address is obtained.Webpage is operated by computer or mobile terminal without user and opens live streaming,
And complicated live streaming plug-flow address is filled in without user, you can realize and automatically turn on live streaming, and obtain live streaming plug-flow address.Simplify
Current live streaming encoding device opens the operation of net cast, improves the effect that access live streaming platform realizes video real-time live broadcast
Rate.
In one embodiment, as shown in fig. 6, providing a kind of live broadcasting method, in this way applied to the processing in Fig. 1
It illustrates, includes the following steps for device 102:
Step S610 jumps to live streaming according to default network address and opens the setting page when logining identity information and being proved to be successful.
Step S620 logins request according to user, inquires in the live streaming unlatching setting page of platform to be broadcast live and button is broadcast live
Corresponding assignment.
Step S630 confirms that the live state of platform to be broadcast live is open state when being assigned a value of opening live streaming threshold value,
Obtain live streaming plug-flow address.
Assignment is updated to open live streaming threshold value, confirmation waits for straight by step S640 when being assigned a value of closing live streaming threshold value
The live state for broadcasting platform is open state, obtains live streaming plug-flow address.
Wherein, the particular content process of above-mentioned steps S620, step S630 and step S640 can refer to content above, herein
It repeats no more.
Specifically, user logins request and may include logining identity information.Default network address refers in platform to be broadcast live, corresponding
The network address of the setting page is opened in live streaming.User selects after platform is broadcast live, and account and close is logined to platform to be broadcast live input live streaming
Code.Processor logins request according to user is got, and obtains the identity information of logining that user logins request, and to logining identity letter
Breath is verified.Processor jumps to live streaming when identity information success is logined in verification, according to default network address and opens the setting page.
Processor obtains the corresponding assignment of live streaming button of platform to be broadcast live in the setting page is opened in the live streaming, and is opened in assignment satisfaction
When opening live streaming condition, the live streaming plug-flow address of corresponding platform to be broadcast live is obtained.Automatic opening live streaming is realized, and automatic obtain is waited for
The live streaming plug-flow address of platform is broadcast live.
In a specific embodiment, user selects after platform is broadcast live, and the application program of processor operation can pass through
It calls webview components and javascript technologies to automatic jump to and login the page, after user inputs username and password, clicks
It logins.Processor detects whether to login success automatically, when detect login successfully after, jumped automatically according to the network address of setting
Turn, and timing detects whether to redirect success.When processor jumps to live streaming and opens the setting page, automatic search live streaming button is assigned
Value.If live streaming button assignment is the corresponding data for opening live streaming, live streaming plug-flow address is obtained;If it is to close that button assignment, which is broadcast live,
The data of live streaming then automatically turn on live streaming button, and obtain live streaming plug-flow address after opening live streaming button.
It should be noted that webview (network view) component can be used to load the page of platform to be broadcast live.
Javascript (literal translation formula script) is the script on foreground, by calling javascript to operate webview components,
That realizes live streaming platform logins being loaded in platform for the page.
Based on the present embodiment, webpage is operated by computer or mobile terminal without user and opens live streaming, and is filled out without user
Write complicated live streaming plug-flow address, you can realize and automatically turn on live streaming, and obtain live streaming plug-flow address.User's operation is simplified,
Improve the efficiency of access live streaming platform.
It should be understood that although each step in the flow chart of Fig. 2 to Fig. 6 is shown successively according to the instruction of arrow,
But these steps are not the inevitable sequence indicated according to arrow to be executed successively.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 to Fig. 6
At least part step may include that either these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be carry out successively, but can with other steps either the sub-step of other steps or at least part in stage in turn or
Alternately execute.
In one embodiment, as shown in fig. 7, providing a kind of live broadcast device, which includes:
Live state detection unit 710 logins request for obtaining user, inquires the live state of platform to be broadcast live.
Plug-flow address acquisition unit 720 is broadcast live, for confirming when it is open state that the live state of platform, which is broadcast live, obtains
The live streaming plug-flow address of corresponding platform to be broadcast live is taken, and live streaming plug-flow address is transferred to live streaming encoding device;Plug-flow is broadcast live
Location is used to indicate live streaming encoding device and corresponding transport protocol foundation is called to be connect with the live streaming of platform to be broadcast live.
Further, live streaming plug-flow address acquisition unit 720 further includes:
Address legitimacy verifies unit, the legality message for verifying live streaming plug-flow address;Legality message include with
Any one in lower information or arbitrary combination:Address header check field, address tail check field and address character string length;
Checking treatment unit, for when check results are legal, live streaming plug-flow address to be transferred to live streaming encoding device.
Further, live state detection unit 710 further includes:
The corresponding tax of live streaming button in the setting page is opened in assignment acquiring unit, the live streaming for inquiring platform to be broadcast live
Value.
In a specific embodiment, live broadcast device further includes:
First assignment processing unit, for when being assigned a value of opening live streaming threshold value, confirming the live streaming shape of platform to be broadcast live
State is open state, obtains live streaming plug-flow address;
Second assignment processing unit opens live streaming door for when being assigned a value of closing live streaming threshold value, assignment to be updated to
Limit value confirms that the live state of platform to be broadcast live is open state, obtains live streaming plug-flow address.
In a specific embodiment, live broadcast device further includes:
Setting page jump unit is opened in live streaming, for when logining identity information and being proved to be successful, being jumped according to default network address
It goes to live streaming and opens the setting page.
In a specific embodiment, live broadcast device further includes:
Live streaming label value query unit in the direct broadcasting room page of platform to be broadcast live, is looked into for logining request according to user
Ask the live streaming label value of corresponding platform to be broadcast live;
Direct broadcasting room address acquisition unit, for according to the live streaming label value inquired, obtaining the straight of corresponding live streaming label value
Broadcast an address.
Specific about live broadcast device limits the restriction that may refer to above for live broadcasting method, and details are not described herein.
Modules in above-mentioned live broadcast device can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can
It is embedded in the form of hardware or independently of in the processor in computer equipment, computer can also be stored in a software form and set
In memory in standby, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, as shown in figure 8, providing a kind of live broadcast system, including memory and processor, memory
It is stored with computer program, processor can realize following steps when executing computer program:
It obtains user and logins request, inquire the live state of platform to be broadcast live;
With confirming the live streaming plug-flow for obtaining corresponding platform to be broadcast live when it is open state that the live state of platform, which is broadcast live,
Location, and live streaming plug-flow address is transferred to live streaming encoding device;Live streaming plug-flow address is used to indicate live streaming encoding device and calls phase
The transport protocol foundation answered is connect with the live streaming of platform to be broadcast live.
Further, processor is additionally operable to realize following steps:
The legality message of verification live streaming plug-flow address;Legality message include in following information any one or it is arbitrary
Combination:Address header check field, address tail check field and address character string length;
When check results are legal, live streaming plug-flow address is transferred to live streaming encoding device.
Further, processor is additionally operable to realize following steps:
The corresponding assignment of live streaming button in the setting page is opened in the live streaming for inquiring platform to be broadcast live.
In a specific embodiment, processor is additionally operable to realize following steps:
When being assigned a value of opening live streaming threshold value, confirms that the live state of platform to be broadcast live is open state, obtain live streaming
Plug-flow address;
When being assigned a value of closing live streaming threshold value, assignment is updated to open live streaming threshold value, confirms platform to be broadcast live
Live state is open state, obtains live streaming plug-flow address.
In a specific embodiment, processor is additionally operable to realize following steps:
When logining identity information and being proved to be successful, live streaming is jumped to according to default network address and opens the setting page.
In a specific embodiment, processor is additionally operable to realize following steps:
Request is logined according to user, in the direct broadcasting room page of platform to be broadcast live, the live streaming of the corresponding platform to be broadcast live of inquiry
Label value;
According to the live streaming label value inquired, the direct broadcasting room address of corresponding live streaming label value is obtained.
In one embodiment, as shown in figure 9, providing a kind of live broadcast system.The system further includes connection processing device
Encoding device is broadcast live.
When live streaming encoding device receives live streaming plug-flow address, establishes and wait for according to live streaming plug-flow call by location transport protocol
The live streaming connection of platform is broadcast live.
Specific live streaming encoding device can pass through network interface connection processing device.Live streaming encoding device receives live streaming plug-flow
When address, according to live streaming plug-flow call by location transport protocol, connection of shaking hands is established between platform to be broadcast live by transport protocol,
And then realize that the real-time live broadcast between live streaming encoding device and platform to be broadcast live connects.
In one embodiment, as shown in Figure 10, a kind of live broadcast system is provided.The system further includes connection processing device
112 live streaming encoding device 114.Wherein, processor 112 and live streaming encoding device 114 are mutual indepedent.
Specifically, the application program that user is run by operation processing device, selection need the platform to be broadcast live of plug-flow, input
Username and password is logined.After processor verification is logined successfully, by javascript technical operation webview components,
It realizes that backstage redirects webpage and automatic search label value automatically, and then realizes and automatically open live streaming.Processor obtains live streaming and pushes away
Flow address and direct broadcasting room address, return in processor and Auto-writing to text box, realize automatically live streaming plug-flow address and
Direct broadcasting room address is filled in, and live streaming plug-flow address is transferred to live streaming encoding device.The live streaming is used by the way that encoding device is broadcast live
Plug-flow call by location RTMP agreements or HLS protocol are realized shakes hands and establishes connection with platform be broadcast live, and realization video is straight in real time
It broadcasts.
In one embodiment, as shown in figure 11, a kind of live broadcast system is provided.The system further includes connection processing device
112 live streaming encoding device 114.Wherein, processor 112 can be integrated on live streaming encoding device 114.
Specifically, the application program that user is run by operation processing device, selection need the platform to be broadcast live of plug-flow, input
Username and password is logined.After processor verification is logined successfully, by javascript technical operation webview components,
It realizes that backstage redirects webpage and automatic search label value automatically, and then realizes and automatically open live streaming.Processor obtains live streaming and pushes away
Flow address and direct broadcasting room address, return in processor and Auto-writing to text box, realize automatically live streaming plug-flow address and
Direct broadcasting room address is filled in, and live streaming plug-flow address is transferred to live streaming encoding device.The live streaming is used by the way that encoding device is broadcast live
Plug-flow call by location RTMP agreements or HLS protocol are realized shakes hands and establishes connection with platform be broadcast live, and realization video is straight in real time
It broadcasts.
It should be noted that in actual application, addition can need to obtain automatically in the application program that processor is run
The platform to be broadcast live taken, and be the program of each independent automatic acquisition net cast platform of Platform Designing one to be broadcast live.
User need to only click the platform to be broadcast live, and live streaming plug-flow address can be got automatically by running the program by processor.In turn
Simplify user's operation, improves access live streaming platform efficiency.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor:
It obtains user and logins request, inquire the live state of platform to be broadcast live;
With confirming the live streaming plug-flow for obtaining corresponding platform to be broadcast live when it is open state that the live state of platform, which is broadcast live,
Location, and live streaming plug-flow address is transferred to live streaming encoding device;Live streaming plug-flow address is used to indicate live streaming encoding device and calls phase
The transport protocol foundation answered is connect with the live streaming of platform to be broadcast live.
Further, following steps are realized when computer program is executed by processor:
The legality message of verification live streaming plug-flow address;Legality message include in following information any one or it is arbitrary
Combination:Address header check field, address tail check field and address character string length;
When check results are legal, live streaming plug-flow address is transferred to live streaming encoding device.
Further, following steps are realized when computer program is executed by processor:
The corresponding assignment of live streaming button in the setting page is opened in the live streaming for inquiring platform to be broadcast live.
In a specific embodiment, following steps are realized when computer program is executed by processor:
When being assigned a value of opening live streaming threshold value, confirms that the live state of platform to be broadcast live is open state, obtain live streaming
Plug-flow address;
When being assigned a value of closing live streaming threshold value, assignment is updated to open live streaming threshold value, confirms platform to be broadcast live
Live state is open state, obtains live streaming plug-flow address.
In a specific embodiment, following steps are realized when computer program is executed by processor:
When logining identity information and being proved to be successful, live streaming is jumped to according to default network address and opens the setting page.
In a specific embodiment, following steps are realized when computer program is executed by processor:
Request is logined according to user, in the direct broadcasting room page of platform to be broadcast live, the live streaming of the corresponding platform to be broadcast live of inquiry
Label value;
According to the live streaming label value inquired, the direct broadcasting room address of corresponding live streaming label value is obtained.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the stream of the embodiment of above-mentioned each division operation method
Journey.Wherein, used in each embodiment provided herein to any of memory, storage, database or other media
Reference, may each comprise non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), can
Programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory
It may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is with a variety of shapes
Shi Ke get, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram
(DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus
(Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram
(RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.