webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Broaden compatibility for embedded platforms

Open coder0xff opened this issue 1 year ago • 1 comments

I'm working on compiling WebRTC on the Xtensa (ESP32s3) platform.

  • Tokio was recently updated to support more platforms, but certain features are not available (and may never be). The "process" and "signal" features aren't used by WebRTC. Rather than use the "full" feature group, the relevant Cargo.toml's have been updated to list the set of features included in "full", excluding the "process" and "signal" features. WebRTC builds correctly against tokio with these changes.
  • Migrates to the portable-atomic library from std::sync::atomic to support more platforms

coder0xff avatar Feb 19 '24 23:02 coder0xff

please make sure all checks are passed. Thanks.

rainliu avatar Feb 20 '24 16:02 rainliu

please make sure all checks are passed. Thanks.

I got cargo test passing and pushed, but the checks are now cleared so I can't see if any more failed. (I'm not familiar with GitHub's checks system.) Hopefully everything is good anyway.

coder0xff avatar Mar 10 '24 19:03 coder0xff

I'd love to see this go in, if everything is okay with it. If not, it would be useful to know what's stopping it.

marcbrevoort-cyberhive avatar Mar 12 '24 13:03 marcbrevoort-cyberhive

I'm rolling back the master branch on my fork so I can try the actions merging into my own master first. I'll close this PR in the meantime and re-open it once I can get past that step.

coder0xff avatar Mar 13 '24 02:03 coder0xff

I had to create a new PR after rebasing. https://github.com/webrtc-rs/webrtc/pull/546

coder0xff avatar Mar 13 '24 02:03 coder0xff