{"id":3692,"date":"2026-04-03T21:43:10","date_gmt":"2026-04-03T13:43:10","guid":{"rendered":"http:\/\/www.51cos.com\/?p=3692"},"modified":"2026-04-03T21:43:10","modified_gmt":"2026-04-03T13:43:10","slug":"openipc-tx%e7%ab%af-openwrt-rx%e7%ab%af","status":"publish","type":"post","link":"http:\/\/www.51cos.com\/?p=3692","title":{"rendered":"[OpenIPC TX\u7aef]          +            [OpenWrt RX\u7aef]"},"content":{"rendered":"<h2>\u5b8c\u6574\u67b6\u6784\u56fe<\/h2>\n<pre><code class=\"line-numbers\">[OpenIPC TX\u7aef]                      [OpenWrt RX\u7aef]                 [\u624b\u673a]\nSSC337\u82af\u7247 \u2192 majestic           WFB-ng \u63a5\u6536 \u2192 RTP\u6d41 \u2192 USB Tethering \u2192 App\u89e3\u7801\u663e\u793a\n  \u2193          \u2193                      \u2193                            \u2193\nRTL8812EU \u2190 wfb-ng\u53d1\u9001 \u2190 WFB\u6570\u636e \u2190 RTL8812EU   \u2190 USB\u7f51\u7edc \u2192 RTSP\/UDP\u64ad\u653e\n<\/code><\/pre>\n<h2>1. TX\u7aef\u914d\u7f6e\uff08OpenIPC\uff09<\/h2>\n<h3>\u786c\u4ef6\u51c6\u5907<\/h3>\n<ul>\n<li>OpenIPC\u6444\u50cf\u5934\uff08SSC337\u82af\u7247\uff09<\/li>\n<li>RTL8812EU USB\u7f51\u5361<\/li>\n<li>OpenIPC FPV\u56fa\u4ef6\uff08\u5e26wfb-ng\u652f\u6301\uff09<\/li>\n<\/ul>\n<h3>Majestic\u914d\u7f6e\uff08<code>\/etc\/majestic.yaml<\/code>\uff09<\/h3>\n<pre><code class=\"language-yaml line-numbers\">video0:\n  enabled: true\n  size: 1280x720  # \u6216 1920x1080\n  fps: 60\n  bitrate: 4096\n  codec: h264\n  rcMode: cbr\n  gopSize: 0.2\n  lowDelay: true\n\noutgoing:\n  # \u8f93\u51fa\u5230\u672c\u5730wfb-ng\u7aef\u53e3\n  - udp:\/\/127.0.0.1:5602\n\nrtsp:\n  enabled: false  # \u4e0d\u9700\u8981RTSP\uff0c\u76f4\u63a5\u7528UDP\n\nisp:\n  lowDelay: true\n<\/code><\/pre>\n<h3>WFB\u914d\u7f6e\uff08<code>\/etc\/wfb.conf<\/code>\uff09<\/h3>\n<pre><code class=\"language-bash line-numbers\">channel=161  # 5.8GHz\u9891\u9053\ntelemetry=false\n<\/code><\/pre>\n<p>\u53c2\u8003\u6765\u6e90\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/xdaforums.com\/t\/digital-fpv-using-openipc-and-wfb-ng.4634795\">Digital FPV using OpenIPC and WFB-NG &#8211; XDA Forums<\/a><\/p>\n<h2>2. RX\u7aef\u914d\u7f6e\uff08OpenWrt\uff09<\/h2>\n<h3>\u5b89\u88c5\u5fc5\u9700\u8f6f\u4ef6\u5305<\/h3>\n<pre><code class=\"language-bash line-numbers\">opkg update\nopkg install kmod-usb-net-cdc-ether  # USB tethering\nopkg install kmod-usb-net-rndis\nopkg install wifibroadcast-svpcom  # \u4ece\u672c\u4ed3\u5e93\u5b89\u88c5\n<\/code><\/pre>\n<h3>\u914d\u7f6eWFB\u63a5\u6536\u7aef\uff08<code>\/etc\/wifibroadcast.cfg<\/code>\uff09<\/h3>\n<pre><code class=\"language-ini line-numbers\">[common]\nwifi_channel = 161\nwifi_region = 'BO'\n\n[gs_video]\npeer = 'udp:\/\/192.168.42.129:5600'  # \u624b\u673aUSB tethering\u540e\u7684IP\n<\/code><\/pre>\n<h3>\u542f\u52a8WFB\u63a5\u6536<\/h3>\n<pre><code class=\"language-bash line-numbers\">systemctl enable wifibroadcast@gs\nsystemctl start wifibroadcast@gs\n<\/code><\/pre>\n<h2>3. USB Tethering\u8bbe\u7f6e<\/h2>\n<h3>Android\u8bbe\u5907<\/h3>\n<ol>\n<li>\u6253\u5f00&#8221;USB\u7f51\u7edc\u5171\u4eab&#8221;<\/li>\n<li>\u8fde\u63a5\u5230OpenWrt\u8def\u7531\u5668<\/li>\n<li>OpenWrt\u4f1a\u5206\u914dIP\uff08\u901a\u5e38\u662f<code>192.168.42.x<\/code>\u6bb5\uff09<\/li>\n<li>\u624b\u673aIP\uff1a<code>192.168.42.129<\/code>\uff0cOpenWrt\u7f51\u5173IP\uff1a<code>192.168.42.1<\/code><\/li>\n<\/ol>\n<h3>iOS\u8bbe\u5907\uff08\u9700\u8981\u6ce8\u610f\uff09<\/h3>\n<p>&#x26a0;&#xfe0f; <strong>iOS 14+ USB Tethering\u6709\u517c\u5bb9\u6027\u95ee\u9898<\/strong><\/p>\n<p>\u6839\u636e<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/discussions.apple.com\/thread\/251841768\">Apple\u8ba8\u8bba\u533a<\/a>\uff0ciOS 14\u7834\u574f\u4e86Linux\/OpenWrt\u7684USB tethering\u529f\u80fd\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848\uff1a<\/strong><br \/>\n1. \u4f7f\u7528iOS 13\u6216\u66f4\u4f4e\u7248\u672c\u7684iPhone<br \/>\n2. \u6216\u8005\u4f7f\u7528Wi-Fi tethering\u4ee3\u66ffUSB tethering<br \/>\n3. \u7b49\u5f85OpenWrt\u66f4\u65b0ipheth\u9a71\u52a8\uff08\u5df2\u6709patch\uff09<\/p>\n<p>\u53c2\u8003\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/discussions.apple.com\/thread\/251841768?page=4\">iOS14 iPhone USB tethering broken for Linux\/OpenWRT<\/a><\/p>\n<h2>4. \u624b\u673aApp\u89e3\u7801\u65b9\u6848<\/h2>\n<h3>\u65b9\u6848A\uff1aRTSP\u8f6c\u6d41\uff08\u63a8\u8350\uff09<\/h3>\n<p>\u5728OpenWrt\u4e0a\u5b89\u88c5RTSP\u670d\u52a1\u5668\uff0c\u5c06WFB\u63a5\u6536\u5230\u7684RTP\u6d41\u8f6c\u6362\u4e3aRTSP\uff1a<\/p>\n<pre><code class=\"language-bash line-numbers\">opkg install rtsp-simple-server\n<\/code><\/pre>\n<p>\u914d\u7f6e\uff08<code>\/etc\/rtsp-simple-server.conf<\/code>\uff09\uff1a<\/p>\n<pre><code class=\"language-yaml line-numbers\">paths:\n  wfb_stream:\n    source: udp:\/\/0.0.0.0:5600\n    sourceOnDemand: yes\n<\/code><\/pre>\n<h4>Android App<\/h4>\n<p>\u4f7f\u7528\u652f\u6301RTSP\u7684\u64ad\u653e\u5668\uff1a<br \/>\n&#8211; VLC for Android<br \/>\n&#8211; MX Player<br \/>\n&#8211; \u81ea\u5b9a\u4e49App\uff08\u4f7f\u7528<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/developer.android.com\/guide\/topics\/media\/exoplayer\">ExoPlayer<\/a>\u6216<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.nabto.com\/gstreamer-rtsp-ios-android\">GStreamer<\/a>\uff09<\/p>\n<h4>iOS App<\/h4>\n<p>iOS\u7684AVFoundation\u4e0d\u652f\u6301RTSP\uff0c\u9700\u8981\uff1a<br \/>\n&#8211; \u81ea\u5b9a\u4e49App\u4f7f\u7528<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.nabto.com\/gstreamer-rtsp-ios-android\">GStreamer<\/a><br \/>\n&#8211; \u6216\u4f7f\u7528\u7b2c\u4e09\u65b9\u64ad\u653e\u5668<\/p>\n<h3>\u65b9\u6848B\uff1a\u76f4\u63a5UDP\u64ad\u653e\uff08\u66f4\u4f4e\u5ef6\u8fdf\uff09<\/h3>\n<p>\u5728OpenWrt\u4e0a\u914d\u7f6eUDP\u8f6c\u53d1\uff0c\u624b\u673a\u76f4\u63a5\u63a5\u6536RTP\u6d41\u3002<\/p>\n<h4>Android App<\/h4>\n<ul>\n<li>\u4f7f\u7528<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/pedroSG94\/RootEncoder\">RootEncoder<\/a>\u5e93\u5f00\u53d1\u81ea\u5b9a\u4e49App<\/li>\n<li>\u652f\u6301UDP\u6d41\u7684H264\u89e3\u7801<\/li>\n<\/ul>\n<h4>iOS App<\/h4>\n<ul>\n<li>\u81ea\u5b9a\u4e49App\u4f7f\u7528GStreamer UDP\u63a5\u6536\u5668<\/li>\n<li>\u53c2\u8003\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.nabto.com\/gstreamer-rtsp-ios-android\">GStreamer for RTSP live feeds on iOS and Android<\/a><\/li>\n<\/ul>\n<h2>5. \u63a8\u8350\u7684App\u65b9\u6848<\/h2>\n<h3>\u6700\u4f4e\u5ef6\u8fdf\u65b9\u6848\uff08\u76f4\u63a5UDP\uff09<\/h3>\n<p><strong>Android\uff1a<\/strong><\/p>\n<pre><code class=\"language-java line-numbers\">\/\/ \u4f7f\u7528RootEncoder\u5e93\u7684UDP\u63a5\u6536\nSource source = new UdpSource(\"192.168.42.1\", 5600);\nMediaCodecVideoDecoder decoder = new MediaCodecVideoDecoder(source);\n<\/code><\/pre>\n<p><strong>iOS\uff1a<\/strong><br \/>\n\u4f7f\u7528GStreamer\u76f4\u63a5\u63a5\u6536UDP\u6d41\uff1a<\/p>\n<pre><code class=\"language-c line-numbers\">\/\/ GStreamer pipeline\ngst-launch-1.0 udpsrc port=5600 ! application\/x-rtp ! rtph264depay ! avdec_h264 ! glimagesink\n<\/code><\/pre>\n<h3>\u6613\u7528\u65b9\u6848\uff08RTSP\uff09<\/h3>\n<p>\u5b89\u88c5RTSP\u670d\u52a1\u5668\u540e\uff0c\u4f7f\u7528\u73b0\u6210\u7684\u64ad\u653e\u5668\uff1a<br \/>\n&#8211; Android\uff1aVLC, MX Player<br \/>\n&#8211; iOS\uff1a\u9700\u8981\u81ea\u5b9a\u4e49App\uff08\u4f7f\u7528GStreamer\uff09<\/p>\n<h2>6. \u5173\u952e\u6ce8\u610f\u4e8b\u9879<\/h2>\n<ol>\n<li><strong>\u5ef6\u8fdf\u4f18\u5316<\/strong>\uff1a\n<ul>\n<li>\u4f7f\u7528Majestic\u7684<code>lowDelay: true<\/code><\/li>\n<li>\u51cf\u5c0fGOP\uff08<code>gopSize: 0.2<\/code>\uff09<\/li>\n<li>\u4f7f\u7528\u9ad8\u5e27\u7387\uff0860fps\uff09<\/li>\n<li>\u9009\u62e9\u5408\u9002\u7684MCS\u503c\uff08MCS#1\u62162\uff09<\/li>\n<\/ul>\n<\/li>\n<li><strong>WiFi\u9891\u9053<\/strong>\uff1a\n<ul>\n<li>TX\u548cRX\u5fc5\u987b\u4f7f\u7528\u76f8\u540c\u9891\u9053\uff08\u63a8\u8350165\u6216161\uff09<\/li>\n<li>\u907f\u5f00RC\u9065\u63a7\u5668\u4f7f\u7528\u7684\u9891\u9053<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u52a0\u5bc6\u5bc6\u94a5<\/strong>\uff1a\n<ul>\n<li>TX\u548cRX\u5fc5\u987b\u4f7f\u7528\u76f8\u540c\u7684\u5bc6\u94a5\u5bf9<\/li>\n<li>\u590d\u5236<code>\/etc\/drone.key<\/code>\u548c<code>\/etc\/gs.key<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>USB\u4f9b\u7535<\/strong>\uff1a\n<ul>\n<li>RTL8812EU\u9700\u89815V 5A\u4f9b\u7535<\/li>\n<li>\u6dfb\u52a0470uF\u7535\u5bb9\u8fc7\u6ee4\u7535\u538b\u5c16\u5cf0<\/li>\n<li>\u5fc5\u987b\u6709\u4e3b\u52a8\u6563\u70ed<\/li>\n<\/ul>\n<\/li>\n<li><strong>iOS\u517c\u5bb9\u6027<\/strong>\uff1a\n<ul>\n<li>\u8003\u8651\u4f7f\u7528Wi-Fi tethering\u66ff\u4ee3USB tethering<\/li>\n<li>\u6216\u8005\u4f7f\u7528Android\u8bbe\u5907\u4f5c\u4e3a\u663e\u793a\u7ec8\u7aef<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u5efa\u8bae\u9605\u8bfb\uff1a<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/xdaforums.com\/t\/digital-fpv-using-openipc-and-wfb-ng.4634795\">Digital FPV using OpenIPC and WFB-NG<\/a><br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/openipc.org\/majestic-endpoints\">Majestic Endpoints &#8211; OpenIPC<\/a><br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.nabto.com\/gstreamer-rtsp-ios-android\">GStreamer for RTSP on iOS and Android<\/a><br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/discussions.apple.com\/thread\/251841768?page=4\">iOS14 USB Tethering Issue<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b8c\u6574\u67b6\u6784\u56fe [OpenIPC TX\u7aef] [OpenWrt RX\u7aef] [\u624b\u673a] SSC337\u82af\u7247 \u2192 majes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,22],"tags":[],"class_list":["post-3692","post","type-post","status-publish","format-standard","hentry","category-embedded","category-plana"],"_links":{"self":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3692"}],"version-history":[{"count":1,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3692\/revisions"}],"predecessor-version":[{"id":3693,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3692\/revisions\/3693"}],"wp:attachment":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3692"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}