How do the features and performance evaluation of the RTSP player

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/renhui1112/article/details/89163323

Many developers do product analysis of competitive products, do not know how to define a RTSP player, Daniel Live SDK think, a RTSP player, not to say that there are several similar Open / Close interfaces enough, good RTSP Players must have the following features and performance properties:

1. Low latency: Most of the players are facing RTSP live scene, so if the delay is too large, such as monitoring the industry, the thieves are gone, only to see the client, or someone has pressed the doorbell a few seconds to see the main talent image, seriously affecting the experience, so low latency is a measure of an important indicator of good RTSP player, currently live cattle SDK delay control of RTSP to play in a few hundred milliseconds, VLC in a few seconds, this delay is long low latency , such as running one day, a week, a month or even longer;

2. The audio and video synchronization or Jump: Some developers in order to pursue low-latency experience, not even audio and video synchronization, audio video got played directly lead to a / v sync, there is a time stamp bounce;

3. The multiple-instance: a good player, while playing the need to support multiple audio and video data, such 4-8-9-16-32 window;

4. Support buffer time is provided : In some scenarios, there is a network jitter, the player needs to support precise setting buffer time, in general, in milliseconds;

5. H.265 playback and recording: In addition to H.264, H.265 also need support, more and more are currently available in the market RTSP H.265 camera, support RTSP H.265 player is imminent. In addition, a simple play H.265 enough, you also need to be able to H.265 data can be recorded and;

6. The TCP / UDP mode switch: considering the many server only supports TCP or UDP mode, a good player needs to support RTSP TCP / UDP automatic switching mode;

7. Mute support: for example, multi-window play RTSP streaming, if each audio are played out, the experience is very bad, so real-time mute function is necessary;

8. Video view rotation: many restrictions due to the installation camera, resulting in image inversion, so a good player should support RTSP as real-time video view of rotation (0 ° 90 ° 180 ° 270 °), horizontal inversion, vertical inversion;

9. After the support decoding audio / video data output (optional): Daniel Live SDK exposed to a lot of developers, hoping to play at the same time, access to YUV or RGB data, facial matching algorithm analysis, so the audio and video callback optional;

10. Snapshot: interest or importance screen, real-time interception is necessary;

11. Network dither processing (e.g., off network reconnection): basic functions, will not be repeated;

12. Cross-platform: a good player, cross-platform (Windows / Android / iOS) is necessary, at least for subsequent expansion considerations, when developed, there is this consideration, the SDK currently live cattle RTSP player , the perfect support for more platforms;

13. The long-run stability : stability mentioned, many developers disagree, in fact, a good product, stability is the basic premise, can not be ignored!
14. You can record: during playback, recording video clips at any time down the interest, archiving or other secondary processing;

15. log record information: the whole process real-time feedback mechanism, not much to play log, but not some important log, such as error, etc. during playback;

16. download speed real-time feedback: you can see real-time download speed feedback, in order to monitor network status;

17. The abnormal state processing: processes such as playing, disconnection, network jitter, calls, returns back after cutting and other processing scenarios.

Having said that, there are developers will ask, Daniel Live SDK in the end support what? The following to be a brief overview, if not stated separately, Department of Windows, Android, iOS full platform support:

  •  [ Supports playback agreement ] high stability and ultra-low latency, the industry's premier live RTSP player SDK;
  •  [ Multi-Instance player ] supports multi-player instance;
  •  [ Event callback ] support network status, buffer status callback;
  •  [ Video Format ] supports H.265, H.264, in addition, Windows / Android platform also supports RTSP MJPEG player;
  •  [ Audio Format ] Support AAC / PCMA / PCMU;
  •  [H.264/H.265软解码]支持H.264/H.265软解;
  •  [H.264硬解码]Android/iOS支持H.264硬解;
  •  [H.265硬解]Android/iOS支持H.265硬解;
  •  [H.264/H.265硬解码]Android支持设置Surface模式硬解和普通模式硬解码;
  •  [RTSP模式设置]支持RTSP TCP/UDP模式设置;
  •  [RTSP TCP/UDP自动切换]支持RTSP TCP、UDP模式自动切换;
  •  [RTSP超时设置]支持RTSP超时时间设置,单位:秒;
  •  [RTSP 401认证处理]支持上报RTSP 401事件,如URL携带鉴权信息,会自动处理;
  •  [缓冲时间设置]支持buffer time设置;
  •  [首屏秒开]支持首屏秒开模式;
  •  [复杂网络处理]支持断网重连等各种网络环境自动适配;
  •  [快速切换URL]支持播放过程中,快速切换其他URL,内容切换更快;
  •  [音视频多种render机制]Android平台,视频:surfaceview/OpenGL ES,音频:AudioTrack/OpenSL ES;
  •  [实时静音]支持播放过程中,实时静音/取消静音;
  •  [实时快照]支持播放过程中截取当前播放画面;
  •  [渲染角度]支持0°,90°,180°和270°四个视频画面渲染角度设置;
  •  [渲染镜像]支持水平反转、垂直反转模式设置;
  •  [实时下载速度更新]支持当前下载速度实时回调(支持设置回调时间间隔);
  •  [解码前视频数据回调]支持H.264/H.265数据回调;
  •  [解码后视频数据回调]支持解码后YUV/RGB数据回调;
  •  [解码前音频数据回调]支持AAC/PCMA/PCMU/SPEEX数据回调;
  •  [音视频自适应]支持播放过程中,音视频信息改变后自适应;
  •  [扩展录像功能]完美支持和录像SDK组合使用(支持RTSP H.265流录制,支持PCMA/PCMU转AAC后录制,支持设置只录制音频或视频)。

Guess you like

Origin blog.csdn.net/renhui1112/article/details/89163323