{"id":14037221,"url":"https://github.com/sourcey/webrtc-builds","last_synced_at":"2025-07-27T05:30:59.308Z","repository":{"id":45264405,"uuid":"69049338","full_name":"sourcey/webrtc-builds","owner":"sourcey","description":"Automated WebRTC build scripts for Linux, Windows, Mac, Android and iOS.","archived":false,"fork":true,"pushed_at":"2019-12-30T14:47:56.000Z","size":122195,"stargazers_count":154,"open_issues_count":1,"forks_count":73,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-13T03:07:15.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sourcey.com/precompiled-webrtc-libraries/","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vsimon/webrtcbuilds","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sourcey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-23T18:09:46.000Z","updated_at":"2024-01-22T08:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sourcey/webrtc-builds","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fwebrtc-builds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fwebrtc-builds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fwebrtc-builds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fwebrtc-builds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcey","download_url":"https://codeload.github.com/sourcey/webrtc-builds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762620,"owners_count":17816052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-12T03:02:35.993Z","updated_at":"2024-12-02T16:32:29.077Z","avatar_url":"https://github.com/sourcey.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# WebRTC Automated Builds\n\n[![CircleCI](https://circleci.com/gh/sourcey/webrtc-builds.svg?style=svg)](https://circleci.com/gh/sourcey/webrtc-builds)\n\nThese cross platform build scripts automate the hard work of building and packaging WebRTC. Big thanks to @vsimon for laying the foundation for these scripts.\n\n## Supported platforms\n\n* **OSX**: [Homebrew](http://brew.sh/) recommend. Build for 'mac' and 'ios'.\n* **Windows**: Visual Studio Community 2015 Update 3 or newer\nwith a bash shell such as [Git for Windows](https://msysgit.github.io) or [MSYS](http://www.mingw.org/wiki/msys)\ninstalled.\n* **Linux**: Debian or Ubuntu flavour with `apt-get` available. Build for 'linux' and 'android'.\n\n## Usage\n\nTo build the latest version of WebRTC just type:\n\n```\n# Build latest WebRTC for current platform:\n./build.sh\n\n# To compile a specific branch with both x64 and x86 libraries you would run:\n./build.sh -c x64 -b branch-heads/66\n./build.sh -c x86 -b branch-heads/66 -x\n\n# To cross compile both x64 and x86 libraries for iOS you would run (on MacOS):\n./build.sh -c x64 -t ios\n./build.sh -c x86 -t ios -x\n```\n\nOr with options:\n\n```\nUsage:\n   $0 [OPTIONS]\n\nWebRTC automated build script.\n\nOPTIONS:\n   -o OUTDIR      Output directory. Default is 'out'\n   -b BRANCH      Latest revision on git branch. Overrides -r. Common branch names are 'branch-heads/nn', where 'nn' is the release number.\n   -r REVISION    Git SHA revision. Default is latest revision.\n   -t TARGET OS   The target os for cross-compilation. Default is the host OS such as 'linux', 'mac', 'win'. Other values can be 'android', 'ios'.\n   -c TARGET CPU  The target cpu for cross-compilation. Default is 'x64'. Other values can be 'x86', 'arm64', 'arm'.\n   -l BLACKLIST   List *.o objects to exclude from the static library.\n   -e             Compile WebRTC with RTII enabled.\n   -f             Build only mode. Skip repo sync and dependency checks, just build, compile and package.\n   -d             Debug mode. Print all executed commands.\n   -h             Show this message\nEOF\n```\n\nThe output packages will be saved to `{OUTDIR}/webrtcbuilds-\u003crev\u003e-\u003csha\u003e-\u003ctarget-os\u003e-\u003ctarget-cpu\u003e.\u003cext\u003e`, where `\u003crev\u003e` is the revision number of the commit, `\u003csha\u003e` is the short git SHA\nof the commit, and `\u003ctarget-os\u003e-\u003ctarget-cpu\u003e` is the OS (linux, mac, win) and CPU (x64, x86) of the target environment.\n\nOn Windows `7-Zip` is used for compressing packages, which produces vastly superiour output file size. On mac and linux the output file is `tar.gz`.\n\n## Running tests\n\nOnce you have compiled the libraries you can run a quick compile test to ensure build integrity:\n\n```\n./test/run_tests.sh out/webrtc-17657-02ba69d-linux-x64\n```\n\n## Further reading\n\nThe following links point to official WebRTC related documentation:\n\n* [https://webrtc.org/native-code/development/](https://webrtc.org/native-code/development/)\n* [https://webrtc.org/native-code/development/prerequisite-sw/](https://webrtc.org/native-code/development/prerequisite-sw/)\n* [http://dev.chromium.org/developers/how-tos/install-depot-tools](http://dev.chromium.org/developers/how-tos/install-depot-tools)\n* [https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md](https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md)\n* [https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/quick_start.md](https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/quick_start.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcey%2Fwebrtc-builds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcey%2Fwebrtc-builds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcey%2Fwebrtc-builds/lists"}