takahirox / nes-rust

NES emulator written in Rust + WASM
MIT License
208 stars 24 forks source link

Replace RTCPeerConnection.addStream() with .addTrack() #73

Open takahirox opened 4 years ago

takahirox commented 4 years ago

RTCPeerConnection.addStream() is deprecated.

https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addStream

We should use .addTrack() instead.