Registry / networking / pion-webrtc-v3

pion-webrtc-v3

JSON →
library3.3.4gogounverified

Package webrtc implements the WebRTC 1.0 specification for peer-to-peer real-time communication.

go get github.com/pion/webrtc/v3
INSTALL
IMPORT
SIG · PION-WEBRTC-V3
P
pion-webrtc-v3
networkinggov3.3.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

webrtc
github.com/pion/webrtc/v3

Create a new PeerConnection

package main import ( "fmt" "github.com/pion/webrtc/v3" ) func main() { config := webrtc.Configuration{} api := webrtc.NewAPI() pc, err := api.NewPeerConnection(config) if err != nil { panic(err) } fmt.Println(pc.ConnectionState()) }
Debug
Known issues
breakingAPI changes between v2 and v3 are significant; v3 uses pion/webrtc/v3 import path.
fix
Update import path and code to match v3 API.
affects: v2
Upgrade
Version history
3.3.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pion-webrtc-v3 — go get pion-webrtc-v3 · libregistry