{"id":75904,"date":"2026-02-13T13:25:49","date_gmt":"2026-02-13T05:25:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/75904.html"},"modified":"2026-02-13T13:25:49","modified_gmt":"2026-02-13T05:25:49","slug":"%e4%bb%8e%e9%9b%b6%e6%9e%84%e5%bb%ba%e5%b5%8c%e5%85%a5%e5%bc%8frtsp%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9alive555%e7%bc%96%e8%af%91%e4%b8%8e%e4%bc%98%e5%8c%96%e7%9a%84%e8%89%ba%e6%9c%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/75904.html","title":{"rendered":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f"},"content":{"rendered":"<h2>\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668&#xff1a;Live555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f<\/h2>\n<p>\u5728\u5de5\u4e1a\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u56fe\u4f20\u7b49\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u6781\u9ad8\u7684\u5d4c\u5165\u5f0f\u573a\u666f\u4e2d&#xff0c;\u6784\u5efa\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684RTSP\u6d41\u5a92\u4f53\u670d\u52a1\u5668\u662f\u8bb8\u591a\u5f00\u53d1\u8005\u9762\u4e34\u7684\u6838\u5fc3\u6311\u6218\u3002Live555\u4f5c\u4e3a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5e93&#xff0c;\u4ee5\u5176\u7b80\u6d01\u7684\u67b6\u6784\u548c\u7a33\u5b9a\u7684RTSP\/RTP\u534f\u8bae\u5b9e\u73b0&#xff0c;\u6210\u4e3a\u5d4c\u5165\u5f0f\u6d41\u5a92\u4f53\u5f00\u53d1\u7684\u9996\u9009\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u4ece\u4ea4\u53c9\u7f16\u8bd1\u5230\u6027\u80fd\u4f18\u5316\u7684\u5b8c\u6574\u5b9e\u73b0\u8def\u5f84&#xff0c;\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e00\u5957\u53ef\u843d\u5730\u7684\u6280\u672f\u65b9\u6848\u3002<\/p>\n<h3>1. \u5d4c\u5165\u5f0f\u73af\u5883\u4e0b\u7684Live555\u4ea4\u53c9\u7f16\u8bd1\u5b9e\u6218<\/h3>\n<p>\u5d4c\u5165\u5f0f\u5e73\u53f0\u7684\u8d44\u6e90\u7ea6\u675f\u7279\u6027\u8981\u6c42\u6211\u4eec\u5bf9\u7f16\u8bd1\u8fc7\u7a0b\u8fdb\u884c\u7cbe\u7ec6\u5316\u63a7\u5236\u3002\u4e0e\u684c\u9762\u73af\u5883\u4e0d\u540c&#xff0c;\u4ea4\u53c9\u7f16\u8bd1\u9700\u8981\u9488\u5bf9\u76ee\u6807\u5e73\u53f0\u7684\u5904\u7406\u5668\u67b6\u6784\u3001\u7cfb\u7edf\u5e93\u548c\u5185\u5b58\u5e03\u5c40\u8fdb\u884c\u4e13\u95e8\u914d\u7f6e\u3002<\/p>\n<p>\u9996\u5148\u83b7\u53d6Live555\u6700\u65b0\u6e90\u7801\u5305&#xff0c;\u89e3\u538b\u540e\u8fdb\u5165\u6e90\u7801\u76ee\u5f55\u3002\u5173\u952e\u6b65\u9aa4\u5728\u4e8e\u914d\u7f6e\u7f16\u8bd1\u53c2\u6570&#xff1a;<\/p>\n<p>tar -xzvf live.2024.04.19.tar.gz<br \/>\ncd live<\/p>\n<p>\u521b\u5efa\u9488\u5bf9\u76ee\u6807\u5e73\u53f0\u7684\u914d\u7f6e\u6587\u4ef6&#xff08;\u5982config.armlinux&#xff09;&#xff0c;\u91cd\u70b9\u4fee\u6539\u4ee5\u4e0b\u53c2\u6570&#xff1a;<\/p>\n<p>CROSS_COMPILE?&#061; \/your\/toolchain\/path\/bin\/arm-linux-<br \/>\nCOMPILE_OPTS &#061; $(INCLUDES) -I. -O2 -DSOCKLEN_T&#061;socklen_t \\\\<br \/>\n               -DNO_SSTREAM&#061;1 -D_LARGEFILE_SOURCE&#061;1 \\\\<br \/>\n               -D_FILE_OFFSET_BITS&#061;64 -DNO_OPENSSL&#061;1 \\\\<br \/>\n               -DLOCALE_NOT_USED<br \/>\nCPLUSPLUS_FLAGS &#061; $(COMPILE_OPTS) -Wall -DBSD&#061;1 \\\\<br \/>\n                 -Wno-deprecated -std&#061;c&#043;&#043;11 -std&#061;gnu&#043;&#043;11<br \/>\nPREFIX &#061; \/your\/install\/path<\/p>\n<p>\u63d0\u793a&#xff1a;-DNO_OPENSSL&#061;1 \u53ef\u79fb\u9664SSL\u4f9d\u8d56\u4ee5\u51cf\u5c11\u4f53\u79ef&#xff0c;\u4f46\u4f1a\u727a\u7272\u5b89\u5168\u7279\u6027\u3002\u5728\u5c40\u57df\u7f51\u7b49\u53ef\u4fe1\u73af\u5883\u4e2d\u53ef\u542f\u7528\u6b64\u9009\u9879\u3002<\/p>\n<p>\u6267\u884c\u914d\u7f6e\u548c\u7f16\u8bd1&#xff1a;<\/p>\n<p>.\/genMakefiles armlinux<br \/>\nmake -j4<br \/>\nmake install<\/p>\n<p>\u5e38\u89c1\u7f16\u8bd1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>C&#043;&#043;11\u7279\u6027\u652f\u6301&#xff1a;\u786e\u4fdd\u5de5\u5177\u94fe\u652f\u6301C&#043;&#043;11\u6807\u51c6&#xff0c;\u5fc5\u8981\u65f6\u6dfb\u52a0-std&#061;c&#043;&#043;11\u6807\u5fd7<\/li>\n<li>\u672a\u5b9a\u4e49\u5f15\u7528\u9519\u8bef&#xff1a;\u8c03\u6574\u5e93\u94fe\u63a5\u987a\u5e8f&#xff0c;\u786e\u4fddlibliveMedia.a\u4f4d\u4e8e\u9996\u4f4d<\/li>\n<li>\u539f\u5b50\u64cd\u4f5c\u517c\u5bb9\u6027&#xff1a;\u8001\u7248\u672c\u7f16\u8bd1\u5668\u53ef\u80fd\u9700\u5c06std::atomic_flag::test()\u66ff\u6362\u4e3atest_and_set()<\/li>\n<\/ul>\n<h3>2. Live555\u67b6\u6784\u89e3\u6790\u4e0e\u6838\u5fc3\u7ec4\u4ef6\u5b9a\u5236<\/h3>\n<p>\u7406\u89e3Live555\u7684\u67b6\u6784\u8bbe\u8ba1\u662f\u8fdb\u884c\u6df1\u5ea6\u4f18\u5316\u7684\u524d\u63d0\u3002\u8be5\u5e93\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1&#xff0c;\u4e3b\u8981\u5305\u542b\u56db\u4e2a\u6838\u5fc3\u5e93&#xff1a;<\/p>\n<table>\n<tr>\u5e93\u540d\u79f0\u529f\u80fd\u63cf\u8ff0\u5185\u5b58\u5360\u7528<\/tr>\n<tbody>\n<tr>\n<td>libliveMedia<\/td>\n<td>RTP\/RTSP\u534f\u8bae\u5b9e\u73b0\u6838\u5fc3<\/td>\n<td>~1.2MB<\/td>\n<\/tr>\n<tr>\n<td>libgroupsock<\/td>\n<td>\u7f51\u7edc\u7ec4\u64ad\u548csocket\u5c01\u88c5<\/td>\n<td>~0.3MB<\/td>\n<\/tr>\n<tr>\n<td>libBasicUsageEnvironment<\/td>\n<td>\u57fa\u7840\u4efb\u52a1\u8c03\u5ea6\u548c\u73af\u5883<\/td>\n<td>~0.2MB<\/td>\n<\/tr>\n<tr>\n<td>libUsageEnvironment<\/td>\n<td>\u6269\u5c55\u73af\u5883\u652f\u6301<\/td>\n<td>~0.1MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5a92\u4f53\u5904\u7406\u6d41\u6c34\u7ebf\u662fLive555\u7684\u6838\u5fc3\u8bbe\u8ba1\u7406\u5ff5&#xff0c;\u6570\u636e\u6d41\u7ecf\u8def\u5f84\u4e3a&#xff1a;Source \u2192 Filter \u2192 Sink\u3002\u5bf9\u4e8eH264\u89c6\u9891\u6d41&#xff0c;\u5178\u578b\u5904\u7406\u94fe\u4e3a&#xff1a;<\/p>\n<p>DeviceSource \u2192 H264VideoStreamDiscreteFramer \u2192 H264FUAFragmenter \u2192 H264VideoRTPSink<\/p>\n<p>\u5b9a\u5236\u5316\u5f00\u53d1\u901a\u5e38\u4ece\u7ee7\u627f\u5173\u952e\u7c7b\u5f00\u59cb&#xff1a;<\/p>\n<p>class CustomDeviceSource : public FramedSource {<br \/>\npublic:<br \/>\n  static CustomDeviceSource* createNew(UsageEnvironment&amp; env);<\/p>\n<p>protected:<br \/>\n  virtual void doGetNextFrame();  \/\/ \u91cd\u5199\u6570\u636e\u83b7\u53d6\u903b\u8f91<br \/>\n  virtual unsigned maxFrameSize() const;  \/\/ \u8bbe\u7f6e\u5e27\u5927\u5c0f\u9650\u5236<\/p>\n<p>private:<br \/>\n  \/\/ \u5b9e\u73b0\u73af\u5f62\u7f13\u51b2\u533a\u7ba1\u7406<br \/>\n  RingBuffer m_buffer;<br \/>\n};<\/p>\n<p>\u6ce8\u610f&#xff1a;\u91cd\u5199\u865a\u51fd\u6570\u65f6\u9700\u4fdd\u6301\u7ebf\u7a0b\u5b89\u5168\u6027&#xff0c;Live555\u91c7\u7528\u5355\u7ebf\u7a0b\u4e8b\u4ef6\u5faa\u73af\u6a21\u578b&#xff0c;\u6240\u6709\u64cd\u4f5c\u90fd\u5e94\u5728\u4efb\u52a1\u8c03\u5ea6\u5668\u4e0a\u4e0b\u6587\u4e2d\u6267\u884c\u3002<\/p>\n<h3>3. \u9ad8\u6027\u80fd\u5185\u5b58\u7ba1\u7406\u4e0e\u96f6\u62f7\u8d1d\u4f18\u5316<\/h3>\n<p>\u5d4c\u5165\u5f0f\u73af\u5883\u4e0b\u7684\u5185\u5b58\u7ba1\u7406\u76f4\u63a5\u5f71\u54cd\u7cfb\u7edf\u6027\u80fd\u548c\u7a33\u5b9a\u6027\u3002\u4f20\u7edf\u5b9e\u73b0\u4e2d\u7684\u5185\u5b58\u62f7\u8d1d\u64cd\u4f5c\u6210\u4e3a\u6027\u80fd\u74f6\u9888&#xff0c;\u7279\u522b\u662f\u5728\u9ad8\u5206\u8fa8\u7387\u89c6\u9891\u6d41\u5904\u7406\u65f6\u3002<\/p>\n<p>\u53cc\u961f\u5217\u73af\u5f62\u7f13\u51b2\u533a\u8bbe\u8ba1\u662f\u89e3\u51b3\u97f3\u89c6\u9891\u6df7\u5408\u6d41\u5904\u7406\u7684\u6709\u6548\u65b9\u6848&#xff1a;<\/p>\n<p>struct VideoFrame {<br \/>\n    uint8_t* data;<br \/>\n    size_t size;<br \/>\n    uint64_t timestamp;<br \/>\n    bool is_keyframe;<br \/>\n};<\/p>\n<p>class DualRingBuffer {<br \/>\npublic:<br \/>\n    bool push_video(const VideoFrame&amp; frame);<br \/>\n    bool push_audio(const AudioFrame&amp; frame);<br \/>\n    bool pop_video(VideoFrame&amp; frame);<br \/>\n    bool pop_audio(AudioFrame&amp; frame);<\/p>\n<p>private:<br \/>\n    std::vector&lt;VideoFrame&gt; m_video_queue;<br \/>\n    std::vector&lt;AudioFrame&gt; m_audio_queue;<br \/>\n    std::atomic&lt;size_t&gt; m_video_head{0}, m_video_tail{0};<br \/>\n    std::atomic&lt;size_t&gt; m_audio_head{0}, m_audio_tail{0};<br \/>\n    std::mutex m_video_mutex, m_audio_mutex;<br \/>\n};<\/p>\n<p>\u96f6\u62f7\u8d1d\u4f18\u5316\u901a\u8fc7\u4f20\u9012\u6570\u636e\u6307\u9488\u800c\u975e\u6570\u636e\u62f7\u8d1d\u6765\u5b9e\u73b0&#xff1a;<\/p>\n<li>\u4fee\u6539FramedSource::doGetNextFrame()&#xff1a;<\/li>\n<p>void CustomDeviceSource::doGetNextFrame() {<br \/>\n    VideoFrame frame;<br \/>\n    if (m_buffer.pop_video(frame)) {<br \/>\n        fTo &#061; frame.data;          \/\/ \u76f4\u63a5\u4f20\u9012\u6307\u9488<br \/>\n        fFrameSize &#061; frame.size;    \/\/ \u8bbe\u7f6e\u5e27\u5927\u5c0f<br \/>\n        fPresentationTime &#061; frame.timestamp;<br \/>\n        afterGetting(this);         \/\/ \u901a\u77e5\u6570\u636e\u5c31\u7eea<br \/>\n    } else {<br \/>\n        nextTask() &#061; envir().taskScheduler().scheduleDelayedTask(<br \/>\n            1000, (TaskFunc*)retryGetNextFrame, this);<br \/>\n    }<br \/>\n}<\/p>\n<li>\u5b9e\u73b0\u5f15\u7528\u8ba1\u6570\u7ba1\u7406&#xff1a;<\/li>\n<p>void CustomDeviceSource::afterGettingFrame(unsigned frameSize) {<br \/>\n    \/\/ \u51cf\u5c11\u5f15\u7528\u8ba1\u6570&#xff0c;\u5f53\u8ba1\u6570\u4e3a0\u65f6\u91ca\u653e\u5185\u5b58<br \/>\n    m_current_frame-&gt;release();<br \/>\n    m_current_frame &#061; nullptr;<br \/>\n}<\/p>\n<p>\u8fd9\u79cd\u4f18\u5316\u65b9\u6848\u5728\u6d4b\u8bd5\u4e2d\u663e\u793a&#xff0c;CPU\u4f7f\u7528\u7387\u4ece\u539f\u6765\u76845-6%\u964d\u4f4e\u52304%\u5de6\u53f3&#xff0c;8\u8defD1\u89c6\u9891\u6d41\u540c\u65f6\u4f20\u8f93\u65f6&#xff0c;CPU\u5360\u7528\u7387\u63a7\u5236\u572830%\u4ee5\u5185\u3002<\/p>\n<h3>4. \u591a\u8def\u5e76\u53d1\u4e0e\u8fde\u63a5\u7ba1\u7406\u7b56\u7565<\/h3>\n<p>\u5de5\u4e1a\u5e94\u7528\u573a\u666f\u5f80\u5f80\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u8def\u89c6\u9891\u6d41&#xff0c;\u826f\u597d\u7684\u8fde\u63a5\u7ba1\u7406\u673a\u5236\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>\u8fde\u63a5\u6570\u9650\u5236\u901a\u8fc7\u5728RTSPServer\u4e2d\u6dfb\u52a0\u8ba1\u6570\u673a\u5236\u5b9e\u73b0&#xff1a;<\/p>\n<p>class CustomRTSPServer : public RTSPServer {<br \/>\npublic:<br \/>\n    static CustomRTSPServer* createNew(UsageEnvironment&amp; env, Port port) {<br \/>\n        return new CustomRTSPServer(env, port);<br \/>\n    }<\/p>\n<p>protected:<br \/>\n    virtual ClientConnection* createNewClientConnection(int clientSocket, struct sockaddr_in clientAddr) {<br \/>\n        if (m_connected_clients &gt;&#061; MAX_CLIENTS) {<br \/>\n            envir() &lt;&lt; &#034;Maximum client connections reached\\\\n&#034;;<br \/>\n            return nullptr;<br \/>\n        }<br \/>\n        &#043;&#043;m_connected_clients;<br \/>\n        return new ClientConnection(*this, clientSocket, clientAddr);<br \/>\n    }<\/p>\n<p>private:<br \/>\n    std::atomic&lt;unsigned&gt; m_connected_clients{0};<br \/>\n    static constexpr unsigned MAX_CLIENTS &#061; 8;<br \/>\n};<\/p>\n<p>\u53cc\u961f\u5217\u7b56\u7565\u6709\u6548\u89e3\u51b3\u97f3\u89c6\u9891\u6570\u636e\u7ade\u4e89\u95ee\u9898&#xff1a;<\/p>\n<p>\u4f20\u7edf\u5355\u961f\u5217\u65b9\u6848\u4e2d&#xff0c;\u89c6\u9891\u5e27\u548c\u97f3\u9891\u5e27\u6df7\u5408\u5b58\u50a8&#xff0c;\u5bfc\u81f4&#xff1a;<\/p>\n<ul>\n<li>\u89c6\u9891\u6d88\u8d39\u8005\u53ef\u80fd\u8bfb\u5230\u97f3\u9891\u5e27&#xff0c;\u9020\u6210\u4e22\u5305\u548c\u91cd\u4f20<\/li>\n<li>\u97f3\u9891\u6d88\u8d39\u8005\u53ef\u80fd\u8bfb\u5230\u89c6\u9891\u5e27&#xff0c;\u5904\u7406\u5ef6\u8fdf\u589e\u52a0<\/li>\n<\/ul>\n<p>\u53cc\u961f\u5217\u65b9\u6848\u5c06\u97f3\u89c6\u9891\u6570\u636e\u5206\u79bb&#xff0c;\u5404\u81ea\u7ef4\u62a4\u72ec\u7acb\u7684\u751f\u4ea7\u548c\u6d88\u8d39\u6307\u9488&#xff0c;\u663e\u8457\u964d\u4f4e\u961f\u5217\u6ee1\u7684\u60c5\u51b5\u3002\u6d4b\u8bd5\u8868\u660e&#xff0c;8\u8defD1\u89c6\u9891\u6d41\u5728\u53cc\u961f\u5217\u652f\u6301\u4e0b\u8fde\u7eed\u8fd0\u884c48\u5c0f\u65f6\u65e0\u4e22\u5e27\u3002<\/p>\n<p>\u667a\u80fd\u8d44\u6e90\u56de\u6536\u673a\u5236\u786e\u4fdd\u8fde\u63a5\u65ad\u5f00\u540e\u53ca\u65f6\u91ca\u653e\u8d44\u6e90&#xff1a;<\/p>\n<p>void CustomClientConnection::handleTeardown() {<br \/>\n    \/\/ \u91ca\u653e\u5a92\u4f53\u4f1a\u8bdd\u8d44\u6e90<br \/>\n    if (m_media_session) {<br \/>\n        m_media_session-&gt;deleteAllSubsessions();<br \/>\n    }<\/p>\n<p>    \/\/ \u51cf\u5c11\u8fde\u63a5\u8ba1\u6570<br \/>\n    &#8211;m_connected_clients;<\/p>\n<p>    \/\/ \u8c03\u7528\u57fa\u7c7b\u5904\u7406<br \/>\n    RTSPServer::RTSPClientConnection::handleTeardown();<br \/>\n}<\/p>\n<h3>5. \u5b9e\u6218\u6848\u4f8b&#xff1a;\u5de5\u4e1a\u7ea7\u76d1\u63a7\u670d\u52a1\u5668\u5b9e\u73b0<\/h3>\n<p>\u57fa\u4e8e\u4e0a\u8ff0\u4f18\u5316\u7b56\u7565&#xff0c;\u6211\u4eec\u5b9e\u73b0\u4e86\u4e00\u4e2a\u5de5\u4e1a\u76d1\u63a7\u573a\u666f\u7684RTSP\u670d\u52a1\u5668&#xff0c;\u6838\u5fc3\u7279\u6027\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u591a\u534f\u8bae\u652f\u6301&#xff1a;RTSP over TCP\/UDP&#xff0c;\u81ea\u9002\u5e94\u7f51\u7edc\u6761\u4ef6<\/li>\n<li>\u667a\u80fd\u7801\u7387\u63a7\u5236&#xff1a;\u6839\u636e\u7f51\u7edc\u72b6\u51b5\u52a8\u6001\u8c03\u6574\u89c6\u9891\u8d28\u91cf<\/li>\n<li>\u65ad\u7ebf\u91cd\u8fde&#xff1a;\u7f51\u7edc\u5f02\u5e38\u81ea\u52a8\u6062\u590d&#xff0c;\u6700\u5927\u91cd\u8bd5\u6b21\u6570\u53ef\u914d\u7f6e<\/li>\n<li>\u72b6\u6001\u76d1\u63a7&#xff1a;\u5b9e\u65f6\u8f93\u51fa\u5404\u901a\u9053\u72b6\u6001\u548c\u7cfb\u7edf\u8d1f\u8f7d<\/li>\n<\/ul>\n<p>\u914d\u7f6e\u793a\u4f8b&#xff1a;<\/p>\n<p># \u670d\u52a1\u5668\u914d\u7f6e<br \/>\nserver.port &#061; 8554<br \/>\nserver.max_connections &#061; 16<br \/>\nserver.timeout &#061; 30000<\/p>\n<p># \u89c6\u9891\u53c2\u6570<br \/>\nvideo.width &#061; 1280<br \/>\nvideo.height &#061; 720<br \/>\nvideo.framerate &#061; 25<br \/>\nvideo.bitrate &#061; 2048000<\/p>\n<p># \u97f3\u9891\u53c2\u6570<br \/>\naudio.sample_rate &#061; 44100<br \/>\naudio.channels &#061; 2<br \/>\naudio.bitrate &#061; 128000<\/p>\n<p>\u6027\u80fd\u6d4b\u8bd5\u7ed3\u679c&#xff1a;<\/p>\n<table>\n<tr>\u6d4b\u8bd5\u573a\u666fCPU\u5360\u7528\u7387\u5185\u5b58\u4f7f\u7528\u7f51\u7edc\u5ef6\u8fdf<\/tr>\n<tbody>\n<tr>\n<td>\u5355\u8def720p&#064;25fps<\/td>\n<td>4.3%<\/td>\n<td>22MB<\/td>\n<td>&lt;100ms<\/td>\n<\/tr>\n<tr>\n<td>4\u8def720p&#064;25fps<\/td>\n<td>13.7%<\/td>\n<td>31MB<\/td>\n<td>100-200ms<\/td>\n<\/tr>\n<tr>\n<td>8\u8def720p&#064;25fps<\/td>\n<td>29.0%<\/td>\n<td>34MB<\/td>\n<td>200-300ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d&#xff0c;\u6211\u4eec\u53d1\u73b0\u4f18\u5316\u540e\u7684\u670d\u52a1\u5668\u80fd\u591f\u7a33\u5b9a\u8fd0\u884c\u5728\u4e3b\u6d41\u5d4c\u5165\u5f0f\u5e73\u53f0&#xff08;\u5982ARM Cortex-A53\/A72\u7cfb\u5217&#xff09;\u4e0a&#xff0c;\u6ee1\u8db3\u5de5\u4e1a\u76d1\u63a7\u5bf9\u5b9e\u65f6\u6027\u548c\u53ef\u9760\u6027\u7684\u8981\u6c42\u3002<\/p>\n<p>\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u6280\u672f\u65b9\u6848&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u6784\u5efa\u51fa\u9ad8\u6027\u80fd\u7684\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\u3002\u5173\u952e\u70b9\u5728\u4e8e&#xff1a;\u7cbe\u7ec6\u5316\u7684\u4ea4\u53c9\u7f16\u8bd1\u914d\u7f6e\u3001\u6df1\u5ea6\u7684\u67b6\u6784\u7406\u89e3\u3001\u96f6\u62f7\u8d1d\u5185\u5b58\u7ba1\u7406\u548c\u667a\u80fd\u8fde\u63a5\u7b56\u7565\u3002\u8fd9\u4e9b\u4f18\u5316\u63aa\u65bd\u5171\u540c\u4f5c\u7528&#xff0c;\u4f7f\u5f97\u5728\u8d44\u6e90\u53d7\u9650\u7684\u5d4c\u5165\u5f0f\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u8d28\u91cf\u89c6\u9891\u6d41\u4f20\u8f93\u6210\u4e3a\u53ef\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668&#xff1a;Live555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f<br \/>\n\u5728\u5de5\u4e1a\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u56fe\u4f20\u7b49\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u6781\u9ad8\u7684\u5d4c\u5165\u5f0f\u573a\u666f\u4e2d&#xff0c;\u6784\u5efa\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684RTSP\u6d41\u5a92\u4f53\u670d\u52a1\u5668\u662f\u8bb8\u591a\u5f00\u53d1\u8005\u9762\u4e34\u7684\u6838\u5fc3\u6311\u6218\u3002Live555\u4f5c\u4e3a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5e93&#xff0c;\u4ee5\u5176\u7b80\u6d01\u7684\u67b6\u6784\u548c\u7a33\u5b9a\u7684RTSP\/RTP\u534f\u8bae\u5b9e\u73b0&#xff0c;\u6210\u4e3a\u5d4c\u5165\u5f0f\u6d41\u5a92\u4f53\u5f00\u53d1\u7684\u9996\u9009\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u4ece\u4ea4\u53c9\u7f16\u8bd1\u5230\u6027\u80fd\u4f18\u5316\u7684\u5b8c\u6574\u5b9e\u73b0\u8def\u5f84&#xff0c;\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e00\u5957\u53ef\u843d\u5730\u7684\u6280\u672f\u65b9\u6848\u3002<br \/>\n1. \u5d4c\u5165\u5f0f\u73af\u5883\u4e0b\u7684Live5<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8113,700,1335,219],"topic":[],"class_list":["post-75904","post","type-post","status-publish","format-standard","hentry","category-server","tag-8113","tag-live555","tag-rtsp","tag-219"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/75904.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668&#xff1a;Live555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f \u5728\u5de5\u4e1a\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u56fe\u4f20\u7b49\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u6781\u9ad8\u7684\u5d4c\u5165\u5f0f\u573a\u666f\u4e2d&#xff0c;\u6784\u5efa\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684RTSP\u6d41\u5a92\u4f53\u670d\u52a1\u5668\u662f\u8bb8\u591a\u5f00\u53d1\u8005\u9762\u4e34\u7684\u6838\u5fc3\u6311\u6218\u3002Live555\u4f5c\u4e3a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5e93&#xff0c;\u4ee5\u5176\u7b80\u6d01\u7684\u67b6\u6784\u548c\u7a33\u5b9a\u7684RTSP\/RTP\u534f\u8bae\u5b9e\u73b0&#xff0c;\u6210\u4e3a\u5d4c\u5165\u5f0f\u6d41\u5a92\u4f53\u5f00\u53d1\u7684\u9996\u9009\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u4ece\u4ea4\u53c9\u7f16\u8bd1\u5230\u6027\u80fd\u4f18\u5316\u7684\u5b8c\u6574\u5b9e\u73b0\u8def\u5f84&#xff0c;\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e00\u5957\u53ef\u843d\u5730\u7684\u6280\u672f\u65b9\u6848\u3002 1. \u5d4c\u5165\u5f0f\u73af\u5883\u4e0b\u7684Live5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/75904.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-13T05:25:49+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75904.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/75904.html\",\"name\":\"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-13T05:25:49+00:00\",\"dateModified\":\"2026-02-13T05:25:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/75904.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/75904.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75904.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/75904.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668&#xff1a;Live555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f \u5728\u5de5\u4e1a\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u56fe\u4f20\u7b49\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u6781\u9ad8\u7684\u5d4c\u5165\u5f0f\u573a\u666f\u4e2d&#xff0c;\u6784\u5efa\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684RTSP\u6d41\u5a92\u4f53\u670d\u52a1\u5668\u662f\u8bb8\u591a\u5f00\u53d1\u8005\u9762\u4e34\u7684\u6838\u5fc3\u6311\u6218\u3002Live555\u4f5c\u4e3a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5e93&#xff0c;\u4ee5\u5176\u7b80\u6d01\u7684\u67b6\u6784\u548c\u7a33\u5b9a\u7684RTSP\/RTP\u534f\u8bae\u5b9e\u73b0&#xff0c;\u6210\u4e3a\u5d4c\u5165\u5f0f\u6d41\u5a92\u4f53\u5f00\u53d1\u7684\u9996\u9009\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u4ece\u4ea4\u53c9\u7f16\u8bd1\u5230\u6027\u80fd\u4f18\u5316\u7684\u5b8c\u6574\u5b9e\u73b0\u8def\u5f84&#xff0c;\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e00\u5957\u53ef\u843d\u5730\u7684\u6280\u672f\u65b9\u6848\u3002 1. \u5d4c\u5165\u5f0f\u73af\u5883\u4e0b\u7684Live5","og_url":"https:\/\/www.wsisp.com\/helps\/75904.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-13T05:25:49+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/75904.html","url":"https:\/\/www.wsisp.com\/helps\/75904.html","name":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-13T05:25:49+00:00","dateModified":"2026-02-13T05:25:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/75904.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/75904.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/75904.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u96f6\u6784\u5efa\u5d4c\u5165\u5f0fRTSP\u670d\u52a1\u5668\uff1aLive555\u7f16\u8bd1\u4e0e\u4f18\u5316\u7684\u827a\u672f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/75904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=75904"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/75904\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=75904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=75904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=75904"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=75904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}