mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00
Create WASM covering review
We have a few things that need to be addressed, I have ticketed them. We should now completely pass godox! Resolves #106
This commit is contained in:
@@ -67,7 +67,7 @@ func (d *DataChannel) OnMessage(f func(msg DataChannelMessage)) {
|
||||
defer oldHandler.Release()
|
||||
}
|
||||
onMessageHandler := js.FuncOf(func(this js.Value, args []js.Value) interface{} {
|
||||
// TODO: Ensure message order?
|
||||
// pion/webrtc/projects/15
|
||||
data := args[0].Get("data")
|
||||
go func() {
|
||||
// valueToDataChannelMessage may block when handling 'Blob' data
|
||||
|
Reference in New Issue
Block a user