当前位置:网站首页>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.
边栏推荐
- Arduino之ESP8266编程学习总结体会
- Memory limit should be smaller than already set memoryswap limit, update the memoryswap at the same
- 有且仅有的三种处理JSON的方法
- Stream API
- Uos统信系统 IP地址以及完整主机名配置
- 基于时序模式注意力机制(TPA)的长短时记忆(LSTM)网络TPA-LSTM的多变量输入风电功率预测
- Uos统信系统 SSH
- 狗都能看懂的Vision Transformer的讲解和代码实现
- 【HIT-SC-LAB2】哈工大2022软件构造 实验2
- 并发概念基础:线程,死锁
猜你喜欢
JUC锁框架——基于AQS的实现,从ReentrantLock认识独占和共享
你要悄悄学网络安全,然后惊艳所有人
以太网 ARP
YOLOv3详解:从零开始搭建YOLOv3网络
Faster RCNN原理及复现代码
在线公众号文章内容转音频文件实用小工具
U-Net详解:为什么它适合做医学图像分割?(基于tf-Kersa复现代码)
RuntimeError: You called this URL via POST, but the URL doesn‘t end in a slash and you have APPEND_S
数据库知识:SQLServer创建非sa用户笔记
2DCNN, 1DCNN, BP, SVM fault diagnosis and result visualization of matlab
随机推荐
SENet详解及Keras复现代码
bitnami/mongodb-sharded在AWS EKS扩展shard失败解决
Visualization and Animation Technology (Computer Animation)
网络端口大全
Multi-threaded sequential output
Scheduler (Long-term,Short-term, Medium-term Scheduler) & Dispatcher
2DCNN, 1DCNN, BP, SVM fault diagnosis and result visualization of matlab
clssloader与双亲委派
电脑知识:台式电脑应该选择品牌和组装,值得收藏
升级到 MediaPlayer 11 时跳过验证副本的方法
av_read_frame 阻塞,基于回调的解决办法
新冠病毒和网络安全的异同及思考
0--100的能被3整出的数的集合打乱顺序
自学网络安全你为什么一学就废?
硬件描述语言Verilog HDL学习笔记之模块介绍
华硕飞行堡垒系列无线网经常显示“无法连接网络” || 一打开游戏就断网
把DocumentsandSettings迁移到别的盘
目标检测中的IoU、GIoU、DIoU与CIoU
【HIT-SC-MEMO2】哈工大2022软件构造 复习笔记2
学好网络安全看这篇文章让你少走弯路