Welcome! Besides the simulation codes in hairpin, we provide a WebRTC-compatible implementation of Hairpin based on the M119 release of WebRTC. This is a preliminary implementation and not fully tested yet. We are working on a more stable version but please do let us know if you encounter any issues.
Please follow the official instructions to clone the WebRTC repository.
If you follow the instructions above, you should under the webrtc-checkout directory.
git clone https://github.com/hkust-spark/hairpin-webrtc.git
If you follow the instructions above, you should under the webrtc-checkout directory.
cd src/
git checkout -b my_branch refs/remotes/branch-heads/6045
Make sure that you are at the src directory of the WebRTC repository.
git apply ../hairpin-webrtc/hairpin.patch
Reminder: you can add the --stat option to see the changes, and --check option to do a dry run to detect errors beforehand.
Copy the weights of Hairpin (fec_rate_table.bin) to the src directory of the WebRTC repository.
cp ../hairpin-webrtc/fec_rate_table.bin .
If you have any questions, please feel free to contact us at Zili Meng and Yan Zhang.