signal

package
v4.0.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package signal contains helpers to exchange the SDP session description between examples.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in string, obj interface{})

Decode decodes the input from base64 It can optionally unzip the input after decoding

func Encode

func Encode(obj interface{}) string

Encode encodes the input in base64 It can optionally zip the input before encoding

func HTTPSDPServer

func HTTPSDPServer(port int) chan string

HTTPSDPServer starts a HTTP Server that consumes SDPs

func MustReadStdin

func MustReadStdin() string

MustReadStdin blocks until input is received from stdin

func RandSeq

func RandSeq(n int) string

RandSeq generates a random string to serve as dummy data

It returns a deterministic sequence of values each time a program is run. Use rand.Seed() function in your real applications.

Types

This section is empty.

Jump to

Keyboard shortcuts

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