CN105898620A - Multimedia real-time live broadcast method and device - Google Patents
Multimedia real-time live broadcast method and device Download PDFInfo
- Publication number
- CN105898620A CN105898620A CN201510843743.XA CN201510843743A CN105898620A CN 105898620 A CN105898620 A CN 105898620A CN 201510843743 A CN201510843743 A CN 201510843743A CN 105898620 A CN105898620 A CN 105898620A
- Authority
- CN
- China
- Prior art keywords
- rtmp
- stream
- server
- real
- streaming
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2389—Multiplex stream processing, e.g. multiplex stream encrypting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6131—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network
Abstract
The invention relates to the technical field of communication, and discloses a multimedia real-time live broadcast method and device. The method comprises the steps that a multimedia stream is received; the received multimedia stream is converted into a real-time message protocol RTMP stream; and the RTMP stream is transmitted to a server, so that the server distributes the RTMP stream to realize real-time multimedia stream live broadcast. According to the invention, multimedia acquired in real time is transmitted to the server; the server carried out distribution to realize real-time multimedia playback; moreover, since the RTMP stream is used for multimedia transmission, a variety of communications networks are used to carry multimedia data; and a user can carry out real-time multimedia playback in a variety of environments.
Description
Technical field
The present invention relates to communication technical field, in particular it relates to a kind of method of multimedia real-time live broadcast and
Device.
Background technology
Along with the development of intelligent terminal's technology, user carries out video capture and audio sound-recording becomes increasingly to hold
Easily.User after completing video capture or audio sound-recording, may wish to by this video or audio frequency and other people
Share.In this case, the problem needing to solve how to share multi-medium data with other people.
Correlation technique use various ways carry out sharing of multi-medium data.Such as, complete at video capture
Cheng Hou, issues this video in JICQ so that the good friend in same group can share user
Video.Or, after video capture completes, by video distribution in platform website so that Gong Zhongke
To browse to the video of user's shooting.The method of above-mentioned multimedia, is all to complete multimedia user
Sharing after data recording, it cannot realize multimedia real-time play.Therefore, for existing
Technology need to provide a kind of can the technology of real-time playing multimedia.
Summary of the invention
The method and apparatus that it is an object of the invention to provide multimedia real-time live broadcast, to solve or at least portion
Ground is divided to solve above-mentioned technical problem.
To achieve these goals, the present invention provides a kind of method of multimedia real-time live broadcast, the method bag
Include: receive media stream;The media stream of reception is converted into real-time messages host-host protocol RTMP stream;
Described RTMP is streaming to server, so that described RTMP stream is distributed by described server
Realize the real-time live broadcast of media stream.
Preferably, described reception media stream includes: receive picture shooting assembly shooting in described terminal unit
Video and/or audio data stream.
Preferably, the described real-time messages host-host protocol RTMP stream that is converted into by the media stream of reception includes:
Call medium recorder in the operating system of terminal unit and the media stream of reception is encoded into real-time Transmission
Protocol RTP stream;Rtp streaming is carried out form conversion, rtp streaming is converted to RTMP stream.
Preferably, described described RTMP be streaming to server include: after receiving sign on,
Obtain IP address and the port numbers of server;According to the IP address of server obtained and port numbers and institute
State server and set up connection;Utilize the connection set up that described RTMP is streaming to described server.
Preferably, described method also includes: after receiving halt instruction, stops spreading described RTMP
It is defeated by described server, and stops the media stream of reception is converted into RTMP stream.
According to a further aspect in the invention, it is provided that the device of a kind of multimedia real-time live broadcast, this device includes:
Multimedia reception module, is used for receiving media stream;Data conversion module, for the multimedia that will receive
Circulation turns to real-time messages host-host protocol RTMP stream;Data transmission module, for by described RTMP
It is streaming to server, so that described RTMP stream is distributed realizing media stream by described server
Real-time live broadcast.
Preferably, described multimedia reception module is for receiving picture shooting assembly shooting in described terminal unit
Video and/or audio data stream.
Preferably, described data conversion module medium recorder in the operating system calling terminal unit
The media stream of reception is encoded into realtime transmission protocol RTP stream;Rtp streaming is carried out form conversion,
Rtp streaming is converted to RTMP stream.
Preferably, described device also includes: command reception module, is used for receiving sign on;Described number
According to transport module for after described command reception module receives sign on, obtain the IP of server
Address and port numbers;IP address and port numbers according to the server obtained are set up even with described server
Connect;Utilize the connection set up that described RTMP is streaming to described server.
Preferably, described device also includes: command reception module, is used for receiving halt instruction;Described number
Being additionally operable to after described command reception module receives halt instruction according to transport module, stopping is by described
RTMP is streaming to described server;Described data conversion module is additionally operable in described command reception module
After receiving halt instruction, stop the media stream of reception is converted into RTMP stream.
By technique scheme, after receiving media stream, the media stream of reception is converted into
RTMP (real-time messages host-host protocol) flows, and RTMP is streaming to server, so that server pair
RTMP stream is distributed realizing the real-time live broadcast of media stream.So, because receiving media stream
While use RTMP by the multimedia transmission that receives to server, it is possible to many by obtaining in real time
Media transmission, to server, is distributed by server and is realized multimedia real-time play.Additionally, because
RTMP stream is used to carry out multimedia transmission, it is possible to use the fortune of various communication networks, such as 3G, 4G
Battalion business's network, WIFI (WLAN) network, bearing multimedia data, and then allow users to
Multimedia real-time play is carried out under multiple environment.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with
Detailed description below is used for explaining the present invention together, but is not intended that limitation of the present invention.?
In accompanying drawing:
Fig. 1 is the flow chart of the method for the multimedia real-time live broadcast according to the embodiment of the invention;
Fig. 2 is the method that media stream is converted into RTMP stream according to the embodiment of the invention
Flow chart;
Fig. 3 is the method that RTMP is streaming to server according to the embodiment of the invention
Flow chart;
Fig. 4 is the application scenarios schematic diagram according to the embodiment of the invention;
Fig. 5 is the flow chart of the method for the multimedia real-time live broadcast according to the embodiment of the invention;
Fig. 6 is the structure chart of the device of the multimedia real-time live broadcast according to the embodiment of the invention;
Fig. 7 is the structure chart of the device of the multimedia real-time live broadcast according to the embodiment of the invention;
And
Fig. 8 is the structure chart of the system of the multimedia real-time live broadcast according to the embodiment of the invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that
Detailed description of the invention described herein is merely to illustrate and explains the present invention, is not limited to the present invention.
Fig. 1 is the flow chart of the method for the multimedia real-time live broadcast according to the embodiment of the invention,
The method can be used for terminal unit, described terminal unit can include mobile phone, PAD (panel computer) or
PC (PC) etc..Described multimedia can include video, audio frequency or audio frequency and video etc..As it is shown in figure 1,
The method can comprise the steps S110-S130.
In step s 110, media stream is received.
In one embodiment, described reception media stream can include picture shooting assembly shooting in receiving terminal apparatus
Video and/or audio data stream.Wherein, picture shooting assembly can include photographic head (such as, preposition shooting
Head or post-positioned pick-up head) and mike etc. can carry out the assembly of audio frequency, video capture.
Below with picture shooting assembly as photographic head, as a example by media stream is video data stream, above-mentioned steps is entered
Row exemplary illustration.
APP (application) is installed in terminal unit.After APP opens, call taking the photograph in terminal unit
As head, surrounding is shot.Alternatively, it is possible to arrange shooting push button in APP, when
When shooting push button is clicked on by user after APP opens, receive sign on;Receive sign on
After, call the photographic head in terminal unit, surrounding is shot.Afterwards, APP receives shooting
The video data of head shooting.Selectively, can be when calling photographic head and carrying out video capture, in terminal
Screen shows video pictures in real time that photograph.This video pictures can be displayed in full screen, it is also possible to passes through
Scalable window shows.
Alternatively, it is possible to insert plug-in unit in the camera applications of terminal unit, when start button in plug-in unit
After clicked, receive sign on.After receiving sign on, plug-in unit receives camera applications by taking the photograph
Video data stream as head shooting.
Wherein, after receiving a frame complete in audio or video or many frame data, can proceed by
RTMP as described below flows transformation process.
Described above is exemplary illustration, can receive regarding of various picture shooting assembly shooting in above-mentioned steps
Frequently, audio frequency or audio and video data streams.Such as, insert by the APP installed or in existing APP
Plug-in unit, receives the voice data stream that mike receives.
In the step s 120, the media stream of reception is converted into RTMP stream.
For example, it is possible to the media stream of reception is converted into RTMP by the chip that processes in terminal unit
Stream.After the frame receiving audio or video or many frame data, can proceed by and be converted into RTMP
The process of stream.As a example by 25 frames per second, every frame 40 milliseconds, after receiving media stream 40 milliseconds,
The process being converted into RTMP stream can be started.
In one embodiment, as in figure 2 it is shown, the described RTMP stream that is converted into by the media stream of reception wraps
Include following steps S122 and step S124.
In step S122, call many matchmakers that in the operating system of terminal unit, medium recorder will receive
Body stream encryption becomes rtp streaming.
In step S124, rtp streaming is carried out form conversion, rtp streaming is converted to RTMP stream.
In case of Android system being installed in terminal unit, illustrative to the present embodiment.
In terminal unit, call the MediaRecorder (medium recorder) of Android by the video received,
Audio frequency or audio/video coding are rtp streaming.After obtaining the data of rtp streaming, the one of rtp streaming by the time
After individual or multiple packets can parse a frame or many frame data, RTMP can be proceeded by and convert, will
Rtp streaming is converted to RTMP stream.Such as, by FFmpeg, (FFmpeg is that a set of can be used to is remembered
Record, converted digital audio, video, and the computer program of increasing income of stream can be translated into) in form
Rtp streaming is converted to RTMP stream by conversion.
In the present embodiment, the media stream coding that in operating system, medium recorder will receive is directly invoked
Become rtp streaming, then by form conversion, rtp streaming is converted to RTMP stream, so, it is possible minimizing and open
Send out workload, thus reduce development cost, improve development efficiency.
In step s 130, RTMP is streaming to server, so that RTMP is flow to by server
Row distribution realizes the real-time live broadcast of media stream.
RTMP can be transmitted by TCP/IP or UDP/IP connection.
In one embodiment, as it is shown on figure 3, the described server that is streaming to by RTMP includes walking as follows
Rapid S132-S136.In step S132, after receiving sign on, obtain the IP ground of server
Location and port numbers.In step S134, according to the IP address of server obtained and port numbers and service
Device is set up and is connected.In step S136, utilize the connection set up that RTMP is streaming to server.
For example, terminal unit is installed APP, APP arranges shooting push button, when at APP
When shooting push button is clicked on by user after unlatching, receive sign on.After receiving sign on, obtain
Take IP address and the port numbers of server.Wherein it is possible to directly obtain clothes from the configuration file of APP
The IP address of business device and port numbers;The domain name of server can also be obtained from the configuration file of APP,
The domain name of server is carried out domain name mapping, consults with server according to the server ip address being resolved to
Obtain port numbers, be transmitted layer according to IP address and port numbers with server and be connected (such as, TCP/IP
Or UDP/IP connects), RTMP is streaming to server by the transport layer connection that recycling is set up.Clothes
Business device can include live cloud platform server.Server is after receiving RTMP stream, available
HLS (streaming media solutions based on http protocol, HTTP Live Streaming), to RTMP
Stream is distributed.It is, use HLS technology, media stream is cut into small pieces TS and sets up rope
Quotation part m3u8, then utilizes m3u8 to carry out media stream distribution.And then by server to terminal
The multi-medium data of equipment shooting carries out live.
It will be understood by those skilled in the art that the time not having between above-mentioned steps S110 and S130
Order limits.Such as, in terminal unit install APP, APP arranges shooting push button, when
When shooting push button is clicked on by user after APP unlatching, receive sign on, now call in terminal unit
Picture shooting assembly surrounding is shot, the media stream of shooting is converted into RTMP stream and delays
Deposit.While carrying out above-mentioned process, IP address and the port numbers of server can be obtained, with server
Set up and connect, read the RTMP stream in caching afterwards, utilize the connection set up to be sent by RTMP stream
To server.
In one embodiment, described method may also include that after receiving halt instruction, stops RTMP
It is streaming to server, and stops the media stream of reception is converted into RTMP stream.
For example, terminal unit is installed APP, APP arranges stop button, works as stopping
When button is clicked on by user, receive halt instruction;After receiving halt instruction, stop flowing RTMP
It is transferred to server, and stops the media stream of reception is converted into RTMP stream.Selectively, connecing
After receiving halt instruction, it is also possible to stop receiving media stream.Such as, exit and picture shooting assembly called,
And the video pictures display window in screen is closed.
Use method in the present embodiment, it is possible to by the multimedia transmission that obtains in real time to server, by clothes
Business device distribution realizes multimedia real-time play.Additionally, because using RTMP stream to carry out multimedia transmission,
The carrier network of various communication network, such as 3G, 4G, WIFI (WLAN) can be utilized
Network, bearing multimedia data, and then allow users to carry out in a variety of contexts multimedia real-time play.
And it is possible to the media stream of reception is encoded into by directly invoking medium recorder in operating system
Rtp streaming, then rtp streaming is converted to RTMP stream so that the conversion that media stream to RTMP flows is more
Add easily realization, reduce development cost, improve development efficiency.
Fig. 4 is the application scenarios schematic diagram according to the embodiment of the invention.As shown in Figure 4, eventually
End device A is connected with Cloud Server by network, and Cloud Server passes through network by many for terminal unit A
Media data is distributed to terminal unit 1~n.Wherein, terminal unit A is provided with Android system, in peace
Tall and erect system is installed for realizing live APP, APP is provided with shooting push button and stop button,
The configuration file of APP is configured with IP address and the port numbers of server.Fig. 5 is according to the present invention one
The flow chart of the method for the multimedia real-time live broadcast of detailed description of the invention, as it is shown in figure 5, the method includes
Following steps.
In step S510, when shooting push button is clicked, receive sign on, call photographic head
Carry out video capture, the video data of reception shooting, and obtain IP address and the port numbers of server,
It is connected with Cloud Server foundation according to IP address and port numbers.In step S520, call Android system
The media stream of reception is encoded into rtp streaming by middle MediaRecorder.In step S530, pass through
FFmpeg carries out form conversion to rtp streaming, and rtp streaming is converted to RTMP stream.In step S540
In, utilize the connection set up with Cloud Server, RTMP is streaming to Cloud Server, so that cloud service
This RTMP stream is distributed by device.In step S550, when stop button is clicked, receive
Halt instruction, stops being streaming to RTMP server, and stops being converted into the media stream of reception
RTMP flows, and exits and calls photographic head.
To using photographic head to carry out video capture in the present embodiment, video is carried out live method and shows
Example explanation.Use mike carry out audio recording, audio frequency is carried out live, and use photographic head and
Mike carries out audio frequency and video shooting, audio frequency and video is carried out live method similar, does not repeats them here.
In the above description only present invention, method has carried out exemplary illustration, and this explanation is not used in and limits this
Bright.Any those skilled in the art it will be appreciated that any equivalent means all the guarantor of the present invention
Within the scope of protecting.
A kind of method also providing for multimedia real-time live broadcast according to the present invention, the method includes: terminal unit
Perform aforementioned arbitrary described method;Server receives the RTMP stream that terminal unit sends, to RTMP
Stream is distributed realizing multimedia real-time live broadcast.
As it was previously stated, install APP in terminal unit.After APP opens, terminal unit calls to be taken the photograph
As surrounding is shot by head, receive media stream.Terminal unit calls Android
The Video coding of reception is rtp streaming by MediaRecorder, by the time one or more data of rtp streaming
After bag can parse a frame or many frame data, proceed by RTMP and convert, rtp streaming is converted to
RTMP flows.RTMP is streaming to server by the connection between server by terminal unit.Service
Device after receiving RTMP stream, available HLS (streaming media solutions based on http protocol,
HTTP Live Streaming) RTMP flow point issued other-end equipment, and then realize terminal is set
The real-time live broadcast of the media stream of standby shooting.
Fig. 6 is the structure chart of the device of the multimedia real-time live broadcast according to the embodiment of the invention.
Described terminal unit can include mobile phone, PAD (panel computer) or PC (PC) etc..Described
Multimedia can include video, audio frequency or audio frequency and video etc..As shown in Figure 6, this device includes such as lower module:
Multimedia reception module 610, is used for receiving media stream;Data conversion module 620, for receiving
Media stream be converted into real-time messages host-host protocol RTMP stream;And data transmission module 630, use
In RTMP is streaming to server, so that RTMP stream is distributed realizing many matchmakers by server
The real-time live broadcast of body stream.
In one embodiment, multimedia reception module 610 picture shooting assembly shooting in receiving terminal apparatus
Video and/or audio data stream.
In one embodiment, data conversion module 620 media in the operating system calling terminal unit
The media stream of reception is encoded into realtime transmission protocol RTP stream by recorder;Rtp streaming is carried out form
Conversion, is converted to RTMP stream by rtp streaming.
In one embodiment, as it is shown in fig. 7, device also includes: command reception module 710.
Command reception module 710 is used for receiving sign on;Data transmission module 630 is for connecing in instruction
After receipts module 710 receives sign on, obtain IP address and the port numbers of server;According to acquisition
The IP address of server and port numbers set up with server and be connected;Utilize the connection set up by RTMP
It is streaming to server.
In one embodiment, as it is shown in fig. 7, device also includes: command reception module 710, this instruction
Receiver module 710 is used for receiving halt instruction;Data transmission module 630 is additionally operable in command reception module
After 710 receive halt instruction, stop RTMP being streaming to server.Data conversion module 620
It is additionally operable to after command reception module 710 receives halt instruction, stops converting the media stream received
Flow for RTMP.
Below with picture shooting assembly as photographic head, as a example by media stream is video data stream, said apparatus is entered
Row exemplary illustration.
APP is installed in terminal unit, APP arranges shooting push button, clap after opening at APP
Taking the photograph button when being clicked on by user, command reception module 710 receives sign on;In command reception module
After 710 receive sign on, multimedia reception module 610 is called photographic head and is carried out video capture, connects
The over video data taken the photograph, data transmission module 630 obtains IP address and port numbers, the root of server
It is connected with Cloud Server foundation according to IP address and port numbers.Data conversion module 620 calls Android system
The media stream of reception is encoded into rtp streaming by middle MediaRecorder, by FFmpeg to rtp streaming
Carry out form conversion, rtp streaming is converted to RTMP stream.Data transmission module 630 utilizes and takes with cloud
The connection that business device is set up, is streaming to Cloud Server by RTMP, so that Cloud Server is to this RTMP
Stream is distributed.When stop button is clicked, command reception module 710 receives halt instruction, number
Stopping being streaming to RTMP server according to transport module 630, data conversion module 620 stops connecing
The media stream received is converted into RTMP stream, and multimedia reception module 610 exits to be called photographic head.
Use device in the present embodiment, it is possible to by the multimedia transmission that obtains in real time to server, by clothes
Business device distribution realizes multimedia real-time play.Additionally, because using RTMP stream to carry out multimedia transmission,
The carrier network of various communication network, such as 3G, 4G, WIFI (WLAN) can be utilized
Network, bearing multimedia data, and then allow users to carry out in a variety of contexts multimedia real-time play.
And it is possible to the media stream of reception is encoded into by directly invoking medium recorder in operating system
Rtp streaming, then rtp streaming is converted to RTMP stream so that the conversion that media stream to RTMP flows is more
Add easily realization, reduce development cost, improve development efficiency.
Fig. 8 is the structure chart of the system of the multimedia real-time live broadcast according to the embodiment of the invention.
As shown in Figure 8, this system includes: include the terminal unit 100 of aforementioned arbitrary described device, and
Server 200, the RTMP stream sent for receiving terminal apparatus 100, RTMP stream is distributed
To realize the real-time live broadcast of media stream.
As it was previously stated, multimedia reception module 610 calls photographic head, surrounding is shot, receive
Media stream.Data conversion module 620 calls the Video coding that the MediaRecorder of Android will receive
For rtp streaming, after one or more packets of rtp streaming can parse a frame or many frame data by the time,
Proceed by RTMP to convert, rtp streaming is converted to RTMP stream.Data transmission module 630 passes through
And RTMP is streaming to server by the connection between server 200.Server 200 is receiving RTMP
After stream, RTMP flow point is issued other-end equipment by available HLS, and then realizes terminal unit
The real-time live broadcast of the media stream of 100 shootings.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention does not limit
Detail in above-mentioned embodiment, in the technology concept of the present invention, can be to the present invention
Technical scheme carry out multiple simple variant, these simple variant belong to protection scope of the present invention.
It is further to note that each the concrete technical characteristic described in above-mentioned detailed description of the invention,
In the case of reconcilable, can be combined by any suitable means.
Additionally, combination in any can also be carried out between the various different embodiment of the present invention, as long as its
Without prejudice to the thought of the present invention, it should be considered as content disclosed in this invention equally.
Claims (10)
1. a method for multimedia real-time live broadcast, for terminal unit, the method includes:
Receive media stream;
The media stream of reception is converted into real-time messages host-host protocol RTMP stream;
Described RTMP is streaming to server, so that described RTMP stream is carried out by described server
Distribution realizes the real-time live broadcast of media stream.
Method the most according to claim 1, it is characterised in that described reception media stream includes:
Receive the video and/or audio data stream of picture shooting assembly shooting in described terminal unit.
Method the most according to claim 1 and 2, it is characterised in that the described many matchmakers that will receive
Body circulation turns to real-time messages host-host protocol RTMP stream and includes:
Call medium recorder in the operating system of terminal unit to be encoded in real time by the media stream of reception
Host-host protocol rtp streaming;
Rtp streaming is carried out form conversion, rtp streaming is converted to RTMP stream.
Method the most according to claim 1 and 2, it is characterised in that described by described RTMP
It is streaming to server include:
After receiving sign on, obtain IP address and the port numbers of server;
IP address and port numbers according to the server obtained are set up with described server and are connected;
Utilize the connection set up that described RTMP is streaming to described server.
Method the most according to claim 1 and 2, it is characterised in that described method also includes:
After receiving halt instruction, stop being streaming to described RTMP described server, and stop by
The media stream received is converted into RTMP stream.
6. a device for multimedia real-time live broadcast, for terminal unit, this device includes:
Multimedia reception module, is used for receiving media stream;
Data conversion module, for being converted into real-time messages host-host protocol RTMP by the media stream of reception
Stream;
Data transmission module, for described RTMP is streaming to server, so that described server pair
Described RTMP stream is distributed realizing the real-time live broadcast of media stream.
Device the most according to claim 6, it is characterised in that described multimedia reception module is used
In receiving the video and/or audio data stream of picture shooting assembly shooting in described terminal unit.
8. according to the device described in claim 6 or 7, it is characterised in that described data conversion module
In the operating system call terminal unit, the media stream of reception is encoded in real time by medium recorder
Host-host protocol rtp streaming;Rtp streaming is carried out form conversion, rtp streaming is converted to RTMP stream.
9. according to the device described in claim 6 or 7, it is characterised in that described device also includes:
Command reception module, is used for receiving sign on;
Described data transmission module, for after described command reception module receives sign on, obtains clothes
The IP address of business device and port numbers;According to the IP address of server obtained and port numbers and described service
Device is set up and is connected;Utilize the connection set up that described RTMP is streaming to described server.
10. according to the device described in claim 6 or 7, it is characterised in that described device also includes:
Command reception module, is used for receiving halt instruction;
Described data transmission module is additionally operable to after described command reception module receives halt instruction, stops
Described RTMP is streaming to described server;
Described data conversion module is additionally operable to after described command reception module receives halt instruction, stops
The media stream of reception is converted into RTMP stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510843743.XA CN105898620A (en) | 2015-11-26 | 2015-11-26 | Multimedia real-time live broadcast method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510843743.XA CN105898620A (en) | 2015-11-26 | 2015-11-26 | Multimedia real-time live broadcast method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105898620A true CN105898620A (en) | 2016-08-24 |
Family
ID=57002327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510843743.XA Pending CN105898620A (en) | 2015-11-26 | 2015-11-26 | Multimedia real-time live broadcast method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105898620A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173861A (en) * | 2017-12-29 | 2018-06-15 | 北京奇虎科技有限公司 | A kind of method, apparatus of net cast and live streaming distribution connector |
CN109151494A (en) * | 2017-06-19 | 2019-01-04 | 杭州萤石网络有限公司 | Multimedia data transmission method, multimedia collection equipment and server |
CN109194983A (en) * | 2018-10-10 | 2019-01-11 | 贵阳朗玛信息技术股份有限公司 | Live broadcasting method, system, storage medium, broadcasting server and server cluster |
CN110602065A (en) * | 2019-08-29 | 2019-12-20 | 深圳市麦谷科技有限公司 | Live broadcast stream pushing method and device |
CN110856020A (en) * | 2019-11-04 | 2020-02-28 | 深圳海翼智新科技有限公司 | Method and system for controlling terminal equipment to be accessed into camera device to push flow |
CN111404966A (en) * | 2020-04-03 | 2020-07-10 | 广东利通科技投资有限公司 | Data processing method of expressway video monitoring system |
CN111629277A (en) * | 2020-04-15 | 2020-09-04 | 视联动力信息技术股份有限公司 | Video data transmission method, device and computer readable storage medium |
CN112533006A (en) * | 2020-11-05 | 2021-03-19 | 深圳市咪码科技有限公司 | Communication method and device for live broadcast platform and VOIP terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811368A (en) * | 2012-07-16 | 2012-12-05 | 北京邮电大学 | Mobile video live broadcasting system |
CN103501392A (en) * | 2013-10-16 | 2014-01-08 | 江西省文明手机台传播有限责任公司 | Method for performing real-time audio and video shooting and live broadcast by using mobile phone |
CN104244108A (en) * | 2014-09-24 | 2014-12-24 | 上海网达软件股份有限公司 | Live method and system |
CN104602044A (en) * | 2015-02-05 | 2015-05-06 | 秦永红 | RTMP stream media public network live broadcast system and design method thereof |
-
2015
- 2015-11-26 CN CN201510843743.XA patent/CN105898620A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811368A (en) * | 2012-07-16 | 2012-12-05 | 北京邮电大学 | Mobile video live broadcasting system |
CN103501392A (en) * | 2013-10-16 | 2014-01-08 | 江西省文明手机台传播有限责任公司 | Method for performing real-time audio and video shooting and live broadcast by using mobile phone |
CN104244108A (en) * | 2014-09-24 | 2014-12-24 | 上海网达软件股份有限公司 | Live method and system |
CN104602044A (en) * | 2015-02-05 | 2015-05-06 | 秦永红 | RTMP stream media public network live broadcast system and design method thereof |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151494A (en) * | 2017-06-19 | 2019-01-04 | 杭州萤石网络有限公司 | Multimedia data transmission method, multimedia collection equipment and server |
CN108173861A (en) * | 2017-12-29 | 2018-06-15 | 北京奇虎科技有限公司 | A kind of method, apparatus of net cast and live streaming distribution connector |
CN109194983A (en) * | 2018-10-10 | 2019-01-11 | 贵阳朗玛信息技术股份有限公司 | Live broadcasting method, system, storage medium, broadcasting server and server cluster |
CN110602065A (en) * | 2019-08-29 | 2019-12-20 | 深圳市麦谷科技有限公司 | Live broadcast stream pushing method and device |
CN110856020A (en) * | 2019-11-04 | 2020-02-28 | 深圳海翼智新科技有限公司 | Method and system for controlling terminal equipment to be accessed into camera device to push flow |
CN111404966A (en) * | 2020-04-03 | 2020-07-10 | 广东利通科技投资有限公司 | Data processing method of expressway video monitoring system |
CN111629277A (en) * | 2020-04-15 | 2020-09-04 | 视联动力信息技术股份有限公司 | Video data transmission method, device and computer readable storage medium |
CN112533006A (en) * | 2020-11-05 | 2021-03-19 | 深圳市咪码科技有限公司 | Communication method and device for live broadcast platform and VOIP terminal |
CN112533006B (en) * | 2020-11-05 | 2023-02-28 | 深圳市咪码科技有限公司 | Communication method and device for live broadcast platform and VOIP terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105898620A (en) | Multimedia real-time live broadcast method and device | |
US9843775B2 (en) | Surveillance video playback method, device, and system | |
CN105025327B (en) | A kind of method and system of mobile terminal live broadcast | |
CN106331581B (en) | Method and device for communication between mobile terminal and video network terminal | |
JP5199400B2 (en) | How to run rich video on mobile devices | |
US8089520B2 (en) | Remote monitoring method using mobile terminal and system thereof | |
US20090320077A1 (en) | Method and apparatus for on-demand content transmission and control over networks | |
CN108632558B (en) | Video call method and device | |
CN108881797B (en) | Data processing method and device for video network | |
CN106803974A (en) | The real-time retransmission method of live video stream | |
US20070127508A1 (en) | System and method for managing the transmission of video data | |
US20120120179A1 (en) | Method, system and terminal for implementing wireless video conference | |
KR101647938B1 (en) | Method and System for Providing Media Streaming By Interworking Heterogeneous Network through a Mobile Communication Network | |
CN110191304B (en) | Data processing method, device and storage medium | |
CN112422583A (en) | Method and system for fusion and intercommunication of multi-protocol video application | |
KR100628322B1 (en) | System for mediating convergence services of communication and broadcasting using non-communicative appliance | |
CN113194278A (en) | Conference control method and device and computer readable storage medium | |
CN108574689B (en) | Method and device for video call | |
CN109544879B (en) | Alarm data processing method and system | |
CN104348845A (en) | System and method enabling Wi-Fi camera to access Internet | |
CN102143144B (en) | Communication module, remote monitoring system and remote monitoring terminal | |
KR101214470B1 (en) | System for providing an individual black box | |
CN110392275B (en) | Sharing method and device for manuscript demonstration and video networking soft terminal | |
WO2023231478A1 (en) | Audio and video sharing method and device, and computer-readable storage medium | |
CN102438119A (en) | Audio/video communication system of digital television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |