CN106231231A - Live video communication method and apparatus - Google Patents

Live video communication method and apparatus Download PDF

Info

Publication number
CN106231231A
CN106231231A CN201610585901.0A CN201610585901A CN106231231A CN 106231231 A CN106231231 A CN 106231231A CN 201610585901 A CN201610585901 A CN 201610585901A CN 106231231 A CN106231231 A CN 106231231A
Authority
CN
China
Prior art keywords
video
information
video channel
terminal
source type
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
Application number
CN201610585901.0A
Other languages
Chinese (zh)
Other versions
CN106231231B (en
Inventor
田维忠
陈正超
周平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201610585901.0A priority Critical patent/CN106231231B/en
Publication of CN106231231A publication Critical patent/CN106231231A/en
Application granted granted Critical
Publication of CN106231231B publication Critical patent/CN106231231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention belongs to communication technical field, be specifically related to a kind of live video communication method and apparatus.Described live video communication method comprises the following steps: receive the request addition information that terminal sends;Video channel number is distributed to ID;Judge the source type of request addition information according to terminal type, described source type includes mobile terminal and Web browser end;The video channel corresponding with source type and terminal address information is judged whether with terminal address information according to source type;If it does not exist, then set up the video channel corresponding with source type and terminal address information according to source type and terminal address information, and by video channel number this video channel of mark.The method can be applicable to server end, utilizes the method that mobile terminal and Web browser end can be made to carry out live video communication, reduces the requirement to tag memory simultaneously, shortens the retardance of real-time video transmission, improves Consumer's Experience.

Description

Live video communication method and apparatus
Technical field
The invention belongs to communication technical field, be specifically related to a kind of live video communication method and apparatus.
Background technology
Becoming basically universal instantly in mobile device, people use mobile device to carry out handling official business, the frequency of amusement etc. rises to The new high degree of history.At present, the data service that mobile terminal is carried out includes note, Email, WAP service, more and more Individual application, such as: the service content such as instant messaging, stock information, positional information.Along with network technology is more and more flourishing, people More and more higher to the pursuit being carried out social entertainment by network, wherein the exchange of real-time video is the most urgent.
Nowadays, when people carry out communication for information on network, it is to carry out by having the software of correlation function mostly, example As: QQ software, wechat etc..These softwares can not only realize the instant exchange of word, picture, it is also possible to carries out real-time video Exchange.However it is necessary that user terminal is downloaded in advance and installs related software.Along with increasing of functional software, these softwares occupy A lot of internal memories of user terminal, and down loading mounting software too increases the complexity of user operation.
Web browser is the entrance of the Internet, and application program is operated in Web browser, so, and all of the Internet User can use this application.In existing Web browser, great majority have been integrated with playing function, and mobile terminal and Web Mutual the most very inconvenient between browser.General between mobile terminal and Web browser, need user terminal first by complete alternately Whole video information is uploaded onto the server, other user terminals from server, complete video information is downloaded completely again after Can watch, this extends interaction time.And in the process, it is desirable to transmitting terminal is carried out after first interactive information being preserved again Uploading, receiving terminal just can see video information after needing all to download preservation, and this does not require nothing more than user terminal has enough Internal memory, real-time is the most very poor, significantly reduces the experience of user.
Summary of the invention
In order to solve above-mentioned technical problem, the present invention provides a kind of live video communication method, utilizes the method to make Mobile terminal and Web browser end carry out live video communication, reduce the requirement to tag memory simultaneously, shorten real-time video transmission Retardance, improve Consumer's Experience.
The present invention adopts the following technical scheme that
On the one hand, the present invention provides a kind of live video communication method, and it comprises the following steps:
Receiving the request addition information that terminal sends, described request adds information and includes terminal type, terminal address information and use Family identifies;
Video channel number is distributed to described ID;
Judge the source type of described request addition information according to described terminal type, described source type include mobile terminal and Web browser end;
Judge whether and described source type and described terminal ground according to described source type and described terminal address information The video channel that location information is corresponding;If it is present identify this video channel by described video channel number;If it does not, Then set up relative with described source type and described terminal address information according to described source type with described terminal address information The video channel answered, and identify this video channel by described video channel number.
Preferably, in described live video communication method, after described video channel number mark video channel, also wrap Include: according to described ID, create video user object, and described video user object is joined described video channel number In the described video channel of mark, parameter information being distributed to described video user object simultaneously, described parameter information includes institute State in video channel corresponding to the port numbers of described video user object with for identifying the video information of described terminal transmission Synchronize source identifier;
Described video channel number, port numbers and synchronization source identifier are sent to described terminal;
Receiving the video information that described terminal sends, wherein, described video information includes described synchronization source identifier, and described Terminal is the described video information sent according to described video channel number, port numbers.
It is preferred that the described source type judging described request addition information according to described terminal type is mobile terminal;And Described according to described source type and described terminal address information judge whether and described source type and described terminal ground The video channel that location information is corresponding, is to judge whether with described according to described source type and described terminal address information The RTP video channel that mobile terminal is corresponding with this mobile terminal address information.
Preferably, the described source type judging described request addition information according to described terminal type is web browsing Device end;And described judge whether and described source type and described according to described source type and described terminal address information The video channel that terminal address information is corresponding, is to judge whether according to described source type and described terminal address information The RTMP video channel corresponding with described Web browser end and this Web browser end address information.
It is preferred that also include after the video information of described reception described terminal transmission:
Resolve described video information, and the picture frame parsed is packaged, obtain wrapper;
Described wrapper is sent to has the other-end of same video channel number with described terminal.
On the other hand, the present invention also provides for a kind of live video communication device, comprising:
Receiver module, the request sent for receiving terminal adds information, and described request adds information and includes terminal type, terminal Address information and ID;
Distribution module, for distributing video channel number to described ID;
Judge module, for judging the source type of described request addition information, described source type according to described terminal type Including mobile terminal and Web browser end;
Mark module, for judging whether and described source type according to described source type and described terminal address information The video channel corresponding with described terminal address information;If it is present identify this video channel by described video channel number; If it does not exist, then set up and described source type and described terminal ground according to described source type and described terminal address information The video channel that location information is corresponding, and identify this video channel by described video channel number.
Preferably, described live video communication device also includes:
Creation module, after by described video channel number mark video channel, according to described ID, creates video and uses Family object, and described video user object is joined in the described video channel of described video channel number mark, simultaneously will ginseng Number information distributes to described video user object, and described parameter information includes in described video channel corresponding to described video user The port numbers of object and for identifying the synchronization source identifier of the video information that described terminal sends;
Sending module, for being sent to described terminal by described video channel number, port numbers and synchronization source identifier;
Described receiver module, is additionally operable to receive the video information that described terminal sends, and wherein, described video information includes described same Walk source identifier, and described terminal is the described video information sent according to described video channel number, port numbers.
It is preferred that described mark module includes RTP unit, it is used for responding described judge module and sentences according to described terminal type The source type of disconnected described request addition information is mobile terminal, according to described source type and the judgement of described terminal address information is The RTP video channel that no existence is corresponding with described mobile terminal and this mobile terminal address information.
It is preferred that described mark module includes RTMP unit, it is used for responding described judge module according to described terminal type The source type judging described request addition information is Web browser end, believes according to described source type and described terminal address Breath judges whether the RTMP video channel corresponding with described Web browser end and this Web browser end address information.
Preferably, described live video communication device also includes:
Parsing module, after the video information that the described terminal of described reception sends, resolves described video information, and will resolve The picture frame gone out is packaged, and obtains wrapper;
Sending module, is additionally operable to be sent to described wrapper have the other-end of same video channel number with described terminal.
The live video communication method of the embodiment of the present invention, can be applicable to server end, and it can be according to mobile terminal or Web The request of browser end adds information, distributes same video channel number to different ID, it is also possible to add according to request Information judges the type of terminal, and then can transfer from server or create for this terminal type and terminal address information Video channel, different video channels is identified by the method by same video channel number simultaneously, therefore, the method can realize with The mobile terminal of one video channel number mark carries out live video communication with Web browser end, reduces the requirement to user memory, Shorten the retardance of real-time video transmission simultaneously, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of the live video communication method in one embodiment of the present invention.
Fig. 2 is the partial process view of the live video communication method in another preferred embodiment of the present invention.
Fig. 3 is the partial process view of the live video communication method in another preferred embodiment of the present invention.
Fig. 4 is the structure chart of the live video communication device in one embodiment of the present invention.
The structure chart of the live video communication device in another preferred embodiment of Fig. 5 present invention.
The part-structure figure of the live video communication device in another preferred embodiment of Fig. 6 present invention.
Detailed description of the invention
In order to clearly understand technical scheme, below in conjunction with the accompanying drawings the present invention is described in detail. Embodiments of the invention have exemplary effect, those skilled in the art make on the basis of the embodiment of the present invention without essence The improvement of property, all should belong to protection scope of the present invention.
Live video communication method as shown in Figure 1, it comprises the following steps:
S101: receiving the request addition information that terminal sends, described request adds information and includes terminal type, terminal address information And ID.
Described terminal can be mobile terminal (such as: mobile phone) or Web browser end.If mobile terminal user thinks and web browsing Device end subscriber carries out live video communication, upload request can add information, institute at the interactive entrance of the WAP web page of mobile terminal State request addition information and should include terminal type, terminal address information and ID.Wherein, terminal type contains is to move Moved end or Web browser end;Terminal address information is the network address information of terminal, by the corresponding terminal of this address information The video information of other-end can be shared;ID can be the information representing this user identity ID (identity). On the other hand, if the user of Web browser end wants to carry out live video communication with mobile terminal user, can at Web browser eventually At the interactive entrance of the Web page of end, upload request adds information.
Typically, adding fashionable in user's request for the first time, described request addition information can also include contact method information (such as: E-mail address, telephone number) etc..
S102: distribute video channel number to described ID.
After the request addition information that received server-side terminal sends, ID therein can be extracted, and to this ID distribution video channel number.Described video channel number, refers to the mark of corresponding video channel.
Described video channel number can be receive user request addition information after generate (such as: described video Channel number can be that the ID according to this user generates with current time);Can also be the video channel number pre-set, receive After the request addition information of user, it is randomly assigned to the video channel number that this user is left unused.Both of these case is applicable to use Householder is dynamic creates video channel number, does not currently add other-end user in the video channel that i.e. this video channel number is corresponding.
If it addition, the request addition information that terminal use sends includes the video channel number specified, then can be according to asking Seeking addition information, the video channel number being assigned distributes to this terminal use.This situation is applicable to this terminal use to be made The video channel number being currently in use with other-end user, is i.e. that other-end user has been added to this video channel correspondence Video channel in.
S103: judge the source type of described request addition information according to described terminal type, described source type includes Mobile terminal and Web browser end.
Judging the source type of described request addition information, result can be mobile terminal or Web browser end.Judge Go out the source type of described request addition information, can facilitate and follow-up create video targetedly according to different source type Passage, can be transferred to other-end rapidly with the video information facilitating terminal to send.
S104: judge whether and described source type and institute according to described source type and described terminal address information State the video channel that terminal address information is corresponding;If it is present identify this video channel by described video channel number;If Do not exist, then set up and described source type and described terminal address letter according to described source type and described terminal address information The video channel that manner of breathing is corresponding, and identify this video channel by described video channel number.
Described and described source type and the corresponding video channel of described terminal address information, refer to adapt to this end The video channel that real-time video is carried out to be propagated is carried out between end and server.If it is present mark by described video channel number Know this video channel;If it does not exist, then server to create, and it is newly created to identify this by described video channel number Video channel.
Described set up regard corresponding with described video channel number according to described source type and described terminal address information Frequently passage, refers to, for different mobile terminals or different Web browser ends, to create different video channels.
Such as: for mobile terminal user A, server can first determine whether to be applicable to mobile terminal according to source type Further according to terminal address information, video channel, if it has, judge whether video channel is applicable to mobile terminal user A, if be suitable for In mobile terminal user A, then identifying this video channel by described video channel number, now, server need not be mobile terminal user A wound Build new video channel;It is of course also possible to further, server judge this video channel for mobile terminal user A for It is the fastest, if it is not, then server end can according to present case (such as: current number when biography or foradownloaded video information According to flow), create optimal video channel for mobile terminal user A;If judging not to be applicable to move according to source type The video channel of end, or the video channel being applicable to mobile terminal is had according to source type judgement, but believe according to terminal address Breath judges that video channel is not suitable for mobile terminal user A, then server can be built according to mobile terminal and mobile terminal user's A address information The vertical video channel corresponding with source type and terminal address information, and identify this video channel by described video channel number.
If Web browser end subscriber B needs and mobile terminal user A carry out the transmission of real-time video information, then web browsing Device end subscriber B can send request addition information to server end, and through judging, request addition information is Web browser end, then take Business device first can determine whether to be applicable to the video channel of Web browser end according to source type, if it has, further according to terminal Address information judges whether video channel is applicable to Web browser end subscriber B, if being applicable to Web browser end subscriber B, then This video channel is identified by described video channel number;If judging not to be applicable to regarding of Web browser end according to source type Frequently passage, or the video channel being applicable to Web browser end is had according to source type judgement, but according to terminal address information Judge that video channel is not suitable for Web browser end B, then server can be according to Web browser end and Web browser end subscriber B Address information sets up the video channel corresponding with source type and terminal address information, and identifies by described video channel number This video channel.
After being assigned with each self-corresponding video channel for different terminal uses, mobile terminal user A and Web browser end B Just can carry out real-time video transmission by server.
Generally, if terminal use actively creates video channel number, and video channel number is the relevant letter according to this user Cease newly-generated, then should judge whether this server exists corresponding video channel;If it is present by this video channel with This video channel number is corresponding, simultaneously need to it is newly-generated for revising the corresponding video channel number of this video channel in memory Video channel number;If it does not exist, then set up the video channel corresponding with described video channel number.
If user actively creates video channel number, and video channel number is the idle video channel number of random assortment, If there is corresponding video channel in this idle video channel number, and if through judging required for this user, then need not Set up new video channel;If it is not, then need to set up the new video channel corresponding with this video channel number, simultaneously need to Revising the corresponding video channel of this video channel number in memorizer is newly-built video channel.
The embodiment of the present invention, can be carried out according to the order of S101, S102, S103, S104, it is also possible to close according to other Suitable order, such as: the order etc. of S101, S103, S102, S104.
The live video communication method of the embodiment of the present invention, can be applicable to server end, and it can be according to mobile terminal or Web The request of browser end adds information, distributes same video channel number to different ID, it is also possible to add according to request Information judges the type of terminal, and then can transfer from server or create for this terminal type and terminal address information Video channel, different video channels is identified by the method by same video channel number simultaneously, therefore, the method can realize with The mobile terminal of one video channel number mark carries out live video communication with Web browser end, reduces the requirement to user memory, Shorten the retardance of real-time video transmission simultaneously, improve Consumer's Experience.
On the basis of the live video communication method shown in Fig. 1, as in figure 2 it is shown, regard by described video channel mark Frequently, after passage, also include:
S105: according to described ID, creates video user object, and described video user object is joined described video In the described video channel of channel number mark, parameter information is distributed to described video user object, described parameter information simultaneously Including described video channel corresponding to the port numbers of described video user object and for identifying the video that described terminal sends The synchronization source identifier of information.
Described parameter information is distributed to described video user object, the terminal of described video user object can be made it Video information is with synchronizing source identifier (SSRC) mark, and is sent to server according to port numbers, and server is according to synchronizing letter Source identifier distinguishes this video information, in order to this video information is sent to other desired terminal.
S106: described video channel number, port numbers and synchronization source identifier are issued described terminal.
S107: receiving the video information that described terminal sends, wherein, described video information includes synchronizing source identifier, And described terminal is the described video information sent according to described video channel number, port numbers.
If the synchronization source identifier in the video information that the described terminal that server receives sends is not server Send in the past, then this video information can be lost by server, and need not be transmitted to other-end.
Embodiment of the present invention server can be made port numbers and being used for be identified video information that described terminal sends same Step source identifier is sent to terminal, in order to terminal sends the video information of this synchronization source identity according to this port numbers, also Facilitate server and differentiate the source of video information according to this synchronization source identifier, and then real-time video is believed by convenient service device Breath is transmitted to other-end.
On the basis of the live video communication method shown in Fig. 1, wherein, described according to the judgement of described terminal type The source type of request addition information is mobile terminal;And described judge according to described source type and described terminal address information be The video channel that no existence is corresponding with described source type and described terminal address information, is according to described source type and institute State terminal address information and judge whether the RTP video channel corresponding with described mobile terminal and this mobile terminal address information.
Described RTP(Real-time Transport Protocol, RTP) video channel, use UDP (User Datagram Protocol, UDP) connects, and it can transmit the wrapper of Real-time Transport Protocol encapsulation, passes Defeated speed is fast, and retardance is less.
On the basis of the live video communication method shown in Fig. 1, wherein, described according to the judgement of described terminal type The source type of request addition information is Web browser end;And it is described according to described source type with described terminal address information Judge whether the video channel corresponding with described source type and described terminal address information, be according to described source class Type judges whether relative with described Web browser end and this Web browser end address information with described terminal address information The RTP video channel answered.
Described RTMP(Real Time Messaging Protocol, real-time messages host-host protocol) video channel, use TCP(Transmission Control Protocol transmission control protocol) connect, it can transmit the encapsulation of RTMP encapsulation Bag.
On the basis of the live video communication method shown in Fig. 1, live video communication method as shown in Figure 3, described Also include after receiving the video information that described terminal sends:
S108: resolve described video information, and the picture frame parsed is packaged, obtain wrapper.
S109: described wrapper is sent to has the other-end of same video channel number with described terminal.
The embodiment of the present invention additionally provides live video communication device as shown in Figure 4, comprising:
Receiver module, the request sent for receiving terminal adds information, and described request adds information and includes terminal type, terminal Address information and ID;
Distribution module, for distributing video channel number to described ID;
Judge module, for judging the source type of described request addition information, described source type according to described terminal type Including mobile terminal and Web browser end;
Mark module, for judging whether and described source type according to described source type and described terminal address information The video channel corresponding with described terminal address information;If it is present identify this video channel by described video channel number; If it does not exist, then set up and described source type and described terminal ground according to described source type and described terminal address information The video channel that location information is corresponding, and identify this video channel by described video channel number.
Preferably, live video communication device as shown in Figure 5, also include:
Creation module, after by described video channel number mark video channel, according to described ID, creates video and uses Family object, and described video user object is joined in the described video channel of described video channel number mark, simultaneously will ginseng Number information distributes to described video user object, and described parameter information includes in described video channel corresponding to described video user The port numbers of object and for identifying the synchronization source identifier of the video information that described terminal sends;
Sending module, for being sent to described terminal by described video channel number, port numbers and synchronization source identifier;
Described receiver module, is additionally operable to receive the video information that described terminal sends, and wherein, described video information includes described same Walk source identifier, and described terminal is the described video information sent according to described video channel number, port numbers.
Wherein, described mark module includes RTP unit, is used for responding described judge module and judges according to described terminal type The source type of described request addition information is mobile terminal, judges whether according to described source type and described terminal address information There is the RTP video channel corresponding with described mobile terminal and this mobile terminal address information.
Preferably, described mark module includes RTMP unit, is used for responding described judge module according to described terminal class Type judges that the source type of described request addition information is Web browser end, according to described source type and described terminal address Information judges whether the RTMP video channel corresponding with described Web browser end and this Web browser end address information.
On the basis of the live video communication device shown in Fig. 5, live video communication device as shown in Figure 6, it is also Including:
Parsing module, after the video information that the described terminal of described reception sends, resolves described video information, and will resolve The picture frame gone out is packaged, and obtains wrapper;
Described sending module, be additionally operable to be sent to described wrapper with described terminal have same video channel number other eventually End.
The above, only embodiments of the invention, but protection scope of the present invention is not limited thereto, any it is familiar with basis Those skilled in the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain at this Within the protection domain of invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. a live video communication method, it is characterised in that comprise the following steps:
Receiving the request addition information that terminal sends, described request adds information and includes terminal type, terminal address information and use Family identifies;
Video channel number is distributed to described ID;
Judge the source type of described request addition information according to described terminal type, described source type include mobile terminal and Web browser end;
Judge whether and described source type and described terminal ground according to described source type and described terminal address information The video channel that location information is corresponding;If it is present identify this video channel by described video channel number;If it does not, Then set up relative with described source type and described terminal address information according to described source type with described terminal address information The video channel answered, and identify this video channel by described video channel number.
Live video communication method the most according to claim 1, it is characterised in that identify video by described video channel number After passage, also include: according to described ID, create video user object, and described video user object is joined In the described video channel of described video channel number mark, parameter information is distributed to described video user object simultaneously, described Parameter information includes corresponding to the port numbers of described video user object in described video channel and sending out for identifying described terminal The synchronization source identifier of the video information sent;
Described video channel number, port numbers and synchronization source identifier are sent to described terminal;
Receiving the video information that described terminal sends, wherein, described video information includes described synchronization source identifier, and described Terminal is the described video information sent according to described video channel number, port numbers.
Live video communication method the most according to claim 1, it is characterised in that described judge according to described terminal type The source type of described request addition information is mobile terminal;And described sentence according to described source type and described terminal address information Break and whether there is the video channel corresponding with described source type and described terminal address information, be according to described source type Judge whether that with described terminal address information the RTP video corresponding with described mobile terminal and this mobile terminal address information leads to Road.
Live video communication method the most according to claim 1, it is characterised in that described judge according to described terminal type The source type of described request addition information is Web browser end;And it is described according to described source type with described terminal address Information judges whether the video channel corresponding with described source type and described terminal address information, is according to described next Source Type and described terminal address information judge whether and described Web browser end and this Web browser end address information Corresponding RTMP video channel.
Live video communication method the most according to claim 2, it is characterised in that what the described terminal of described reception sent regards Frequently also include after information:
Resolve described video information, and the picture frame parsed is packaged, obtain wrapper;
Described wrapper is sent to has the other-end of same video channel number with described terminal.
6. a live video communication device, it is characterised in that including:
Receiver module, the request sent for receiving terminal adds information, and described request adds information and includes terminal type, terminal Address information and ID;
Distribution module, for distributing video channel number to described ID;
Judge module, for judging the source type of described request addition information, described source type according to described terminal type Including mobile terminal and Web browser end;
Mark module, for judging whether and described source type according to described source type and described terminal address information The video channel corresponding with described terminal address information;If it is present identify this video channel by described video channel number; If it does not exist, then set up and described source type and described terminal ground according to described source type and described terminal address information The video channel that location information is corresponding, and identify this video channel by described video channel number.
Live video communication device the most according to claim 6, it is characterised in that also include:
Creation module, after by described video channel number mark video channel, according to described ID, creates video and uses Family object, and described video user object is joined in the described video channel of described video channel number mark, simultaneously will ginseng Number information distributes to described video user object, and described parameter information includes in described video channel corresponding to described video user The port numbers of object and for identifying the synchronization source identifier of the video information that described terminal sends;
Sending module, for being sent to described terminal by described video channel number, port numbers and synchronization source identifier;
Described receiver module, is additionally operable to receive the video information that described terminal sends, and wherein, described video information includes described same Walk source identifier, and described terminal is the described video information sent according to described video channel number, port numbers.
Live video communication device the most according to claim 6, it is characterised in that described mark module includes RTP unit, Judge that the source type of described request addition information is mobile terminal for responding described judge module according to described terminal type, root Judge whether and described mobile terminal and this mobile terminal address information phase according to described source type and described terminal address information Corresponding RTP video channel.
Live video communication device the most according to claim 6, it is characterised in that described mark module includes that RTMP is mono- According to described terminal type, unit, judges that the source type of described request addition information is that Web is clear for responding described judge module Look at device end, judge whether and described Web browser end and this Web according to described source type and described terminal address information The RTMP video channel that browser end address information is corresponding.
Live video communication device the most according to claim 7, it is characterised in that also include:
Parsing module, after the video information that the described terminal of described reception sends, resolves described video information, and will resolve The picture frame gone out is packaged, and obtains wrapper;
Sending module, is additionally operable to be sent to described wrapper have the other-end of same video channel number with described terminal.
CN201610585901.0A 2016-07-25 2016-07-25 Live video communication method and apparatus Active CN106231231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610585901.0A CN106231231B (en) 2016-07-25 2016-07-25 Live video communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610585901.0A CN106231231B (en) 2016-07-25 2016-07-25 Live video communication method and apparatus

Publications (2)

Publication Number Publication Date
CN106231231A true CN106231231A (en) 2016-12-14
CN106231231B CN106231231B (en) 2019-06-11

Family

ID=57532368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610585901.0A Active CN106231231B (en) 2016-07-25 2016-07-25 Live video communication method and apparatus

Country Status (1)

Country Link
CN (1) CN106231231B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009685A (en) * 2006-01-23 2007-08-01 中兴通讯股份有限公司 A stream media playing system
CN101834894A (en) * 2010-04-19 2010-09-15 中兴通讯股份有限公司 Method, device and system for remote processing
CN103200606A (en) * 2013-03-18 2013-07-10 东莞宇龙通信科技有限公司 Terminal and data service processing method
CN103581712A (en) * 2013-11-04 2014-02-12 广州华工信元通信技术有限公司 Multi-protocol video playing method and system based on mobile terminal
JP2016015582A (en) * 2014-07-01 2016-01-28 パナソニックIpマネジメント株式会社 Video quality control system, video reproduction device, program, storage medium and video quality control method
CN105530553A (en) * 2015-12-24 2016-04-27 武汉鸿瑞达信息技术有限公司 RTMP (Real Time Messaging Protocol) and RUDP (Reliable User Data Protocol) combined real-time media streaming live broadcasting system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009685A (en) * 2006-01-23 2007-08-01 中兴通讯股份有限公司 A stream media playing system
CN101834894A (en) * 2010-04-19 2010-09-15 中兴通讯股份有限公司 Method, device and system for remote processing
CN103200606A (en) * 2013-03-18 2013-07-10 东莞宇龙通信科技有限公司 Terminal and data service processing method
CN103581712A (en) * 2013-11-04 2014-02-12 广州华工信元通信技术有限公司 Multi-protocol video playing method and system based on mobile terminal
JP2016015582A (en) * 2014-07-01 2016-01-28 パナソニックIpマネジメント株式会社 Video quality control system, video reproduction device, program, storage medium and video quality control method
CN105530553A (en) * 2015-12-24 2016-04-27 武汉鸿瑞达信息技术有限公司 RTMP (Real Time Messaging Protocol) and RUDP (Reliable User Data Protocol) combined real-time media streaming live broadcasting system

Also Published As

Publication number Publication date
CN106231231B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
EP3021556B1 (en) Transmission method and device for media stream in video conference
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN108156069A (en) A kind of integration message system and message treatment method
CN104205884A (en) Multicast broadcast multimedia service-assisted content distribution
CN103581248A (en) Method and device for providing content distribution network CDN service
CN108600376A (en) Data transmission method, device, LoRa gateways, system based on LoRa and storage medium
KR101638315B1 (en) System and method for providing advertisement based on web using wifi network
US20120297031A1 (en) Anonymous Signalling
CN109327493A (en) A kind of remote medical monitoring system based on cloud and monitoring method
CN102185856B (en) Team organizing video method, device and system used in team organizing game
CN102611948A (en) Method for sharing and issuing audios and videos of mobile internet terminal
CN110113306A (en) Distribute the method and the network equipment of data
CN110139123A (en) The broadcasting of files in stream media, transmission, treating method and apparatus
CA2468172A1 (en) Method for connecting to a wireless internet service
CN109168171A (en) configuration information obtaining method, device, equipment and system
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN103220297A (en) Method for carrying out multi-screen interaction through social network
CN105898356A (en) Live video streaming media recording method and system
CN106487755A (en) A kind of method and device setting up session
CN107294830A (en) A kind of data transmission method and system
CN102291432A (en) Network information sharing method, device and client
CN107079271A (en) For content to be broadcast to the method and system of smart machine using dedicated gateway box
US10701118B2 (en) Method for the processing of a multimedia stream, corresponding device and computer program
CN102594690B (en) Address borrowing method in multiple Ethernet/PPPoE (point-to-point protocol over Ethernet) network hybrid transmission channels

Legal Events

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