Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Snowflake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Anti-censorship
  • Pluggable Transports
  • Snowflake
  • Issues
  • #19569
Closed
Open
Created Jul 04, 2016 by Arlo Breault@arloDeveloper

DataChannel-only libwebrtc

Equivalently, https://github.com/keroserene/go-webrtc/issues/10

This is my first working patch, https://gist.github.com/arlolra/f43b3e980e88a534b61c7a5ef3903124

It applies against f33698296719f956497d2dbff81b5080864a8804, which was HEAD of branch-heads/52 when I started, and the current build of go-webrtc (see https://github.com/keroserene/go-webrtc/pull/42)

To use it,

gclient sync -r f33698296719f956497d2dbff81b5080864a8804
cd src/
git am the.patch
GYP_DEFINES="include_tests=0 include_examples=0" python webrtc/build/gyp_webrtc webrtc/api/api.gyp
ninja -C out/Release

Then do the usual concatenating stuff. It's important to note here that the patch ifdefs in a few headers, so be sure to update those or you'll get some segfaults.

All the go-webrtc / snowflake tests passed, and I was able to bootstrap a tor client with it.

I was also able to make this change to go-webrtc/webrtc-darwin-amd64.pc,

-       -framework AppKit \
-       -framework CoreAudio \
-       -framework AudioToolbox
+       -framework AppKit

This trimmed the build by about 10MB, and I assume with a little more work can be improved.

Assignee
Assign to
Time tracking