# mywebrtc **Repository Path**: dtrylzhm/mywebrtc ## Basic Information - **Project Name**: mywebrtc - **Description**: 基于webrtc的M90版本的开发衍生版本,也尝试过最新版本的webrtc,M100 在运行example目录下的peer_connection例子时候 ,总是有各种各样的问题,最新版本的webrtc竟然不会回调onconnect,导致client不能连接信令服务器server,故选择M90,CommitID是:a07012e049a56730dfd6c77628e82d1bf5b3d68f - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-31 - **Last Updated**: 2026-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mywebrtc #### 介绍 基于webrtc的M90版本的开发衍生版本,也尝试过最新版本的webrtc,M100 在运行example目录下的peer_connection例子时候 ,总是有各种各样的问题,最新版本的webrtc竟然不会回调onconnect,导致client不能连接信令服务器server,故选择M90,CommitID是:a07012e049a56730dfd6c77628e82d1bf5b3d68f 最近的提交日志: commit a07012e049a56730dfd6c77628e82d1bf5b3d68f (HEAD, branch-heads/4430) Author: Roger Zanoni Date: Mon Oct 11 12:01:44 2021 +0000 [M90-LTS] Add Direction indicator to TransformableFrames #### 各个平台上的编译 ## mac gn gen out/mac --args='is_debug=true target_os="mac" target_cpu="arm64"' --ide=xcode ## linux 在一个新安装的ubuntu环境里,遇到报错: root@dtryl-VMware-Virtual-Platform:/home/dtryl/OpenMind/webrtc_m90/src# gn gen out/linux/ ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code. pkgresult = exec_script(pkg_config_script, args, "value") ^---------- Current dir: /home/dtryl/OpenMind/webrtc_m90/src/out/linux/ Command: python /home/dtryl/OpenMind/webrtc_m90/src/build/config/linux/pkg-config.py -s /home/dtryl/OpenMind/webrtc_m90/src/build/linux/debian_sid_amd64-sysroot -a x64 gio-2.0 gio-unix-2.0 Returned 1. stderr: Traceback (most recent call last): File "/home/dtryl/OpenMind/webrtc_m90/src/build/config/linux/pkg-config.py", line 248, in sys.exit(main()) File "/home/dtryl/OpenMind/webrtc_m90/src/build/config/linux/pkg-config.py", line 143, in main prefix = GetPkgConfigPrefixToStrip(options, args) File "/home/dtryl/OpenMind/webrtc_m90/src/build/config/linux/pkg-config.py", line 82, in GetPkgConfigPrefixToStrip "--variable=prefix"] + args, env=os.environ).decode('utf-8') File "/usr/lib/python2.7/subprocess.py", line 216, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory See //modules/desktop_capture/BUILD.gn:212:5: whence it was called. pkg_config("gio") { ^------------------ See //modules/BUILD.gn:28:15: which caused the file to be included. deps += [ "desktop_capture" ] 安装glib: apt install libglib2.0-0 libglib2.0-dev