{"id":1872,"date":"2017-03-20T14:49:17","date_gmt":"2017-03-20T06:49:17","guid":{"rendered":"http:\/\/myblog.emhct.net.cn\/?p=1872"},"modified":"2017-03-20T14:49:17","modified_gmt":"2017-03-20T06:49:17","slug":"%e3%80%90macosx%e3%80%81ios%e3%80%81%e8%b7%a8%e5%b9%b3%e5%8f%b0%e7%bc%96%e8%af%91%e3%80%91%e5%9c%a8%e8%b7%a8%e5%b9%b3%e5%8f%b0%e7%bc%96%e8%af%91%e6%97%b6macosx-serriaxcode%e6%98%af%e6%88%91%e9%81%87","status":"publish","type":"post","link":"http:\/\/myblog.emhct.net.cn\/index.php\/archives\/1872","title":{"rendered":"\u3010MacOSX\u3001iOS\u3001\u8de8\u5e73\u53f0\u7f16\u8bd1\u3011\u5728\u8de8\u5e73\u53f0\u7f16\u8bd1\u65f6MacOSX Serria\/XCode\u662f\u6211\u9047\u5230bug\u6700\u591a\u7684\u5e73\u53f0"},"content":{"rendered":"<p>\u6700\u8fd1\u88ab\u5b89\u6392\u6765\u641e\u5b9aandroid\u3001ios\u3001mac\u3001windows\u4e0b\u7684webrtc\u3001ffmpeg\u548cx264\u7684\u7f16\u8bd1\u95ee\u9898\u3002<\/p>\n<p>\u9664\u4e86\u7531\u4e8ewebrtc\u914d\u7f6e\u5de5\u7a0b\u7684\u95ee\u9898\u5728windows\u4e0b\u6211\u81ea\u5df1\u7684\u642d\u5efa\u73af\u5883\u65e0\u6cd5\u4f7f\u7528\uff0c\u6700\u7ec8\u6c42\u52a9\u4e8e\u4e4b\u524d\u4f7f\u7528\u7684\u865a\u62df\u673a\u73af\u5883\u4ee5\u5916\uff0candroid\u4e0b\u7684webrtc\u90fd\u6bd4\u8f83\u987a\u5229\uff0c\u540c\u6837\u4e5f\u662f\u7f16\u8bd1anroid\u73af\u5883\u7684\u548cwindows\u73af\u5883\u7684ffmpeg\uff0c\u76f8\u5bf9\u6765\u8bf4\u4e5f\u662f\u6bd4\u8f83\u987a\u7545\uff08\u867d\u7136\u8fd8\u662f\u51fa\u73b0\u4e86\u4e00\u4e9b\u574e\u5777\uff09\u3002<\/p>\n<p>\u4f46\u5728Mac\u73af\u5883\u4e0b\u7f16\u8bd1webrtc\u3001ffmpeg\u548cx264\u5c31\u6ca1\u6709\u90a3\u4e48\u5e78\u8fd0\u4e86\u3002\u7b80\u76f4\u5c31\u662f\u4eba\u95f4\u5730\u72f1\uff0c\u9996\u5148\u8bf4\u660e\u4e00\u4e0b\uff0c\u8fd9\u4e2aMac\u673a\u539f\u5148\u662f\u6709\u5176\u4ed6\u5f00\u53d1\u8005\u5728\u4e0a\u9762\u7f16\u8bd1\u6210\u529f\u8fc7\u8fd9\u4e09\u4e2a\u5de5\u7a0b\u7684\uff0c\u5230\u6211\u4e4b\u540e\u5c31\u5f00\u59cb\u51fa\u73b0\u4e86\u4e00\u5927\u5806\u95ee\u9898\uff08\u5f53\u7136\u4e5f\u6709\u53ef\u80fd\u6211\u7528\u7684\u662f\u7528\u6237\u65b0\u5e10\u53f7\u7684\u7f18\u6545\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u4eba\u95f4\u5730\u72f1\u7684\u5f00\u59cb<\/h2>\n<ul>\n<li>\u5148\u8bf4\u4e00\u8bf4\u7f16\u8bd1webrtc\u9047\u5230\u7684\u5751\u7239\u95ee\u9898\u3002\u7531\u4e8ewebrtc\u7f16\u8bd1\u73af\u5883\u6211\u4eec\u53ea\u8f93\u51fa\u9759\u6001\u5e93\uff0c\u5e76\u4e0d\u8f93\u51fa\u4e00\u4e2aframework\u6216\u8005app\uff0c\u6240\u4ee5\u5e76\u4e0d\u9700\u8981\u5173\u5fc3\u592a\u591aapp\u5c42\u9762\u7684\u95ee\u9898\uff08\u5982\u8bc1\u4e66\u76f8\u5173\uff09\u3002\u867d\u77e5\u9053\u5728webrtc\u7684gyp\u68c0\u67e5\u9879\u76ee\u4e2d\u4f1a\u5bf9\u8bc1\u4e66\u51b2\u7a81\u505a\u68c0\u67e5\uff0c\u7531\u4e8e\u673a\u5668\u4e2d\u5b58\u5728\u591a\u4e2a\u8bc1\u4e66\uff0c\u5bfc\u81f4gyp\u9636\u6bb5\u65e0\u6cd5\u751f\u6210\u6b63\u786e\u7684\u7f16\u8bd1\u914d\u7f6e\u53c2\u6570\u3002\u5bfc\u81f4\u6298\u817e\u4e86\u4e00\u5468\uff0c\u6700\u540e\u624d\u53d1\u73b0\u548c\u8bc1\u4e66\u6709\u5173\u3002\u867d\u7136\u8fd9\u4e2a\u95ee\u9898\u548cgyp\u6709\u4e00\u5b9a\u7684\u5173\u7cfb\uff0c\u4f46\u4e5f\u53ea\u662f\u6211\u5bf9mac\u4e0a\u7f16\u8bd1\u548c\u4ea4\u53c9\u7f16\u8bd1\u7684\u88ab\u5751\u7684\u8d77\u70b9\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>\u63a5\u7740\u662fx264\u548cffmpeg\u7f16\u8bd1\u65f6\uff0c\u7531\u4e8e\u7ed9\u6211\u7684\u5de5\u7a0b\u4e4b\u524d\u90fd\u662f\u80fd\u591f\u6210\u529f\u7f16\u8bd1\u7684\uff0c\u73b0\u5982\u4eca\u62ff\u8fc7\u6765\uff0c\u9664\u4e86Mac\u5e73\u53f0\u53ef\u4ee5\u901a\u8fc7\u4ee5\u5916\uff0c\u771f\u673a\u548c\u6a21\u62df\u5668\u90fd\u4e0d\u884c\u3002\u6298\u817e\u6765\u6298\u817e\u53bb\u51e0\u5929\uff0c\u6700\u540e\u53d1\u73b0\u662fclang\u53bb\u627e\u4f9d\u8d56\u7684\u65f6\u5019\u627e\u9519\u4e86\uff0c\u627e\u4e86mac\u7684\u4f9d\u8d56\u73af\u5883\uff0c\u800c\u4e0d\u662f\u53bb\u627eiphoneos\u7684\u4f9d\u8d56\uff0c\u7136\u540e\u600e\u4e48\u8c03\u90fd\u6ca1\u7528\u3002\u5f88\u662f\u5751\u7239\uff0c\u5c31\u62ff\u7f51\u4e0a\u7684\u73b0\u6210\u811a\u672c\u6765\u8dd1\u4e5f\u662f\u4e0d\u884c\u3002<\/li>\n<\/ul>\n<p style=\"padding-left: 30px;\">\u6700\u540e\u53bb\u67e5config.log\uff0c\u53d1\u73b0\u4e00\u5806\u9519\u8bef\uff0c\u5176\u4e2dffmpeg\u7684\u9519\u8bef\u8fd8\u6709\u4e00\u4e2a\u53eb\u505agas-preprocessor.pl\u7684\u6267\u884c\u9519\u8bef\uff0c\u7531\u4e8e\u662f\u901a\u8fc7git\u76f4\u63a5\u4ece\u7f51\u4e0a\u62ff\u4e0b\u6765\u7684\u811a\u672c\uff0c\u5728\u6ca1\u6709\u4efb\u4f55\u4fee\u6539\u7684\u60c5\u51b5\u4e0b\uff0c\u901a\u8fc7sftp\u53d1\u5230mac\u91cc\u9762\uff0c\u7ed9\u4e86\u6267\u884c\u6743\u9650\u4e4b\u540e\u901a\u8fc7\u547d\u4ee4\u884c\u76f4\u63a5\u6267\u884c\u4e00\u70b9\u95ee\u9898\u90fd\u6ca1\u6709\uff0c\u4f46\u901a\u8fc7configure\u6267\u884c\u65f6\u5c31\u4e00\u76f4\u62a5\u6ca1\u6709\u6743\u9650\u7684\u9519\uff0c\u600e\u4e48\u4e5f\u60f3\u4e0d\u660e\u767d\uff1b\u540e\u6765\u8bd5\u7740\u7528curl\u62ff\u6587\u4ef6\uff0c\u5c45\u7136\u901a\u4e86\u3002\u5f53\u65f6\u6211\u5c31\u4f30\u8ba1\u5982\u679c\u4e0d\u662f\u5b57\u7b26\u96c6\u7684\u95ee\u9898\uff0c\u5c31\u662f\u6743\u9650\u6807\u8bb0\u4f4d\u7684\u95ee\u9898\u3002<\/p>\n<p style=\"padding-left: 30px;\">\u63a5\u7740\u518d\u7ee7\u7eed\u4fee\u6539\u5173\u4e8e\u4f9d\u8d56\u7684\u95ee\u9898\uff0c\u4ec5\u4ec5\u4e00\u4e2a\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177clang\uff0c\u5c45\u7136\u5728\u4e0d\u540c\u7684\u5de5\u7a0b\u91cc\u9762\u5bf9\u540c\u4e00\u4e2a\u8def\u5f84\u53c2\u6570\u80fd\u591f\u51fa\u73b0\u591a\u79cd\u4e0d\u540c\u7684\u884c\u4e3a\uff0c\u540e\u6765\u8fd8\u7279\u610f\u770b\u4e86\u4e00\u4e0bclang\u662f\u4e0d\u662fGNU\u5f00\u6e90\u793e\u533a\u7684\u4ee3\u7801\uff0c\u901a\u8fc7&#8211;version\u770b\u5230\u7684\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<p style=\"padding-left: 30px;\">Apple LLVM version 8.0.0 (clang-800.0.42.1)<br \/>\nTarget: x86_64-apple-darwin16.4.0<br \/>\nThread model: posix<br \/>\nInstalledDir: \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin<\/p>\n<\/blockquote>\n<p style=\"padding-left: 30px;\">\u53ef\u89c1\u8fd9\u4e2a\u5751\u662f\u82f9\u679c\u81ea\u5df1\u7684\u3002\u53ef\u80fd\u662f\u7531\u4e8e\u547d\u4ee4\u884c\u7684\u957f\u5ea6\u7684\u4e0d\u540c\uff0c\u5bfc\u81f4\u89e3\u6790\u547d\u4ee4\u884c\u7684bug\uff1f\u6216\u8005\u5176\u4ed6\u4ec0\u4e48\u5751\u7239\u95ee\u9898\uff1f\u53cd\u6b63\u6211\u662f\u4e0d\u77e5\u9053\u4e86\uff0c\u8fd1\u51e0\u5e74\u5f00\u59cb\u82f9\u679c\u7684\u4ea7\u54c1\u4e5f\u4e0d\u89c1\u5f97\u6709\u591a\u5c11\u4f18\u52bf\u4e86\uff0c\u6b63\u5728\u88ab\u4e00\u70b9\u70b9\u62c9\u5c0f\u5dee\u8ddd\u3002\u5982\u679c\u4e0d\u662f\u4e3a\u4e86\u6df7\u53e3\u996d\u5403\uff0c\u82f9\u679c\u7684\u4efb\u4f55\u4ea7\u54c1\u6211\u771f\u7684\u4e0d\u60f3\u53bb\u78b0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u88ab\u5b89\u6392\u6765\u641e\u5b9aandroid\u3001ios\u3001mac\u3001windows\u4e0b\u7684webrtc\u3001ffmpeg\u548cx264\u7684\u7f16\u8bd1\u95ee\u9898\u3002 \u9664\u4e86\u7531\u4e8ewebrtc\u914d\u7f6e\u5de5\u7a0b\u7684\u95ee\u9898\u5728windows\u4e0b\u6211\u81ea\u5df1\u7684\u642d\u5efa\u73af\u5883\u65e0\u6cd5\u4f7f\u7528\uff0c\u6700\u7ec8\u6c42\u52a9\u4e8e\u4e4b\u524d\u4f7f\u7528\u7684\u865a\u62df\u673a\u73af\u5883\u4ee5\u5916\uff0candroid\u4e0b\u7684webrtc\u90fd\u6bd4\u8f83\u987a\u5229\uff0c\u540c\u6837\u4e5f\u662f\u7f16\u8bd1anroid\u73af\u5883\u7684\u548cwindows\u73af &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/myblog.emhct.net.cn\/index.php\/archives\/1872\">read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,64,15,79,70,71],"tags":[],"class_list":["post-1872","post","type-post","status-publish","format-standard","hentry","category-linux-shell","category-shell","category-unixProgram","category-image_process","category-audio_video_image","category-audio_video_codec"],"_links":{"self":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/1872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1872"}],"version-history":[{"count":3,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/1872\/revisions"}],"predecessor-version":[{"id":1875,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/1872\/revisions\/1875"}],"wp:attachment":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1872"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}