util

package
v2.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2023 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeSessionDescription

func DeserializeSessionDescription(msg string) (*webrtc.SessionDescription, error)

func IsLocal

func IsLocal(ip net.IP) bool

Stolen from https://github.com/golang/go/pull/30278

func SerializeSessionDescription

func SerializeSessionDescription(desc *webrtc.SessionDescription) (string, error)

func StripLocalAddresses

func StripLocalAddresses(str string) string

Removes local LAN address ICE candidates

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL