medooze / media-server-node

WebRTC Media Server for Node.js
MIT License
802 stars 119 forks source link

raw frame sending PoC #193

Closed mildsunrise closed 2 years ago

mildsunrise commented 2 years ago

high-level counterpart to medooze/media-server#121.

NetworkUtils.js handles pulling the necessary data about the network configuration from the OS. It also does some checks to prevent users from enabling the feature on setups where it wouldn't work correctly.

Endpoint.js exposes a high-level setRawTx(options) API, which only needs the interface name. It collects the necessary data and calls into C++.

Note: If we want to merge this, we should remember to check Node.js version support for v8::Uint8Array. Outdated.

mildsunrise commented 2 years ago

merged from the command line (git merge --squash raw-tx) due to conflict with the submodule