webrtc

package
v0.0.0-...-eff7b99 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in string, obj interface{})

func Encode

func Encode(obj interface{}) string

Types

type WebRTC

type WebRTC struct {

	// for yuvI420 image
	ImageChannel chan []byte
	// contains filtered or unexported fields
}

WebRTC connection

func NewWebRTC

func NewWebRTC() *WebRTC

NewWebRTC create

func (*WebRTC) IsConnected

func (w *WebRTC) IsConnected() bool

IsConnected comment

func (*WebRTC) StartClient

func (w *WebRTC) StartClient(remoteSession string, width, height int) (string, error)

StartClient start webrtc

func (*WebRTC) StopClient

func (w *WebRTC) StopClient()

StopClient disconnect

Jump to

Keyboard shortcuts

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