mozilla / janus-plugin-sfu

Janus plugin to act as a kind of SFU for game networking data.
Mozilla Public License 2.0
135 stars 39 forks source link

Remove again lazy_static dependency? #64

Closed vincentfretin closed 3 years ago

vincentfretin commented 3 years ago

@mqp I just saw an old PR https://github.com/mozilla/janus-plugin-sfu/pull/41 where you removed the usage of lazy_static. The multi threading PR reintroduced the dependency https://github.com/mozilla/janus-plugin-sfu/pull/49 Can we remove again the dependency and use OneCell or something like that? I'm not familiar with those Rust constructs so I'm not sure how to change it.

mqp commented 3 years ago

Good suggestion, fixed it up.

vincentfretin commented 3 years ago

Thank you!