当前位置:网站首页>Hardware Knowledge: Introduction to RTMP and RTSP Traditional Streaming Protocols
Hardware Knowledge: Introduction to RTMP and RTSP Traditional Streaming Protocols
2022-08-04 07:02:00 【IT technology sharing community】
Today I will share with you the introduction of RTMP and RTSP traditional streaming media protocols, I hope it can be helpful to you!
1, RTSP
1.1 RTSP protocol introduction
RTSP (Real-Time Stream Protocol) is a text-based multimedia playback control protocol jointly proposed by Real Networks and Netscape.RTSP defines the stream format, and the stream data is transmitted through RTP; RTSP real-time effect is very good, suitable for video chat, video surveillance and other directions.
1.2 Features
RTSP supports reliable segmented streaming and supports viewing while downloading.
RTSP relies on dedicated servers and relies on the RTP protocol (based on the UDP protocol), so this protocol does not support encrypting video content or retransmitting lost packets.
1.3, RTSP Workflow
The user equipment sends an RTSP request to the video streaming platform
The video streaming platform returns a list of requests that the user can operate, such as play, pause
The user sends a specific request to the video streaming platform to the device according to the list of requests it has, for example: play video
The video streaming platform parses the request and invokes the specified mechanism to start the video stream processing
1.4 Applicable Scenarios
Android and iOS devices do not have RTSP compatible players out of the box, so they are not used much on mobile devices, RTSP is very widely used in many surveillance and closed circuit television (CCTV) applications, such as remote cameras, online video and Internet live broadcastIt is very suitable for other fields.
2. RTMP
2.1 Introduction to RTMP
RTMP (Real Time Message Protocol) was proposed by Adobe to solve the multiplexing (Multiplexing) and packetizing (packetizing) problems of multimedia data transmission streams. The advantages are low latency, high stability, and support for allThe camera format can be played directly by loading the flash plug-in in the browser.TCP port 1935 is used by default.
2.2 Workflow
Camera capture video
Stream the video to the video platform server via the encoder
The video platform handles the video stream
Distribute via CDN to the server closest to the user
The final video stream can successfully reach the user device
2.3 Features
It can maintain a stable connection between the server and the client server, and it can stream media with seamless low latency regardless of the quality of the user's internet connection
Not compatible with HTML5 players
Vulnerable to bandwidth issues
2.4 Applicable Scenarios
RTMP is mainly used for Internet audio and video transmission. It uses TCP transmission. Because the Internet environment is relatively poor, RTMP can ensure the transmission quality of video, but its transmission delay is relatively high and transmission efficiency is relatively low.
3. The difference between RTSP and RTMP protocols
3.1 Similarities
RTSP and RTMP protocols are in the application layer
Theoretically both RTSP and RTMP can do live broadcast and VOD
3.2 Differences
RTSP protocol has the best real-time performance, but the implementation is complex, suitable for video chat and video surveillance;
The advantage of the RTMP protocol is that it has good browser support and can be played directly after loading the flash plug-in.
边栏推荐
- 升级到 MediaPlayer 11 时跳过验证副本的方法
- 一场聚会,转行渗透测试月薪13.5k,感谢那个女同学......
- webrtc技术名词和关键技术要点:SVC,REMB,SVC...
- 【HIT-SC-MEMO4】哈工大2022软件构造 复习笔记4
- Visualization and Animation Technology (Computer Animation)
- 注册表设置默认浏览器 win7,winserver 2008,winserver 2012
- Arduino之ESP8266编程学习总结体会
- QT signals 保存到 QMap
- JUC并发容器——跳表
- Interpretation of EfficientNet: Composite scaling method of neural network (based on tf-Kersa reproduction code)
猜你喜欢
基于子空间结构保持的迁移学习方法MLSSM
gRPC intro 1:RPC
Unity Day03
Scheduler (Long-term,Short-term, Medium-term Scheduler) & Dispatcher
VMD combined with ISSA to optimize LSSVM power prediction
子空间结构保持的多层极限学习机自编码器(ML-SELM-AE)
基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
C# 剪裁图片内容区域
【HIT-SC-MEMO2】哈工大2022软件构造 复习笔记2
Operating System Kernel
随机推荐
MySQL之SQL结构化查询语言
天鹰优化的半监督拉普拉斯深度核极限学习机用于分类
golang chan
IP 核之 MMCM/PLL 实验
注册表设置默认浏览器 win7,winserver 2008,winserver 2012
生成一个包含日期的随机编码
【音视频开发系列】QT 采集麦克风PCM并播放
Visualization and Animation Technology (Computer Animation)
基于Webrtc和Janus的多人视频会议系统开发4 - 改造信令交互系统完成sdp交换过程
【HIT-SC-LAB2】哈工大2022软件构造 实验2
键盘扫描码
并发概念基础:线程,死锁
Stream API
电脑知识:台式电脑应该选择品牌和组装,值得收藏
IE8 打开速度慢的解决办法
狗都能看懂的Self-Attention讲解
Visualization and Animation Technology (3D Visualization)
20170729
RuntimeError: You called this URL via POST, but the URL doesn‘t end in a slash and you have APPEND_S
关于gopher协议的ssrf攻击