github.com/pion/webrtc/v4@v4.0.1/rtpreceiver_js.go (about) 1 // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 2 // SPDX-License-Identifier: MIT 3 4 //go:build js && wasm 5 // +build js,wasm 6 7 package webrtc 8 9 import "syscall/js" 10 11 // RTPReceiver allows an application to inspect the receipt of a TrackRemote 12 type RTPReceiver struct { 13 // Pointer to the underlying JavaScript RTCRTPReceiver object. 14 underlying js.Value 15 }