CN106231231B - Live video communication method and apparatus - Google Patents

Live video communication method and apparatus Download PDF

Info

Publication number
CN106231231B
CN106231231B CN201610585901.0A CN201610585901A CN106231231B CN 106231231 B CN106231231 B CN 106231231B CN 201610585901 A CN201610585901 A CN 201610585901A CN 106231231 B CN106231231 B CN 106231231B
Authority
CN
China
Prior art keywords
video
terminal
information
video channel
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.)
Active
Application number
CN201610585901.0A
Other languages
Chinese (zh)
Other versions
CN106231231A (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 fields of communication technology, and in particular to a kind of live video communication method and apparatus.Information is added the following steps are included: receiving the request that terminal is sent in the live video communication method;Video channel number is distributed to user identifier;Judge that the source type of information is added in request according to terminal type, the source type includes mobile terminal and Web browser end;Video channel corresponding with source type and terminal address information is judged whether there is according to source type and terminal address information;If it does not exist, then establishing video channel corresponding with source type and terminal address information according to source type and terminal address information, and the video channel is identified with video channel number.This method can be applied to server end, mobile terminal and Web browser end can be made to carry out live video communication using this method, while reducing the requirement to terminal memory, shorten the retardance of real-time video transmission, improve user experience.

Description

Live video communication method and apparatus
Technical field
The invention belongs to fields of communication technology, and in particular to a kind of live video communication method and apparatus.
Background technique
It becomes basically universal instantly in mobile device, the frequency that people are handled official business using mobile device, entertained etc. rises to The new high degree of history.Currently, the data service that mobile terminal is carried out includes short message, Email, WAP service or even more and more Individual application, such as: instant messaging, stock information, location information service content.As network technology is more and more flourishing, people To by network carry out social entertainment pursuit it is higher and higher, wherein the exchange of real-time video is especially urgent.
Nowadays people in the enterprising row information exchange of network, are carried out by the software with correlation function mostly, example Such as: QQ software, wechat.These softwares can not only realize the instant exchange of text, picture, also be able to carry out real-time video Exchange.But it needs user terminal to download in advance and related software is installed.With increasing for functional software, these softwares are occupied Many memories of user terminal, and down loading mounting software also increases the complexity of user's operation.
Web browser is the entrance of internet, and application program is operated in Web browser, in this way, all internets User can use the application.It is most of in existing Web browser to be integrated with playing function, and mobile terminal and Web Interaction between browser is very inconvenient.Interaction between general mobile terminal and Web browser needs user terminal first will be complete Whole video information is uploaded onto the server, ability after other users terminal again downloads complete video information from server completely It can watch, this extends interaction time.And in the process, it is desirable that transmitting terminal carries out again after first being saved interactive information Upload, receiving end need carry out all downloading save after can just see video information, this do not require nothing more than user terminal have it is enough Memory, real-time is also very poor, significantly reduces the experience of user.
Summary of the invention
In order to solve the above technical problem, the present invention provides a kind of live video communication methods, can be made using this method Mobile terminal and Web browser end carry out live video communication, while reducing the requirement to terminal memory, shorten real-time video transmission Retardance, improve user experience.
The present invention adopts the following technical scheme:
On the one hand, the present invention provides a kind of live video communication method comprising following steps:
It receives the request that terminal is sent and information is added, it includes terminal type, terminal address information that information, which is added, in the request And user identifier;
Video channel number is distributed to the user identifier;
Judge that the source type of information is added in the request according to the terminal type, the source type includes mobile terminal With Web browser end;
It is judged whether there is and the source type and the end according to the source type and the terminal address information Hold the corresponding video channel of address information;If it is present identifying the video channel with the video channel number;If do not deposited Then established and the source type and the terminal address information phase according to the source type and the terminal address information Corresponding video channel, and the video channel is identified with the video channel number.
Preferably, it in the live video communication method, after identifying video channel with the video channel number, also wraps It includes: according to the user identifier, creating video user object, and the video user object is added to the video channel number In the video channel of mark, while parameter information is distributed into the video user object, the parameter information includes institute State the video information in video channel corresponding to the port numbers of the video user object and for identifying the terminal transmission Synchronous source identifier;
The video channel number, port numbers are sent to the terminal with synchronous source identifier;
Receiving the video information that the terminal is sent, wherein the video information includes the synchronous source identifier, and The terminal is the video information sent according to the video channel number, port numbers.
Preferably, described judge that the source type of information is added as mobile terminal in the request according to the terminal type;And It is described to be judged whether there is with the source type and the terminal according to the source type and the terminal address information The corresponding video channel of location information, be judged whether there is according to the source type and the terminal address information with it is described Mobile terminal RTP video channel corresponding with the mobile terminal address information.
Preferably, described to judge that the source type of information is added as web browsing in the request according to the terminal type Device end;And it described is judged whether there is and the source type and described according to the source type and the terminal address information The corresponding video channel of terminal address information is judged whether there is according to the source type and the terminal address information RTMP video channel corresponding with the Web browser end and the Web browser end address information.
Preferably, after the video information for receiving the terminal transmission further include:
The video information is parsed, and the picture frame parsed is packaged, obtains encapsulation package;
The encapsulation package is sent to other terminals for having same video channel number with the terminal.
On the other hand, the present invention also provides a kind of live video communication devices comprising:
Receiving module, the request for receiving terminal transmission are added information, request addition information include terminal type, Terminal address information and user identifier;
Distribution module, for distributing video channel number to the user identifier;
Judgment module, for judging that the source type of information, the source is added in the request according to the terminal type Type includes mobile terminal and Web browser end;
Mark module, for being judged whether there is and the source according to the source type and the terminal address information Type and the corresponding video channel of the terminal address information;If it is present identifying the video with the video channel number Channel;If it does not exist, then being established and the source type and described according to the source type and the terminal address information The corresponding video channel of terminal address information, and the video channel is identified with the video channel number.
Preferably, the live video communication device further include:
Creation module, after identifying video channel with the video channel number, according to the user identifier, creation view Frequency user object, and the video user object is added in the video channel of the video channel number mark, simultaneously Parameter information is distributed into the video user object, the parameter information includes corresponding to the video in the video channel The synchronous source identifier of the port numbers of user object and the video information for identifying the terminal transmission;
Sending module, for the video channel number, port numbers to be sent to the terminal with synchronous source identifier;
The receiving module is also used to receive the video information that the terminal is sent, wherein the video information includes institute Synchronous source identifier is stated, and the terminal is the video information sent according to the video channel number, port numbers.
Preferably, the mark module includes RTP unit, sentenced for responding the judgment module according to the terminal type The source type that information is added in the request of breaking is mobile terminal, is according to the source type and terminal address information judgement It is no to there is RTP video channel corresponding with the mobile terminal and the mobile terminal address information.
Preferably, the mark module includes RTMP unit, for responding the judgment module according to the terminal type Judge that the source type of information is added as Web browser end in the request, is believed according to the source type and the terminal address Breath judges whether there is RTMP video channel corresponding with the Web browser end and the Web browser end address information.
Preferably, the live video communication device further include:
Parsing module parses the video information, and will after the video information for receiving the terminal transmission The picture frame parsed is packaged, and obtains encapsulation package;
Sending module is also used to for the encapsulation package being sent to other ends for having same video channel number with the terminal End.
The live video communication method of the embodiment of the present invention, can be applied to server end, can be according to mobile terminal or Web Information is added in the request of browser end, and the user identifier of Xiang Butong distributes same video channel number, can also be added according to request Information judges the type of terminal, and then can transfer or create from server and be directed to the terminal type and terminal address information Video channel, while this method identifies the same video channel number of different video channels, and therefore, this method may be implemented together The mobile terminal and Web browser end of video channel No. one mark carry out live video communication, reduce the requirement to user memory, The retardance for shortening real-time video transmission simultaneously, improves user experience.
Detailed description of the invention
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 live video communication device in another preferred embodiment of Fig. 5 present invention.
The part-structure figure of live video communication device in another preferred embodiment of Fig. 6 present invention.
Specific embodiment
In order to clearly understand technical solution of the present invention, describe in detail with reference to the accompanying drawing to the present invention. The embodiment of the present invention has an illustrative effect, those skilled in the art made 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 comprising following steps:
S101: it receives the request that terminal is sent and information is added, it includes terminal type, terminal address that information, which is added, in the request Information and user identifier.
The terminal can be mobile terminal (such as: mobile phone) or Web browser end.If mobile end subscriber thinks and web browsing Device end subscriber carries out live video communication, upload request information, institute can be added at the interactive entrance of the WAP web page of mobile terminal Stating request and information being added should include terminal type, terminal address information and user identifier.Wherein, it is to move that terminal type, which contains, Moved end or Web browser end;Terminal address information is the network address information of terminal, passes through the corresponding terminal of the address information The video information of other terminals can be shared;User identifier can be the information for indicating user identity ID (identity). It on the other hand, can be at Web browser end if the user at Web browser end wants to carry out live video communication with mobile end subscriber Information is added in upload request at the interactive entrance of the Web page at end.
Generally, when request is added user for the first time, it can also include contact information that information, which is added, in the request (such as: E-mail address, telephone number).
S102: Xiang Suoshu user identifier distributes video channel number.
After information is added in the request that received server-side terminal is sent, user identifier therein can be extracted, and to this User identifier distributes video channel number.The video channel number refers to the mark of corresponding video channel.
The video channel number can be receive user request be added information after generate (such as: the video Channel number can be ID and current time generation according to the user);It is also possible to pre-set video channel number, receives To after the request addition information of user, it is randomly assigned to the video channel number that the user is left unused.Both of these case is applicable to use The dynamic creation video channel number of householder, i.e., be not added other terminal users currently in the corresponding video channel of the video channel number.
It, can be according to asking in addition, if it includes specified video channel number in information that the request that terminal user sends, which is added, Addition information is sought, the video channel number being assigned distributes to the terminal user.Such case, which is applicable to the terminal user, to be made It is that other terminal users have been added to the video channel correspondence with other terminal users video channel number currently in use Video channel in.
S103: judge that the source type of information is added in the request according to the terminal type, the source type includes Mobile terminal and Web browser end.
Judge that the source type of information is added in the request, as a result can be mobile terminal either Web browser end.Judgement The source type of information is added in the request out, can be convenient subsequent according to the different targeted videos of source type creation Channel can rapidly be transferred to other terminals with the video information for facilitating terminal to send.
S104: it is judged whether there is and the source type and institute according to the source type and the terminal address information State the corresponding video channel of terminal address information;If it is present identifying the video channel with the video channel number;If It is not present, is then established according to the source type and the terminal address information and believed with the source type and the terminal address The corresponding video channel of manner of breathing, and the video channel is identified with the video channel number.
The video channel corresponding with the source type and the terminal address information, refers to and can adapt to the end The video channel for propagating real-time video is carried out between end and server.If it is present being marked with the video channel number Know the video channel;If it does not exist, then server will be created, and the new creation is identified with the video channel number Video channel.
It is described that view corresponding with the video channel number is established according to the source type and the terminal address information Frequency channel refers to for different mobile terminals or different Web browser ends, can create different video channels.
Such as: for mobile end subscriber A, server can be judged whether there is first according to source type suitable for mobile terminal Video channel, if so, judging whether video channel is suitable for mobile end subscriber A further according to terminal address information, if applicable In mobile end subscriber A, then the video channel is identified with the video channel number, at this point, server does not have to for mobile end subscriber A wound Build new video channel;It is of course also possible to which further, server judges that the video channel is used for mobile end subscriber A It is whether most fast when biography or foradownloaded video information, if it is not, then server end can be according to present case (such as: current number According to flow), most suitable video channel is created for mobile end subscriber A;If according to source type judgement without being suitable for movement The video channel at end, or the video channel suitable for mobile terminal is had according to source type judgement, but believed according to terminal address Breath judges that video channel is not suitable for mobile end subscriber A, then server can be built according to mobile terminal and mobile end subscriber A address information Video channel corresponding with source type and terminal address information is found, and identifies the video channel with the video channel number.
If Web browser end subscriber B needs to carry out the transmission of real-time video information, web browsing with mobile end subscriber A Device end subscriber B can send request to server end and information is added, and be judged, it is Web browser end that information, which is added, in request, then takes Business device first can judge whether there is the video channel suitable for Web browser end according to source type, if so, further according to terminal Address information judges whether video channel is suitable for Web browser end subscriber B, if applicable in Web browser end subscriber B, then The video channel is identified with the video channel number;If according to source type judgement without the view suitable for Web browser end Frequency channel, or the video channel suitable for 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 establish with video channel corresponding with source type and terminal address information, and with the video channel number mark The video channel.
After being assigned with corresponding video channel for different terminal users, mobile end subscriber A and Web browser end B Real-time video transmission can be carried out by server.
In general, if terminal user actively creates video channel number, and video channel number is the correlation letter according to the user It ceases newly-generated, then should judge in the server with the presence or absence of corresponding video channel;If it is present by the video channel with The video channel number is corresponding, while it is newly-generated for needing to modify the corresponding video channel number of the video channel in memory Video channel number;If it does not exist, then establishing video channel corresponding with the video channel number.
If user actively creates video channel number, and video channel number is the idle video channel number being randomly assigned, If there are corresponding video channels for the idle video channel number, and if through required for the judgement user, then not needing Establish new video channel;If it is not, then needing to establish new video channel corresponding with the video channel number, while needing It is newly-built video channel that the corresponding video channel of the video channel number is modified in memory.
The embodiment of the present invention can be carried out according to the sequence of S101, S102, S103, S104, can also be according to other conjunctions Suitable sequence, such as: the sequence etc. of S101, S103, S102, S104.
The live video communication method of the embodiment of the present invention, can be applied to server end, can be according to mobile terminal or Web Information is added in the request of browser end, and the user identifier of Xiang Butong distributes same video channel number, can also be added according to request Information judges the type of terminal, and then can transfer or create from server and be directed to the terminal type and terminal address information Video channel, while this method identifies the same video channel number of different video channels, and therefore, this method may be implemented together The mobile terminal and Web browser end of video channel No. one mark carry out live video communication, reduce the requirement to user memory, The retardance for shortening real-time video transmission simultaneously, improves user experience.
On the basis of live video communication method shown in Fig. 1, regarded as shown in Fig. 2, being identified with the video channel number After frequency channel, further includes:
S105: according to the user identifier, creating video user object, and the video user object is added to described In the video channel of video channel number mark, while parameter information is distributed into the video user object, the parameter Information includes corresponding to the port numbers of the video user object in the video channel and sending for identifying the terminal The synchronization source identifier of video information.
It is described that parameter information is distributed into the video user object, can make the terminal of the video user object by its Video information synchronous source identifier (SSRC) mark, and it is sent to server according to port numbers, server is believed according to synchronous Source identifier distinguishes the video information, in order to which the video information is sent to other desired terminal.
S106: the video channel number, port numbers are issued into the terminal with synchronous source identifier.
S107: the video information that the terminal is sent is received, wherein the video information includes synchronous source identifier, And the terminal is the video information sent according to the video channel number, port numbers.
If the synchronization source identifier in the video information that the terminal that server receives is sent is not server Send past, then server can lose the video information, and not have to be transmitted to other terminals.
The embodiment of the present invention can make server for port numbers and be used to identify the same of the video information that the terminal is sent Step source identifier is sent to terminal, in order to which terminal sends according to the port numbers video information of the synchronization source identity, It facilitates server and differentiates the source of video information according to the synchronization source identifier, and then server is facilitated to believe real-time video Breath is transmitted to other terminals.
On the basis of live video communication method shown in Fig. 1, wherein described according to terminal type judgement The source type that information is added in request is mobile terminal;And it is described according to the source type and the terminal address information judgement be It is no to there is video channel corresponding with the source type and the terminal address information, it is according to the source type and institute It states terminal address information and judges whether there is RTP video channel corresponding with the mobile terminal and the mobile terminal address information.
The RTP(Real-time Transport Protocol, real-time transport protocol) video channel, using UDP (User Datagram Protocol, User Datagram Protocol) connection, can transmit the encapsulation package of Real-time Transport Protocol encapsulation, pass Defeated speed is fast, and retardance is smaller.
On the basis of live video communication method shown in Fig. 1, wherein described according to terminal type judgement The source type that information is added in request is Web browser end;And it is described according to the source type and the terminal address information Video channel corresponding with the source type and the terminal address information is judged whether there is, is according to the source class Type and the terminal address information judge whether there is opposite with the Web browser end and the Web browser end address information The RTP video channel answered.
The RTMP(Real Time Messaging Protocol, real-time messages transport protocol) video channel, it uses TCP(Transmission Control Protocol transmission control protocol) connection, the encapsulation of RTMP encapsulation can be transmitted Packet.
On the basis of live video communication method shown in Fig. 1, live video communication method as shown in Figure 3 is described After the video information for receiving the terminal transmission further include:
S108: the video information is parsed, and the picture frame parsed is packaged, obtains encapsulation package.
S109: the encapsulation package is sent to other terminals for having same video channel number with the terminal.
The embodiment of the invention also provides live video communication devices as shown in Figure 4 comprising:
Receiving module, the request for receiving terminal transmission are added information, request addition information include terminal type, Terminal address information and user identifier;
Distribution module, for distributing video channel number to the user identifier;
Judgment module, for judging that the source type of information, the source is added in the request according to the terminal type Type includes mobile terminal and Web browser end;
Mark module, for being judged whether there is and the source according to the source type and the terminal address information Type and the corresponding video channel of the terminal address information;If it is present identifying the video with the video channel number Channel;If it does not exist, then being established and the source type and described according to the source type and the terminal address information The corresponding video channel of terminal address information, and the video channel is identified with the video channel number.
Preferably, live video communication device as shown in Figure 5, further includes:
Creation module, after identifying video channel with the video channel number, according to the user identifier, creation view Frequency user object, and the video user object is added in the video channel of the video channel number mark, simultaneously Parameter information is distributed into the video user object, the parameter information includes corresponding to the video in the video channel The synchronous source identifier of the port numbers of user object and the video information for identifying the terminal transmission;
Sending module, for the video channel number, port numbers to be sent to the terminal with synchronous source identifier;
The receiving module is also used to receive the video information that the terminal is sent, wherein the video information includes institute Synchronous source identifier is stated, and the terminal is the video information sent according to the video channel number, port numbers.
Wherein, the mark module includes RTP unit, is judged for responding the judgment module according to the terminal type The source type that information is added in the request is mobile terminal, is judged whether according to the source type and the terminal address information In the presence of RTP video channel corresponding with the mobile terminal and the mobile terminal address information.
Preferably, the mark module includes RTMP unit, for responding the judgment module according to the terminal class Type judges that the source type of information is added for Web browser end, according to the source type and the terminal address in the request Information judges whether there is RTMP video channel corresponding with the Web browser end and the Web browser end address information.
On the basis of live video communication device shown in Fig. 5, live video communication device as shown in FIG. 6, also Include:
Parsing module parses the video information, and will after the video information for receiving the terminal transmission The picture frame parsed is packaged, and obtains encapsulation package;
The sending module, be also used to for the encapsulation package being sent to the terminal have same video channel number its His terminal.
The above, only the embodiment of the present invention, but scope of protection of the present invention is not limited thereto, it is any to be familiar with sheet Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover at this Within the protection scope of invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of live video communication method, which comprises the following steps:
It receives the request that terminal is sent and information is added, it includes terminal type, terminal address information and use that information, which is added, in the request Family mark;
Video channel number is distributed to the user identifier;
According to the terminal type judge it is described request be added information source type, the source type include mobile terminal and Web browser end;
It is judged whether there is with the source type and the terminal according to the source type and the terminal address information The corresponding video channel of location information;If it is present identifying the video channel with the video channel number;If it does not, It is then established according to the source type and the terminal address information opposite with the source type and the terminal address information The video channel answered, and the video channel is identified with the video channel number.
2. live video communication method according to claim 1, which is characterized in that identify video with the video channel number After channel, further includes: according to the user identifier, create video user object, and the video user object is added to In the video channel of the video channel number mark, while parameter information is distributed into the video user object, it is described Parameter information includes in the video channel corresponding to the port numbers of the video user object and for identifying the terminal hair The synchronization source identifier for the video information sent;
The video channel number, port numbers are sent to the terminal with synchronous source identifier;
Receive the video information that the terminal is sent, wherein the video information includes the synchronous source identifier, and described Terminal is the video information sent according to the video channel number, port numbers.
3. live video communication method according to claim 1, which is characterized in that described to be judged according to the terminal type The source type that information is added in the request is mobile terminal;And described sentenced according to the source type and the terminal address information It is disconnected to whether there is video channel corresponding with the source type and the terminal address information, it is according to the source type It is logical that RTP video corresponding with the mobile terminal and the mobile terminal address information is judged whether there is with the terminal address information Road.
4. live video communication method according to claim 1, which is characterized in that described to be judged according to the terminal type The source type that information is added in the request is Web browser end;And it is described according to the source type and the terminal address Information judges whether there is video channel corresponding with the source type and the terminal address information, be according to it is described come Source Type and the terminal address information judge whether there is and the Web browser end and the Web browser end address information Corresponding RTMP video channel.
5. live video communication method according to claim 2, which is characterized in that the view for receiving the terminal and sending After frequency information further include:
The video information is parsed, and the picture frame parsed is packaged, obtains encapsulation package;
The encapsulation package is sent to other terminals for having same video channel number with the terminal.
6. a kind of live video communication device characterized by comprising
Information is added in receiving module, the request for receiving terminal transmission, and it includes terminal type, terminal that information, which is added, in the request Address information and user identifier;
Distribution module, for distributing video channel number to the user identifier;
Judgment module, for judging that the source type of information, the source type is added in the request according to the terminal type Including mobile terminal and Web browser end;
Mark module, for being judged whether there is and the source type according to the source type and the terminal address information Video channel corresponding with the terminal address information;If it is present identifying the video channel with the video channel number; If it does not exist, then being established with the source type and the terminal according to the source type and the terminal address information The corresponding video channel of location information, and the video channel is identified with the video channel number.
7. live video communication device according to claim 6, which is characterized in that further include:
Creation module, according to the user identifier, creates video and uses after identifying video channel with the video channel number Family object, and the video user object is added in the video channel of the video channel number mark, while will ginseng Number information distributes to the video user object, and the parameter information includes corresponding to the video user in the video channel The synchronous source identifier of the port numbers of object and the video information for identifying the terminal transmission;
Sending module, for the video channel number, port numbers to be sent to the terminal with synchronous source identifier;
The receiving module is also used to receive the video information that the terminal is sent, wherein the video information includes described same Source identifier is walked, and the terminal is the video information sent according to the video channel number, port numbers.
8. live video communication device according to claim 6, which is characterized in that the mark module includes RTP unit, For respond the judgment module according to the terminal type judge it is described request be added information source type for mobile terminal, root It is judged whether there is and the mobile terminal and the mobile terminal address information phase according to the source type and the terminal address information Corresponding RTP video channel.
9. live video communication device according to claim 6, which is characterized in that the mark module includes RTMP mono- Member, it is clear for Web for responding the source type that the judgment module judges that information is added in the request according to the terminal type It lookes at device end, is judged whether there is and the Web browser end and the Web according to the source type and the terminal address information The corresponding RTMP video channel of browser end address information.
10. live video communication device according to claim 7, which is characterized in that further include:
Parsing module parses the video information, and will parsing after the video information for receiving the terminal transmission Picture frame out is packaged, and obtains encapsulation package;
Sending module is also used to for the encapsulation package being sent to other terminals for having same video channel number with the 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 CN106231231A (en) 2016-12-14
CN106231231B true 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
CN106231231A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN108600376B (en) Data transmission method and device based on LoRa, LoRa gateway, system and storage medium
EP1889450A1 (en) System and method for performing mobile services, in particular push and pull services in a wireless communication network
EP2710776B1 (en) Anonymous signalling
US7433344B2 (en) Mobile communication system and method for providing real time messenger service among mobile communication terminals
CN101141414B (en) Method, system and instant communication client terminal of implementing feedback of advertisement grade
CN109327493A (en) A kind of remote medical monitoring system based on cloud and monitoring method
CN111224792B (en) Conference access method and device
CN101237332A (en) Billing method, billing system and traffic statistical device
CN106533932A (en) Method and device for pushing instant message
CN110113306A (en) Distribute the method and the network equipment of data
CN102611948A (en) Method for sharing and issuing audios and videos of mobile internet terminal
CN104010001A (en) Method and system for carrying out connection communication on same networking requests in mobile terminal
CN107026861A (en) A kind of plug-flow method and device
CN102158810A (en) Method of downloading application based on multicast mode, device and system
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings
WO2009011968A1 (en) Endpoint discriminator in network transport protocol startup packets
CN106231231B (en) Live video communication method and apparatus
CN102368767B (en) Internet acceleration method and system based on HFC (hybrid fiber coaxial) network
CN101834894A (en) Method, device and system for remote processing
US20190098351A1 (en) Method for managing the access right to an item of digital content
CN106230915A (en) A kind of method and system realizing function machine intelligent communication
WO2012034328A1 (en) Method and equipment for adjusting download speed of mobile terminal
CN107231567B (en) Message transmission method, device and system
CN104935571B (en) A kind of exchange method of video game server-side and client
WO2015106524A1 (en) Method, apparatus and server for notifying/sending usage of service package

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