First, Local: Using JAVACV (Android and Java Platform recommended JAVACV), FFmpeg, OpenCV or JMF can easily get to the local camera streaming media
JAVACV Series articles:
JAVACV Development 1: Call native webcam video
JAVACV Development in Detail 2: The implementation of the converter, push the local camera video to the streaming media server and camera recording video function (based on Javacv-ffmpeg , JAVACV-OPENCV)
JAVACV Development in detail 3:
RTSP (real Time streaming Protocol), RFC2326, live streaming protocol, is an application-level protocol in the TCP/IP protocol that is submitted by Columbia University, Netscape, and RealNetworks for IETF RFC standards. This protocol defines how a one-to-many application can efficiently transmit multimedia data over an IP network. RTSP is architecture-based on RTP and RTCP, and it uses TCP or UDP to complet
The simplest FFmpeg-based streamer (taking pushing RTMP as an example) and ffmpegrtmpThis document records a simple FFmpeg-based streamer (simplest ffmpeg streamer ). The streamer is used to push local video data to the Streaming Media Server. The streamer recorded in this article can use streaming media protocols (such as RTMP, HTTP, UDP, TCP, RTP, etc.) to transfer local media files in MOV/AVI/MKV/MP4/FLV formats) push it out as a live stream. Due to the wide variety of streaming media protoco
the rate at which they send RTCP packets, RTCP packet traffic does not exceed 5% of the traffic in the network packet, and the receiving end Packet report packet traffic should be less than 75% of all RTCP packet traffic.3) SDEs Source Description Group: Gives a description of the participants in the session, including the participant's canonical name (CNAME)4) Bye group: closes a data stream.5) App grouping: The application can define a new grouping type.6. Real-Time Streaming protocol
) .Create Highly scalable servers (hundreds of connections per CPU) using our multi-threaded server framework.Create customized protocols for highly efficient data transfer.(2) includes Servers for the most Popular protocolsThe Server edition of Ultimate TCP/IP includes the Server-side implementations for the following protocols:Web Server (HTTP protocol).Finger server.Fully functional Email and Relay server (SMTP, POP3, DNS)File Transfer Server (FTP)Echo server.*full source for each of the prot
restructuring. The RTP protocol package format is as follows:
(3) SDP
Let's take a look at the packet capture network request process:
Server Response Data. What we care about: RTSP
Response = RTSP/1.0 200 OK
CSeq: 1
Content-base: rtsp: // 192.168.36.168/
Date: July 29, 2015 GMT + 8 2:52:00
Content-Type: application/sdp
Content-Length: 424
SDP:
V = 0
O =-1804
services. Some RTCP packets are issued between RTP sessions in a periodic manner to transmit functions such as listening service quality and exchanging session user information. The RTCP package contains statistics such as the number of sent data packets and the number of lost data packets. Therefore, the server can dynamically change the transmission rate or even the type of the payload. RTP and RTCP can be used together to optimize transmission efficiency with effective feedback and minimal o
In the live555 mediaserver, RTSP-over-HTTP has been implemented, but it is not enabled by default. To implement this function, call rtspserver: setuptunnelingoverhttp () to specify the port used for RTSP-over-http. This port must be different from the normal RTSP-over-TCP port.In my current version of mediaserver/live555mediaserver. cpp, there is such a program t
A while ago, because the project needs, studied the Live555 open source framework, the study is not very deep, basically put Live555 as API for a while, but after all, I see the first open source framework, in this record summary.LIVE555 is an open-source streaming media framework that implements the RTSP protocol, LIVE555 contains the implementation of RTSP server side and the implementation of
[RTSP] Hai Kang wei video surveillance camera to achieve the web end without plug-ins monitoring the actual beat effect
Detailed introduction See : http://live.cuplayer.com/RtspCameraLive.html
Web end without plug-in (PC, Android, iOS Apple system) Effect 1
Web end without plug-in (PC, Android, iOS Apple system) Effect 2
Web end without plug-in (PC, Android, iOS Apple system) Effect 3
Detailed introduction See : http://live.cuplayer.com/RtspCameraL
first of all, I admire eguid, whether it is technology or sharing, thanks to his series of Bowen on my first learning process help, so clearly indicated the reprint address:
http://blog.csdn.net/eguid_1/article/details/51725970
one, the local push to send the end1, Local: The use of JAVACV (Android and Java Platform recommended JAVACV), FFmpeg, OpenCV or JMF can be very convenient access to the local camera streaming media
JAVACV Series articles:
JAVACV Development in detail 1: Call
a server, if the single process multithreading concurrency, So the largest number of connections is a little more than 100w, in fact, has been very cow single server.
3.UML draw a World of Warcraft modelThis is a little difficult.
2012.9.22 ZTE
1. The protocol used by streaming media is: CA, SDP B, PPP C, RTSP D, FTP
RTSP (real Time streaming Protocol), a real-time streaming transport protocol, is an appli
1. Reflect function of DSS
Darwin can receive and forward RTP data. This feature is described in the official document "reflect ".Using VLC, you can easily demonstrate this function by running the following command:
vlc -vvv test.mp4 --sout "#dst=rtp{dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,name=CHANNEL,sdp=file:///f:/channel.sdp}"
Run the preceding command to generate an SDP description file channel. SDP. VLC will send the RTP packet to the specified port of the specified destina
the graphical interface or through command lines.
Vlc1 requests media data from the Darwin server and then packs it into a TS stream and sends it out. vlc2 receives and plays TS stream data;
Throughout the process, packet capture proves that the TS stream is in the middle.
Of course, there is also a problem, that is, there will be mosaic in the image. It is assumed that there is a problem with the B frame PTS and DTs.
Another problem is that the SDP file cannot be generated because we need to i
Recently, due to a company's Android project, we need to upload a video to the server to enable upload, download, and play. This involves playing streaming media videos on the mobile terminal of the video. Therefore, I am working with a Darwin Streaming Media Server, this article also references:
Baidu Library: Baidu? MoD = Space uid = 74824 Do = Blog id = 3491,
Http://www.cnblogs.com/zhangweia/archive/2010/08/27/1810030.html
A. First install DDS, that is, the Darwin Streaming Media Server
The stream output function can output the streams read by the VLC to a file or send them over the network. The client can use HTTP, RTP, RTSP, and other protocols for access, transcoding, and other operations.
Reference http://wiki.videolan.org/Documentation:Streaming_HowTo
Stream output syntax
% vlc input_stream --sout "#module1{option1=parameter1{parameter-option1},option2=parameter2}:module2{option1=...,option2=...}:..."
You can also use the follow
data from all clients:I can't find any direct evidence, so I just want to think about it: When the UDP port or TCP port receives data, after analysis, the data of the client is sent to the rtpsink or rtcpinstance of the client.It seems that you have answered the first question. Let's analyze the rtpinterface.
Void rtpinterface: setstreamsocket (INT socknum, unsigned char streamchannelid) There is no need to talk about setstreamsocket (). Let's take a look at addstreamsocke (). You can understan
Why does a host inside Nat have access to a Web server outside of NAT, but cannot get RTSP stream Media server stream? Reason: For protocols such as HTTP, the client establishes a socket connection with the Web server, which is monitored by a Web server that binds a fixed TCP port on this port. Clients located behind the NAT randomly select a TCP port connect (2) WEB SERVER. For RTSP streaming media servers
Real-time Streaming protocol RTSP (Realtimestreamingprotocol) is proposed by RealNetworks and Netscape, which defines how a one-to-many application can efficiently transfer multimedia data over an IP network. RTSP is located on the architecture of RTP (real-time transmission) and RTCP (real-time control), which uses TCP or RTP to complete the data transfer. HTTP transmits HTML compared to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.