{"id":82201,"date":"2026-07-25T07:18:17","date_gmt":"2026-07-24T23:18:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82201.html"},"modified":"2026-07-25T07:18:17","modified_gmt":"2026-07-24T23:18:17","slug":"%e5%9f%ba%e4%ba%8e-rk3588s%e7%9a%84%e8%87%aa%e7%a0%94%e7%bc%96%e7%a0%81%e5%99%a8-zmswebrtc-%e6%9c%8d%e5%8a%a1%e5%99%a8100ms%e4%bb%a5%e5%86%85%e7%9a%84%e4%bd%8e%e5%bb%b6%e8%bf%9f%e8%a7%86%e9%a2%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82201.html","title":{"rendered":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf"},"content":{"rendered":"<h2>\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668&#043; ZMS&#043;WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf<\/h2>\n<h3>\u6458\u8981<\/h3>\n<p>\u5728\u8fb9\u7f18\u8ba1\u7b97\u4e0e\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u573a\u666f\u4e2d&#xff0c;\u5d4c\u5165\u5f0f\u8bbe\u5907\u5b9e\u73b0 1080P&#064;60 \u9ad8\u5e27\u7387\u3001\u8d85\u4f4e\u5ef6\u8fdf\u3001\u591a\u7528\u6237\u5e76\u53d1 \u7684\u89c6\u9891\u4f20\u8f93\u662f\u5178\u578b\u6311\u6218\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u5957\u5168\u81ea\u7814\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf&#xff1a;\u524d\u7aef\u57fa\u4e8e Orange Pi 5&#xff08;RK3588S&#xff09; \u642d\u8f7d USB \u6444\u50cf\u5934\u91c7\u96c6 MJPEG \u6d41&#xff0c;\u5229\u7528 RK3588 MPP \u786c\u4ef6\u5b8c\u6210 MJPEG \u2192 H.264 \u7684\u9ad8\u6548\u8f6c\u6362\u7f16\u7801&#xff1b;\u4e2d\u95f4\u5c42\u4f7f\u7528\u81ea\u7814\u8f7b\u91cf\u7ea7\u6d41\u5a92\u4f53\u8def\u7531\u5668 ZMS \u8fdb\u884c\u534f\u8bae\u8f6c\u6362\u4e0e\u591a\u8def\u5206\u53d1&#xff0c;CPU \u6d88\u8017\u4ec5\u7ea6 1%&#xff1b;\u540e\u7aef\u5bf9\u63a5 Go \u8bed\u8a00\u81ea\u7814\u7684\u591a\u8def WebRTC \u670d\u52a1\u5668&#xff0c;\u652f\u6301\u540c\u65f6\u670d\u52a1\u591a\u4e2a\u6d4f\u89c8\u5668\u5ba2\u6237\u7aef\u3002\u5b9e\u6d4b\u6570\u636e&#xff1a;<\/p>\n<ul>\n<li>RTSP \u76f4\u63a5\u62c9\u6d41 &#043; RK3588 \u786c\u89e3\u7801\u4e0a\u5c4f&#xff1a;\u7aef\u5230\u7aef\u5ef6\u8fdf\u7a33\u5b9a\u5728 70ms&#xff1b;<\/li>\n<li>WebRTC \u6d4f\u89c8\u5668\u64ad\u653e&#xff1a;\u7aef\u5230\u7aef\u5ef6\u8fdf\u7ea6 100ms&#xff08;\u57fa\u4e8e\u9875\u9762\u5185\u65f6\u95f4\u6233\u5dee\u503c\u5b9e\u6d4b&#xff09;\u3002<\/li>\n<li>\u6709\u56fe\u6709\u771f\u76f8<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724231814-6a63f2b6dda6a.png\" alt=\"\u5c40\u57df\u7f51webrtc\u5ef6\u65f6\u622a\u56fe101ms\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724231815-6a63f2b7c1609.png\" alt=\"windows \u81ea\u7814\u64ad\u653e\u5668\" \/><\/li>\n<\/ul>\n<p>\u5168\u6587\u9610\u8ff0\u4e86 MJPEG \u786c\u4ef6\u8f6c\u7801\u3001ZMS \u6781\u7b80\u8def\u7531\u3001Go \u591a\u8def WebRTC \u7f51\u5173\u7684\u5de5\u7a0b\u5b9e\u73b0\u4e0e\u6027\u80fd\u8c03\u4f18&#xff0c;\u4e3a\u8fb9\u7f18\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u63d0\u4f9b\u9ad8\u6027\u4ef7\u6bd4\u3001\u53ef\u843d\u5730\u7684\u53c2\u8003\u65b9\u6848\u3002<\/p>\n<h3>1. \u80cc\u666f\u4e0e\u52a8\u673a<\/h3>\n<p>\u5b9e\u65f6\u89c6\u9891\u5728\u65e0\u4eba\u673a\u5de1\u68c0\u3001\u8fdc\u7a0b\u64cd\u63a7\u3001\u667a\u6167\u5b89\u9632\u7b49\u9886\u57df\u9700\u6c42\u65e5\u76ca\u589e\u957f\u3002\u4f20\u7edf RTMP\/HLS \u65b9\u6848\u5ef6\u8fdf\u9ad8&#xff08;3~10 \u79d2&#xff09;&#xff0c;\u96be\u4ee5\u6ee1\u8db3\u4ea4\u4e92\u578b\u4e1a\u52a1&#xff1b;\u800c\u7eaf WebRTC \u65b9\u6848\u5728 ARM \u8fb9\u7f18\u8bbe\u5907\u4e0a\u5f80\u5f80\u8fc7\u4e8e\u81c3\u80bf\u3002<\/p>\n<p>1080P&#064;60 \u9ad8\u5e27\u7387 \u5bf9\u8fb9\u7f18\u8282\u70b9\u7684\u7f16\u7801\u3001\u8f6c\u53d1\u3001\u4f20\u8f93\u63d0\u51fa\u4e86\u66f4\u9ad8\u8981\u6c42\u3002\u672c\u65b9\u6848\u57fa\u4e8e\u4ee5\u4e0b\u7ea6\u675f\u8bbe\u8ba1&#xff1a;<\/p>\n<ul>\n<li>\u91c7\u96c6\u6e90\u4e3a\u901a\u7528 USB \u6444\u50cf\u5934&#xff0c;\u8f93\u51fa MJPEG \u683c\u5f0f&#xff08;\u5e26\u5bbd\u53cb\u597d&#xff0c;\u4f46\u65e0\u6cd5\u76f4\u63a5\u7528\u4e8e\u4f4e\u5ef6\u8fdf RTP \u4f20\u8f93&#xff09;&#xff1b;<\/li>\n<li>\u8fb9\u7f18\u8282\u70b9\u4e3a Orange Pi 5&#xff08;RK3588S&#xff09;&#xff0c;\u5177\u5907\u5f3a\u5927\u7684 H.264 \u786c\u4ef6\u7f16\u7801\u5668&#xff0c;\u6700\u9ad8\u652f\u6301 1080P&#064;60 \u5b9e\u65f6\u7f16\u7801&#xff1b;<\/li>\n<li>\u76ee\u6807\u4e3a \u591a\u6d4f\u89c8\u5668\u5ba2\u6237\u7aef \u5e76\u53d1\u64ad\u653e 1080P&#064;60&#xff0c;\u8981\u6c42\u7aef\u5230\u7aef\u5ef6\u8fdf \u2264120ms\u3002<\/li>\n<\/ul>\n<p>\u6211\u4eec\u8bbe\u8ba1\u5e76\u5b9e\u73b0\u4e86 MJPEG \u786c\u4ef6\u8f6c\u6362 &#043; \u8f7b\u91cf\u7ea7\u8def\u7531 &#043; Go \u591a\u8def WebRTC \u7f51\u5173 \u7684\u5168\u94fe\u8def\u65b9\u6848\u3002\u4f5c\u4e3a\u5bf9\u6bd4&#xff0c;\u7eaf RTSP \u62c9\u6d41 &#043; \u672c\u5730\u786c\u89e3\u7801\u4e0a\u5c4f&#xff08;\u5982\u4f7f\u7528 RK3588 \u7684\u786c\u4ef6\u89e3\u7801\u5668&#xff09;\u53ef\u8fbe\u5230 70ms \u7a33\u5b9a\u5ef6\u8fdf&#xff0c;\u800c WebRTC \u65b9\u6848\u5b9e\u6d4b\u7ea6 100ms&#xff0c;\u5b8c\u5168\u6ee1\u8db3\u4ea4\u4e92\u9700\u6c42\u3002<\/p>\n<h3>2. \u603b\u4f53\u67b6\u6784<\/h3>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 USB Camera  \u2502\u2500\u2500\u2500\u25b6\u2502 RK3588S MPP        \u2502\u2500\u2500\u2500\u25b6\u2502   ZMS       \u2502\u2500\u2500\u2500\u25b6\u2502 WebRTC Server  \u2502\u2500\u2500\u2500\u25b6\u2502Browser\u2502<br \/>\n\u2502 (MJPEG)     \u2502    \u2502 MJPEG\u2192H.264        \u2502    \u2502  Router     \u2502    \u2502   (Go, Multi)  \u2502    \u2502(Multi-\u2502<br \/>\n\u2502 1080P&#064;60    \u2502    \u2502 (hardware)         \u2502    \u2502 (CPU ~1%)   \u2502    \u2502                \u2502    \u2502client)\u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                                                    \u2502<br \/>\n                                                    \u25bc<br \/>\n                                             RTSP direct path:<br \/>\n                                          ZMS \u2192 \u81ea\u7814\u64ad\u653e\u5668 \u2192 display<br \/>\n                                              (70ms latency)<\/p>\n<ul>\n<li>MJPEG \u91c7\u96c6\u4e0e\u786c\u8f6c\u7801&#xff1a;V4L2 \u6293\u53d6 1080P&#064;60 MJPEG \u5e27&#xff0c;\u901a\u8fc7 RKMPP \u786c\u4ef6\u89e3\u7801\u4e3a YUV&#xff0c;\u518d\u9001\u5165 H.264 \u7f16\u7801\u5668&#xff0c;\u8f93\u51fa Annex\u2011B \u683c\u5f0f\u3002<\/li>\n<li>ZMS \u6d41\u5a92\u4f53\u8def\u7531\u5668&#xff1a;\u8f7b\u91cf\u7ea7 RTSP \u670d\u52a1\u5668&#xff0c;\u8f6c\u53d1\u6d88\u8017\u4ec5\u7ea6 1% CPU&#xff08;1080P&#064;60 \u5b9e\u6d4b&#xff09;&#xff0c;\u652f\u6301\u591a\u8def\u5206\u53d1\u3002<\/li>\n<li>Go WebRTC \u670d\u52a1\u5668&#xff1a;\u4f7f\u7528 Go \u8bed\u8a00\u5b9e\u73b0&#xff08;\u57fa\u4e8e pion\/webrtc \u6846\u67b6&#xff09;&#xff0c;\u652f\u6301\u591a\u5ba2\u6237\u7aef\u5e76\u884c\u4f1a\u8bdd&#xff0c;\u5b8c\u6210 RTSP\u2192WebRTC \u534f\u8bae\u8f6c\u6362\u3002<\/li>\n<li>RTSP \u76f4\u63a5\u8def\u5f84&#xff1a;\u5ba2\u6237\u7aef\u76f4\u63a5 RTSP \u62c9\u6d41&#xff0c;FFMPEG\u6df1\u5ea6\u4f18\u5316\u89e3\u7801\u4e0a\u5c4f&#xff0c;\u5ef6\u8fdf\u53ef\u4f4e\u81f3 70ms\u3002<\/li>\n<\/ul>\n<h3>3. \u786c\u4ef6\u5e73\u53f0&#xff1a;Orange Pi 5 &#043; USB \u6444\u50cf\u5934&#xff08;MJPEG 1080P&#064;60&#xff09;<\/h3>\n<p>Orange Pi 5 \u91c7\u7528\u745e\u82af\u5fae RK3588S \u82af\u7247&#xff0c;\u5176\u786c\u4ef6\u7f16\u7801\u5668&#xff08;H.264&#xff09;\u652f\u6301 1080P&#064;60 \u5b9e\u65f6\u7f16\u7801&#xff0c;\u786c\u4ef6\u89e3\u7801\u5668\u652f\u6301 1080P&#064;60 \u5b9e\u65f6\u89e3\u7801\u3002USB \u6444\u50cf\u5934\u9700\u652f\u6301 MJPEG \u683c\u5f0f\u7684 1080P&#064;60 \u8f93\u51fa&#xff08;\u4f8b\u5982 Logitech Brio \u6216\u5de5\u4e1a UVC \u76f8\u673a&#xff09;\u3002\u901a\u8fc7 V4L2 \u9a8c\u8bc1&#xff1a;<\/p>\n<p>v4l2-ctl <span class=\"token parameter variable\">-d<\/span> \/dev\/video0 &#8211;list-formats-ext <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-A10<\/span> MJPG<\/p>\n<p>\u9884\u671f\u8f93\u51fa\u5305\u542b 1920&#215;1080 \u4e14\u5e27\u7387\u53ef\u8fbe 60.0 fps\u3002\u91c7\u96c6\u65f6\u8bbe\u7f6e V4L2_PIX_FMT_MJPEG \u4ee5\u53ca V4L2_CAP_TIMEPERFRAME \u4e3a 1\/60 \u79d2\u3002<\/p>\n<h3>4. MJPEG \u91c7\u96c6\u4e0e MPP \u786c\u4ef6\u8f6c\u7801&#xff08;MJPEG \u2192 H.264&#xff0c;1080P&#064;60&#xff09;<\/h3>\n<h4>4.1 V4L2 \u91c7\u96c6 MJPEG<\/h4>\n<p><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">v4l2_format<\/span> fmt <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span>type <span class=\"token operator\">&#061;<\/span> V4L2_BUF_TYPE_VIDEO_CAPTURE<span class=\"token punctuation\">;<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span>fmt<span class=\"token punctuation\">.<\/span>pix<span class=\"token punctuation\">.<\/span>width <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1920<\/span><span class=\"token punctuation\">;<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span>fmt<span class=\"token punctuation\">.<\/span>pix<span class=\"token punctuation\">.<\/span>height <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1080<\/span><span class=\"token punctuation\">;<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span>fmt<span class=\"token punctuation\">.<\/span>pix<span class=\"token punctuation\">.<\/span>pixelformat <span class=\"token operator\">&#061;<\/span> V4L2_PIX_FMT_MJPEG<span class=\"token punctuation\">;<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span>fmt<span class=\"token punctuation\">.<\/span>pix<span class=\"token punctuation\">.<\/span>field <span class=\"token operator\">&#061;<\/span> V4L2_FIELD_NONE<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">ioctl<\/span><span class=\"token punctuation\">(<\/span>fd<span class=\"token punctuation\">,<\/span> VIDIOC_S_FMT<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>fmt<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u8bbe\u7f6e\u5e27\u7387 60fps<\/span><br \/>\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">v4l2_streamparm<\/span> parm <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\nparm<span class=\"token punctuation\">.<\/span>type <span class=\"token operator\">&#061;<\/span> V4L2_BUF_TYPE_VIDEO_CAPTURE<span class=\"token punctuation\">;<\/span><br \/>\nparm<span class=\"token punctuation\">.<\/span>parm<span class=\"token punctuation\">.<\/span>capture<span class=\"token punctuation\">.<\/span>timeperframe<span class=\"token punctuation\">.<\/span>numerator <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\nparm<span class=\"token punctuation\">.<\/span>parm<span class=\"token punctuation\">.<\/span>capture<span class=\"token punctuation\">.<\/span>timeperframe<span class=\"token punctuation\">.<\/span>denominator <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">60<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">ioctl<\/span><span class=\"token punctuation\">(<\/span>fd<span class=\"token punctuation\">,<\/span> VIDIOC_S_PARM<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>parm<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u91c7\u96c6\u7f13\u51b2\u533a\u5927\u5c0f\u9700\u9002\u5e94 1080P MJPEG \u5178\u578b\u5c3a\u5bf8&#xff08;\u6bcf\u5e27\u7ea6 200~500KB&#xff09;\u3002<\/p>\n<h4>4.2 MPP \u89e3\u7801 JPEG &#043; \u7f16\u7801 H.264 \u7684\u6d41\u6c34\u7ebf\u4f18\u5316<\/h4>\n<p>\u7531\u4e8e 1080P&#064;60 \u6570\u636e\u7387\u7ea6\u4e3a 60 \u5e27\/\u79d2&#xff0c;\u5355\u7ebf\u7a0b\u4e32\u884c\u5904\u7406&#xff08;\u89e3\u7801&#043;\u7f16\u7801&#xff09;\u53ef\u80fd\u6210\u4e3a\u74f6\u9888\u3002\u91c7\u7528 \u53cc\u7ebf\u7a0b\u6d41\u6c34\u7ebf &#043; \u53cc\u7f13\u51b2&#xff1a;<\/p>\n<ul>\n<li>\u7ebf\u7a0b A&#xff08;\u89e3\u7801&#xff09;&#xff1a;\u4ece V4L2 \u83b7\u53d6 MJPEG buffer \u2192 MPP \u89e3\u7801\u4e3a YUV420 \u2192 \u653e\u5165\u5e27\u961f\u5217\u3002<\/li>\n<li>\u7ebf\u7a0b B&#xff08;\u7f16\u7801&#xff09;&#xff1a;\u4ece\u961f\u5217\u53d6 YUV \u5e27 \u2192 MPP \u7f16\u7801 H.264&#xff08;\u8f93\u51fa Annex\u2011B&#xff09;\u2192 \u53d1\u9001\u7ed9 ZMS\u3002<\/li>\n<\/ul>\n<p>\u4f7f\u7528\u65e0\u9501\u73af\u5f62\u961f\u5217&#xff08;boost::lockfree::spsc_queue&#xff09;\u4f20\u9012\u5e27\u6307\u9488&#xff0c;\u907f\u514d\u4e92\u65a5\u5f00\u9500\u3002\u5b9e\u6d4b\u89e3\u7801\u8017\u65f6\u7ea6 3~5ms&#xff08;1080P MJPEG&#xff09;&#xff0c;\u7f16\u7801\u8017\u65f6\u7ea6 7~9ms&#xff08;1080P&#064;60&#xff0c;\u7801\u7387 4Mbps&#xff09;&#xff0c;\u603b pipeline \u5ef6\u8fdf &lt;15ms&#xff0c;\u53ef\u7a33\u5b9a\u8fbe\u5230 60fps \u8f93\u51fa\u3002<\/p>\n<h4>4.3 \u7f16\u7801\u5668\u914d\u7f6e&#xff08;\u4f4e\u5ef6\u8fdf&#xff09;<\/h4>\n<p>\u5173\u952e\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>rc_mode&#xff1a;MPP_ENC_RC_MODE_CBR&#xff08;\u6052\u5b9a\u7801\u7387&#xff0c;\u907f\u514d\u7801\u7387\u6ce2\u52a8\u5f15\u5165\u7f13\u51b2&#xff09;<\/li>\n<li>gop&#xff1a;30&#xff08;\u5173\u952e\u5e27\u95f4\u9694 0.5\u79d2&#xff0c;\u964d\u4f4e\u5ef6\u8fdf&#xff09;<\/li>\n<li>profile&#xff1a;MPP_PROFILE_AVC_HIGH<\/li>\n<li>level&#xff1a;40&#xff08;\u652f\u6301 1080P&#064;60&#xff09;<\/li>\n<li>\u5173\u95ed B \u5e27&#xff08;b_frame_num &#061; 0&#xff09;<\/li>\n<li>\u8bbe\u7f6e intra_refresh \u4e3a 1&#xff08;\u4f4e\u5ef6\u8fdf\u7f16\u7801\u6a21\u5f0f&#xff09;<\/li>\n<\/ul>\n<p>\u8f93\u51fa\u6d41\u4e3a H.264 Annex\u2011B&#xff0c;\u901a\u8fc7\u672c\u5730 RTSP \u63a8\u9001\u7ed9 ZMS\u3002<\/p>\n<h3>5. ZMS \u6d41\u5a92\u4f53\u8def\u7531\u5668&#xff08;CPU ~1%&#xff0c;1080P&#064;60&#xff09;<\/h3>\n<p>\u5173\u952e\u6027\u80fd\u6570\u636e&#xff1a;\u5728 Orange Pi 5 \u4e0a&#xff0c;ZMS \u5904\u7406\u4e00\u8def 1080P&#064;60 H.264 \u6d41&#xff08;\u7ea6 4 Mbps&#xff09;\u7684 CPU \u6d88\u8017\u5b9e\u6d4b\u7ea6\u4e3a 1~1.2%&#xff08;\u5355\u6838\u5229\u7528\u7387&#xff09;\u3002\u5185\u5b58\u5360\u7528\u7ea6 16 MB\u3002<\/p>\n<p>ZMS \u5185\u90e8\u65e0\u7f16\u89e3\u7801\u64cd\u4f5c&#xff0c;\u4ec5\u8fdb\u884c&#xff1a;<\/p>\n<ul>\n<li>RTP \u89e3\u5305&#xff08;\u4ece RTSP \u63a8\u6d41\u8f93\u5165&#xff09;\u6216\u76f4\u63a5\u63a5\u6536 Annex\u2011B&#xff1b;<\/li>\n<li>\u4e3a\u6bcf\u4e2a RTSP \u62c9\u6d41\u5ba2\u6237\u7aef\u72ec\u7acb\u751f\u6210 RTP \u5305&#xff08;\u5e8f\u5217\u53f7\/\u65f6\u95f4\u6233\u504f\u79fb&#xff09;&#xff1b;<\/li>\n<li>\u53c2\u6570\u96c6\u7f13\u5b58\u3002<\/li>\n<\/ul>\n<p>\u5b9e\u6d4b\u8f6c\u53d1\u5ef6\u8fdf&#xff08;push_nalu \u5230 RTP \u53d1\u9001\u5b8c\u6210&#xff09;\u5c0f\u4e8e 1ms&#xff0c;\u4e0d\u6210\u4e3a\u74f6\u9888\u3002<\/p>\n<h3>6. Go \u81ea\u7814 WebRTC \u670d\u52a1\u5668&#xff08;\u652f\u6301\u591a\u8def\u5e76\u53d1&#xff09;<\/h3>\n<h4>6.1 \u6280\u672f\u9009\u578b&#xff1a;Go &#043; pion\/webrtc<\/h4>\n<p>\u91c7\u7528 Go \u8bed\u8a00\u91cd\u6784&#xff0c;\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u5f00\u53d1\u6548\u7387\u9ad8&#xff0c;\u5185\u5b58\u5b89\u5168&#xff1b;<\/li>\n<li>pion\/webrtc \u662f\u6210\u719f\u7684\u7eaf Go WebRTC \u5b9e\u73b0&#xff0c;\u652f\u6301 DTLS\/SRTP\/ICE&#xff1b;<\/li>\n<li>\u5e76\u53d1\u6a21\u578b&#xff08;goroutine&#xff09;\u5929\u7136\u9002\u5408\u591a\u4f1a\u8bdd\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<p>\u67b6\u6784&#xff1a;<\/p>\n<p><span class=\"token keyword\">type<\/span> WebRTCServer <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    sessions   <span class=\"token keyword\">map<\/span><span class=\"token punctuation\">[<\/span><span class=\"token builtin\">string<\/span><span class=\"token punctuation\">]<\/span><span class=\"token operator\">*<\/span>Session<br \/>\n    rtspClient <span class=\"token operator\">*<\/span>gortsplib<span class=\"token punctuation\">.<\/span>Client   <span class=\"token comment\">\/\/ \u5355\u4f8b&#xff0c;\u62c9\u53d6 ZMS \u7684 RTSP \u6d41<\/span><br \/>\n    videoTrack <span class=\"token operator\">*<\/span>webrtc<span class=\"token punctuation\">.<\/span>TrackLocalStaticRTP<br \/>\n    mu         sync<span class=\"token punctuation\">.<\/span>RWMutex<br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">type<\/span> Session <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    peerConnection <span class=\"token operator\">*<\/span>webrtc<span class=\"token punctuation\">.<\/span>PeerConnection<br \/>\n    videoSender    <span class=\"token operator\">*<\/span>webrtc<span class=\"token punctuation\">.<\/span>RTPSender<br \/>\n    inbound        <span class=\"token keyword\">chan<\/span> <span class=\"token operator\">*<\/span>rtp<span class=\"token punctuation\">.<\/span>Packet   <span class=\"token comment\">\/\/ \u4ece\u5168\u5c40\u89e3\u7801\u5668\u63a5\u6536\u7684 RTP \u5305<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u5de5\u4f5c\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u670d\u52a1\u5668\u542f\u52a8&#xff0c;\u5efa\u7acb \u5355\u4e2a RTSP \u8fde\u63a5 \u5230 ZMS&#xff08;rtsp:\/\/zms:8554\/live&#xff09;&#xff0c;\u8c03\u7528 DESCRIBE \u83b7\u53d6 SDP&#xff0c;SETUP TCP \u4f20\u8f93&#xff0c;PLAY \u5f00\u59cb\u63a5\u6536 RTP \u5305\u3002<\/li>\n<li>\u63a5\u6536 RTP \u5305\u540e&#xff0c;\u901a\u8fc7 RtpDepacketizer \u8fd8\u539f H.264 NAL \u5355\u5143&#xff0c;\u518d\u901a\u8fc7 RtpPacketizer \u4e3a\u6bcf\u4e2a\u4f1a\u8bdd\u91cd\u65b0\u6253\u5305&#xff08;\u6bcf\u4e2a\u4f1a\u8bdd\u72ec\u7acb\u5e8f\u5217\u53f7\u3001SSRC&#xff09;\u3002<\/li>\n<li>\u6bcf\u4e2a PeerConnection \u521b\u5efa\u65f6&#xff0c;\u52a8\u6001\u6ce8\u518c Video RTPSender&#xff0c;\u5c06\u91cd\u6253\u5305\u7684 RTP \u5305\u53d1\u9001\u7ed9\u5bf9\u5e94\u7684\u6d4f\u89c8\u5668\u3002<\/li>\n<li>WebSocket \u4fe1\u4ee4\u5904\u7406&#xff1a;\u63a5\u6536 Offer \u2192 \u521b\u5efa Answer \u2192 \u8bbe\u7f6e LocalDescription \u2192 \u8fd4\u56de Answer\u3002<\/li>\n<h4>6.2 \u591a\u8def\u5e76\u53d1\u5173\u952e\u8bbe\u8ba1<\/h4>\n<ul>\n<li>\u5355\u8f93\u5165\u591a\u5206\u53d1&#xff1a;\u5168\u5c40\u53ea\u6709\u4e00\u4e2a RTSP \u63a5\u6536 goroutine&#xff0c;\u89e3\u7801\u540e\u7684\u539f\u59cb\u5e27&#xff08;NAL \u5355\u5143&#xff09;\u901a\u8fc7 sync.Cond \u5e7f\u64ad\u7ed9\u6240\u6709\u4f1a\u8bdd\u7684\u6253\u5305 goroutine\u3002<\/li>\n<li>\u6bcf\u4f1a\u8bdd\u72ec\u7acb RTP \u5e8f\u5217\u53f7&#xff1a;\u4f7f\u7528 pion\/rtp \u5e93&#xff0c;\u6bcf\u4e2a\u4f1a\u8bdd\u7ef4\u62a4\u4e00\u4e2a sequencer\u3002<\/li>\n<li>\u53d1\u9001\u9694\u79bb&#xff1a;\u6bcf\u4e2a\u4f1a\u8bdd\u7684\u53d1\u9001 goroutine \u62e5\u6709\u72ec\u7acb\u7684 channel \u7f13\u51b2&#xff08;\u5bb9\u91cf 500 \u5305&#xff09;&#xff0c;\u9632\u6b62\u6162\u4f1a\u8bdd\u963b\u585e\u5168\u5c40\u3002<\/li>\n<li>\u4f1a\u8bdd\u6570\u9650\u5236&#xff1a;\u53ef\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u8bbe\u7f6e\u6700\u5927\u5e76\u53d1\u6570&#xff08;\u4f8b\u5982 8&#xff09;&#xff0c;\u8d85\u8fc7\u8fd4\u56de 503\u3002<\/li>\n<\/ul>\n<p>\u5b9e\u6d4b\u5728 Orange Pi 5 \u4e0a&#xff0c;\u652f\u6301 5 \u8def 1080P&#064;60 \u5e76\u53d1&#xff0c;\u6bcf\u589e\u52a0\u4e00\u8def\u4f1a\u8bdd&#xff0c;CPU \u589e\u52a0\u7ea6 4~6%&#xff08;\u4e3b\u8981\u4e3a SRTP \u52a0\u5bc6\u548c RTP \u6253\u5305&#xff09;\u3002\u603b\u5185\u5b58\u5360\u7528\u7ea6 50MB &#043; \u6bcf\u4f1a\u8bdd 5MB\u3002<\/p>\n<h4>6.3 \u5ef6\u8fdf\u4f18\u5316<\/h4>\n<ul>\n<li>\u5173\u95ed WebRTC \u7684\u6296\u52a8\u7f13\u51b2&#xff08;\u901a\u8fc7\u8bbe\u7f6e peerConnection.Configuration \u4e2d SDPSemantics \u53ca SetRemoteDescription \u540e\u4fee\u6539 jitterBuffer \u53c2\u6570&#xff0c;\u4f7f\u7528 pion \u7684\u6269\u5c55\u9009\u9879&#xff09;\u3002<\/li>\n<li>\u7981\u7528\u97f3\u9891&#xff0c;\u4ec5\u4f7f\u7528\u89c6\u9891\u3002<\/li>\n<li>\u76f4\u63a5\u4f7f\u7528 ZMS \u4f20\u9012\u7684 RTP \u65f6\u95f4\u6233&#xff08;\u57fa\u4e8e\u7f16\u7801\u5668\u65f6\u949f&#xff09;&#xff0c;\u4e0d\u505a\u5e73\u6ed1\u5904\u7406\u3002<\/li>\n<li>\u5f3a\u5236\u4f7f\u7528 TCP \u4f20\u8f93&#xff08;RTSP \u62c9\u6d41&#xff09;&#xff0c;\u907f\u514d UDP \u4e22\u5305\u91cd\u4f20\u3002<\/li>\n<\/ul>\n<h3>7. \u6027\u80fd\u5b9e\u6d4b&#xff08;1080P&#064;60&#xff09;<\/h3>\n<h4>7.1 RTSP \u76f4\u63a5\u62c9\u6d41\u89e3\u7801\u4e0a\u5c4f&#xff08;\u57fa\u51c6&#xff09;<\/h4>\n<p>\u82e5\u5ba2\u6237\u7aef\u76f4\u63a5\u901a\u8fc7 RTSP \u62c9\u6d41&#xff0c;\u5229\u7528 RK3588 \u786c\u4ef6\u89e3\u7801\u5668&#xff08;RKVDEC&#xff09;\u89e3\u7801\u5e76\u4e0a\u5c4f&#xff08;FFmpeg \u786c\u89e3&#xff09;&#xff0c;\u7aef\u5230\u7aef\u5ef6\u8fdf\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u7f16\u7801\u7aef&#xff1a;MJPEG \u91c7\u96c6&#043;\u8f6c\u7801 15ms<\/li>\n<li>ZMS \u8f6c\u53d1 &lt;1ms<\/li>\n<li>\u7f51\u7edc\u4f20\u8f93&#xff08;\u672c\u5730&#xff09; 2ms<\/li>\n<li>\u5ba2\u6237\u7aef\u786c\u89e3&#043;\u6e32\u67d3 50ms<\/li>\n<\/ul>\n<p>\u5b9e\u6d4b\u5e73\u5747\u5ef6\u8fdf&#xff1a;70ms&#xff08;\u591a\u6b21\u79d2\u8868\u6d4b\u91cf&#xff0c;\u6807\u51c6\u5dee 5ms&#xff09;\u3002\u8fd9\u662f\u672c\u65b9\u6848\u80fd\u8fbe\u5230\u7684\u6700\u4f73\u5ef6\u8fdf&#xff0c;\u9002\u7528\u4e8e\u5bf9\u5b9e\u65f6\u6027\u6781\u5ea6\u654f\u611f\u7684\u573a\u666f&#xff08;\u5982\u65e0\u4eba\u673a\u7b2c\u4e00\u89c6\u89d2&#xff09;\u3002<\/p>\n<h4>7.2 WebRTC \u7aef\u5230\u7aef\u5ef6\u8fdf&#xff08;\u6d4f\u89c8\u5668\u64ad\u653e&#xff09;<\/h4>\n<p>\u5728\u76f8\u540c\u73af\u5883\u4e0b&#xff0c;WebRTC \u8def\u5f84\u589e\u52a0&#xff1a;<\/p>\n<ul>\n<li>Go \u670d\u52a1\u5668 RTP \u91cd\u6253\u5305 &#043; DTLS \u63e1\u624b&#xff08;\u9996\u6b21\u8fde\u63a5&#xff09; &#043; SRTP \u52a0\u5bc6&#xff08;\u6bcf\u5305&#xff09;<\/li>\n<li>\u6d4f\u89c8\u5668\u5185\u90e8\u7f13\u51b2\u4e0e\u6e32\u67d3<\/li>\n<\/ul>\n<p>\u5b9e\u6d4b\u5e73\u5747\u5ef6\u8fdf&#xff1a;\u7ea6 100ms&#xff08;\u57fa\u4e8e\u9875\u9762\u5185\u89c6\u9891\u5e27\u65f6\u95f4\u6233\u4e0e\u7cfb\u7edf\u65f6\u95f4\u5dee\u503c\u8ba1\u7b97&#xff0c;\u5982\u622a\u56fe\u6240\u793a&#xff09;\u3002\u5e27\u7387\u7a33\u5b9a\u5728 59~60 fps&#xff0c;\u65e0\u4e22\u5e27\u3002Frames rendered \u8ba1\u6570\u5668\u7ebf\u6027\u589e\u957f&#xff08;\u622a\u56fe\u663e\u793a\u4ece 118965 \u589e\u957f\u5230 121506&#xff09;\u3002<\/p>\n<h4>7.3 \u8d44\u6e90\u5360\u7528&#xff08;\u5355\u8def 1080P&#064;60&#xff09;<\/h4>\n<table>\n<tr>\u7ec4\u4ef6CPU \u5360\u7528\u5185\u5b58\u5360\u7528<\/tr>\n<tbody>\n<tr>\n<td>MJPEG \u89e3\u7801&#043;H.264 \u7f16\u7801<\/td>\n<td>18%<\/td>\n<td>25 MB<\/td>\n<\/tr>\n<tr>\n<td>ZMS<\/td>\n<td>1.2%<\/td>\n<td>16 MB<\/td>\n<\/tr>\n<tr>\n<td>Go WebRTC \u670d\u52a1\u5668<\/td>\n<td>15%<\/td>\n<td>35 MB<\/td>\n<\/tr>\n<tr>\n<td>\u603b\u8ba1<\/td>\n<td>34.2%<\/td>\n<td>76 MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u591a\u8def&#xff08;5 \u8def\u6d4f\u89c8\u5668\u5e76\u53d1&#xff09;\u65f6&#xff1a;<\/p>\n<ul>\n<li>ZMS CPU \u4e0d\u53d8&#xff08;1.2%&#xff09;<\/li>\n<li>Go \u670d\u52a1\u5668 CPU \u5347\u81f3 42%<\/li>\n<li>\u603b\u5185\u5b58\u7ea6 120 MB<\/li>\n<\/ul>\n<p>\u5728 RK3588S 8GB \u7248\u672c\u4e0a&#xff0c;\u53ef\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n<h3>8. \u5173\u952e\u6280\u672f\u70b9\u603b\u7ed3<\/h3>\n<table>\n<tr>\u9879\u76ee\u5b9e\u73b0\u7ec6\u8282<\/tr>\n<tbody>\n<tr>\n<td>\u539f\u59cb\u683c\u5f0f<\/td>\n<td>MJPEG (USB Camera)<\/td>\n<\/tr>\n<tr>\n<td>\u8f6c\u7801<\/td>\n<td>MPP \u786c\u4ef6\u89e3\u7801 JPEG &#043; \u786c\u4ef6\u7f16\u7801 H.264 (1080P&#064;60)<\/td>\n<\/tr>\n<tr>\n<td>\u6d41\u5a92\u4f53\u8def\u7531<\/td>\n<td>ZMS (\u81ea\u7814 C&#043;&#043;)&#xff0c;CPU 1.2%<\/td>\n<\/tr>\n<tr>\n<td>WebRTC \u670d\u52a1\u5668<\/td>\n<td>Go &#043; pion\/webrtc&#xff0c;\u652f\u6301\u591a\u8def\u5e76\u53d1 (1080P&#064;60)<\/td>\n<\/tr>\n<tr>\n<td>RTSP \u76f4\u63a5\u5ef6\u8fdf\u57fa\u51c6<\/td>\n<td>70ms (\u786c\u89e3\u7801\u4e0a\u5c4f)<\/td>\n<\/tr>\n<tr>\n<td>WebRTC \u6d4f\u89c8\u5668\u5ef6\u8fdf<\/td>\n<td>100ms (\u57fa\u4e8e\u5b9e\u6d4b\u622a\u56fe)<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u53d1\u8bed\u8a00<\/td>\n<td>\u91c7\u96c6\u7f16\u7801&#xff1a;C\/C&#043;&#043; (V4L2 &#043; MPP)&#xff1b; \u8def\u7531&#xff1a;C&#043;&#043;&#xff1b; WebRTC \u7f51\u5173&#xff1a;Go<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>9. \u7ed3\u8bba<\/h3>\n<p>\u672c\u6587\u57fa\u4e8e Orange Pi 5&#xff08;RK3588S&#xff09;\u3001\u81ea\u7814 ZMS \u6d41\u5a92\u4f53\u8def\u7531\u5668\u548c Go \u8bed\u8a00\u591a\u8def WebRTC \u670d\u52a1\u5668&#xff0c;\u6784\u5efa\u4e86\u652f\u6301 1080P&#064;60 \u7684\u8d85\u4f4e\u5ef6\u8fdf\u5b9e\u65f6\u89c6\u9891\u7cfb\u7edf\u3002\u901a\u8fc7 MJPEG \u786c\u4ef6\u8f6c\u7801\u94fe\u8def\u3001\u6781\u4f4e\u6d88\u8017\u7684 ZMS&#xff08;CPU 1.2%&#xff09;\u3001\u4ee5\u53ca\u9ad8\u6548\u7684\u591a\u4f1a\u8bdd WebRTC \u7f51\u5173&#xff0c;\u5b9e\u73b0\u4e86\u6d4f\u89c8\u5668\u7aef \u7ea6 100ms \u7684\u7aef\u5230\u7aef\u5ef6\u8fdf&#xff08;\u622a\u56fe\u9a8c\u8bc1&#xff09;&#xff0c;\u800c\u7eaf RTSP \u786c\u89e3\u7801\u8def\u5f84\u53ef\u8fbe 70ms\u3002\u7cfb\u7edf\u6574\u4f53\u8d44\u6e90\u5360\u7528\u4f4e&#xff0c;\u4e3a\u8fb9\u7f18\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u63d0\u4f9b\u4e86\u9ad8\u6027\u4ef7\u6bd4\u3001\u53ef\u843d\u5730\u7684\u53c2\u8003\u65b9\u6848,\u6b22\u8fce\u63a2\u8ba8\u7279\u5b9a\u786c\u4ef6\u548c\u4f7f\u7528\u573a\u666f\u7684100ms\u4ee5\u5185\u8d85\u4f4e\u5ef6\u65f6\u4f4e\u4ef7\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668 ZMSWebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf<br \/>\n\u6458\u8981<br \/>\n\u5728\u8fb9\u7f18\u8ba1\u7b97\u4e0e\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u573a\u666f\u4e2d&#xff0c;\u5d4c\u5165\u5f0f\u8bbe\u5907\u5b9e\u73b0 1080P60 \u9ad8\u5e27\u7387\u3001\u8d85\u4f4e\u5ef6\u8fdf\u3001\u591a\u7528\u6237\u5e76\u53d1 \u7684\u89c6\u9891\u4f20\u8f93\u662f\u5178\u578b\u6311\u6218\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u5957\u5168\u81ea\u7814\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf&#xff1a;\u524d\u7aef\u57fa\u4e8e Orange Pi 5&#xff08;RK3588S&#xff09; \u642d\u8f7d USB \u6444\u50cf\u5934\u91c7\u96c6 MJPEG \u6d41&#xff0c;\u5229\u7528 RK3588 MPP \u786c\u4ef6\u5b8c\u6210 MJPEG \u2192 H.26<\/p>\n","protected":false},"author":2,"featured_media":82199,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3159,537,399,43],"topic":[],"class_list":["post-82201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-rk3588","tag-webrtc","tag-399","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \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\/82201.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668 ZMSWebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf \u6458\u8981 \u5728\u8fb9\u7f18\u8ba1\u7b97\u4e0e\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u573a\u666f\u4e2d&#xff0c;\u5d4c\u5165\u5f0f\u8bbe\u5907\u5b9e\u73b0 1080P60 \u9ad8\u5e27\u7387\u3001\u8d85\u4f4e\u5ef6\u8fdf\u3001\u591a\u7528\u6237\u5e76\u53d1 \u7684\u89c6\u9891\u4f20\u8f93\u662f\u5178\u578b\u6311\u6218\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u5957\u5168\u81ea\u7814\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf&#xff1a;\u524d\u7aef\u57fa\u4e8e Orange Pi 5&#xff08;RK3588S&#xff09; \u642d\u8f7d USB \u6444\u50cf\u5934\u91c7\u96c6 MJPEG \u6d41&#xff0c;\u5229\u7528 RK3588 MPP \u786c\u4ef6\u5b8c\u6210 MJPEG \u2192 H.26\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82201.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T23:18:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724231814-6a63f2b6dda6a.png\" \/>\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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82201.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82201.html\",\"name\":\"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T23:18:17+00:00\",\"dateModified\":\"2026-07-24T23:18:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82201.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82201.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82201.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf\"}]},{\"@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":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \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\/82201.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668 ZMSWebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf \u6458\u8981 \u5728\u8fb9\u7f18\u8ba1\u7b97\u4e0e\u5b9e\u65f6\u89c6\u9891\u4ea4\u4e92\u573a\u666f\u4e2d&#xff0c;\u5d4c\u5165\u5f0f\u8bbe\u5907\u5b9e\u73b0 1080P60 \u9ad8\u5e27\u7387\u3001\u8d85\u4f4e\u5ef6\u8fdf\u3001\u591a\u7528\u6237\u5e76\u53d1 \u7684\u89c6\u9891\u4f20\u8f93\u662f\u5178\u578b\u6311\u6218\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u5957\u5168\u81ea\u7814\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf&#xff1a;\u524d\u7aef\u57fa\u4e8e Orange Pi 5&#xff08;RK3588S&#xff09; \u642d\u8f7d USB \u6444\u50cf\u5934\u91c7\u96c6 MJPEG \u6d41&#xff0c;\u5229\u7528 RK3588 MPP \u786c\u4ef6\u5b8c\u6210 MJPEG \u2192 H.26","og_url":"https:\/\/www.wsisp.com\/helps\/82201.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T23:18:17+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724231814-6a63f2b6dda6a.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82201.html","url":"https:\/\/www.wsisp.com\/helps\/82201.html","name":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T23:18:17+00:00","dateModified":"2026-07-24T23:18:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82201.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82201.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82201.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e RK3588S\u7684\u81ea\u7814\u7f16\u7801\u5668+ ZMS+WebRTC \u670d\u52a1\u5668100ms\u4ee5\u5185\u7684\u4f4e\u5ef6\u8fdf\u89c6\u9891\u6d41\u5a92\u4f53\u7cfb\u7edf"}]},{"@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\/82201","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=82201"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82201\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/82199"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82201"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}