当前位置:网站首页>How to build RTSP test URL in Intranet Environment
How to build RTSP test URL in Intranet Environment
2022-06-24 17:14:00 【daniulive】
Recently, I found that many developers are searching for available RTSP test URL, At present, the public network can actually be tested RTSP URL Very few , Even if it is available , The resolution and network are also very poor , Not suitable for long-term testing .
For this purpose , Our suggestion is to buy a camera of Hikvision or Dahua directly online , Generally speaking , Haikang Dahua's RTSP URL The format is as follows :
Haikang camera RTSP URL The rules
Main stream :rtsp://admin:[email protected]:554/h265/ch1/main/av_stream
Sub-stream :rtsp://admin:[email protected]:554/h264/ch1/sub/av_stream
rtsp://[username]:[password]@[ip]:[port]/[codectype]/[channel]/[subtype]/av_stream URL Description of composition : username: user name ; password: password ; ip: web camera IP Address ; port: Port number , Default 554; codectype: Yes h264/h265/mjpeg; channel: Channel number . subtype: Stream Type , Main stream :main, Sub-stream :sub.
Dahua camera RTSP URL The rules
Main stream :rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
Sub-stream :rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
rtsp://[username]:[password]@[ip]:[port]/cam/realmonitor?/[channel]&/[subtype] URL Description of composition : username: user name ; password: password ; ip: web camera IP Address ; port: Port number , Default 554; codectype: Yes h264/h265/mjpeg; channel: Channel number . subtype: Stream Type , Main stream :0, Sub-stream :1.
How to generate a local RTSP test URL
If you want to collect PC Camera or screen , You can also use lightweight locally RTSP service , Locally generated RTSP test URL. Common ways , such as VLC Streaming , Or live from Daniel SDK(URL) Of Windows platform SmartPublisherDemo Can be generated .
This article is based on SmartPublisherDemo Lightweight RTSP The service collects local cameras as an example , Explain how to create a local test RTSP Address .
1. Select acquisition camera , And select the resolution to be tested 、 Frame rate , Click on “ Get the default value of video rate ”, Get the code rate recommended by the system ( Advanced users can also configure by themselves ), If it is necessary to collect audio, See whether the acquisition microphone or the loudspeaker , If both need to be collected , Select it at the same time ( Mix mode ).
2. Click on “ Configuration view Rtsp service ” Button , Click in the pop-up box “ Start the service ” that will do , One or more groups can be started , One for each service RTSP URL.
3. after , Click on “ Release RTSP flow ” button , After the release of , Can locally generate a RTSP URL, Take this machine as an example , Generated URL yes “rtsp://192.168.0.211:8554/stream1”.
4. Start the player , Input the generated RTSP URL, Test it .
5. Server load view : Click again on the “ Configuration view RTSP service ”, You can see the number of sessions connected to each service :
6. To stop service , Click the “ stop it RTSP flow ” that will do ;
Is it very convenient ?
Why do you want to be lightweight RTSP service ?
Lightweight RTSP The core pain point of service solution is to prevent users or developers from deploying alone RTSP perhaps RTMP service , Realize local audio and video data ( Such as camera 、 Microphone ), After the coding , Converge to built-in RTSP service , Provide external flow RTSP URL, Lightweight RTSP service , Applicable to Intranet environment , Yes Concurrency requirements are not high Scene , Support H.264/H.265, Support RTSP authentication 、 unicast 、 Multicast mode , Considering the carrying capacity of a single service , We support the creation of multiple RTSP service , And support to get the current RTSP Number of service session connections .
Design function :
- [ Basic function ] Capture camera 、 The screen 、 Window or external customized audio and video data ;
- [ Audio format ]AAC;
- [ Video format ]H.264、H.265;
- [ Protocol type ]RTSP;
- [ transmission mode ] Support unicast and multicast modes ;
- [ Port settings ] Support RTSP Port settings ;
- [ Authentication settings ] Support RTSP Authentication user name 、 password ;
- [ obtain session The number of connections ] Support getting current RTSP Number of service session connections ;
- [ Multi service support ] Support the creation of multiple built-in RTSP service ;
- [H.265 Support ]Windows built-in rtsp server Support Publishing H.265 video ;
- [RTSP url Callback ] Support the setup of rtsp url adopt event Back to the top .
Interested developers , Try it on your own .
边栏推荐
- Zblog system realizes the tutorial of the number of articles published on the same day when the foreground calls
- How Tencent cloud es achieves cross cluster data copy & lt through reindex; Lower & gt;
- 让UPS“印象派用户”重新认识可靠性
- H265 video streaming web page without plug-in player easywasmlayer Troubleshooting and solution of JS unable to set cover photo
- Advanced anti DDoS IP solutions and which applications are suitable for use
- Tiktok Kwai, e-commerce enters the same river
- FPGA systematic learning notes serialization_ Day9 [serial port printing of PS terminal of Xilinx zynq7000 series]
- One article combs multi task learning (mmoe/ple/dupn/essm, etc.)
- With the solution, the nickname of the applet suddenly becomes "wechat user", and the avatar cannot be displayed?
- Coding enhances security vulnerability scanning capability and helps the team "move left safely"
猜你喜欢

A survey on model compression for natural language processing (NLP model compression overview)
![[leetcode108] convert an ordered array into a binary search tree (medium order traversal)](/img/e1/0fac59a531040d74fd7531e2840eb5.jpg)
[leetcode108] convert an ordered array into a binary search tree (medium order traversal)

MySQL learning -- table structure of SQL test questions

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)

Why do you develop middleware when you are young? "You can choose your own way"
随机推荐
问题有多大,中台就有多大
Future banks need to think about today's structure with tomorrow's thinking
How to access tke cluster API interface with certificate or token
区块哈希游戏竞猜系统开发(成熟代码)
A tutorial on how the zblog system obtains user related information based on user ID
Contributed code to famous projects for the first time, a little nervous
Research on clock synchronization performance monitoring system based on 1588v2 Technology
How to perform concurrent stress testing on RTSP video streams distributed by audio and video streaming servers?
What is thermal data detection?
GB gb28181 video cascading intelligent analysis platform easygbs broadcast video console error 401
Create a green city and 3D visualization of digital twin natural gas stations
Introduction to koa (IV) koa operation database
[play with Tencent cloud] TSF User Guide
Video intelligent analysis platform easycvr derivative video management platform menu bar small screen adaptive optimization
Recent progress of ffmpeg go
[play with Tencent cloud] check 9 popular Tencent cloud products
Sigai intelligent container damage identification products are deployed in Rizhao Port and Yingkou Port
NFT元宇宙源码搭建解析与介绍
As for IOT safety, 20 CSOs from major manufacturers say
How to collect and define project requirements in the early stage of EDI project implementation?