lib

package
v0.0.0-...-856b3f8 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWebRTCConnection

func CreateWebRTCConnection(ingestionAddress, streamKey, offerStr string) (answer webrtc.SessionDescription, err error)

CreateWebRTCConnection function

func DecodeJSONBody

func DecodeJSONBody(w http.ResponseWriter, r *http.Request, dst interface{}) error

DecodeJSONBody helper function

func InitializeRoutes

func InitializeRoutes()

InitializeRoutes exported function to intiailize routes

Types

type OfferDescription

type OfferDescription struct {
	Offer            string `json:"offer"`
	IngestionAddress string `json:"ingestionAddress"`
	StreamKey        string `json:"streamKey"`
}

OfferDescription object

Jump to

Keyboard shortcuts

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