rtc

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mark

func Mark(show *bool) video.TransformFunc

func OfferFs

func OfferFs(offer o.Offer) *webrtc.SessionDescription

func OfferShell

func OfferShell(offer o.Offer) *webrtc.SessionDescription

Types

type ReportId

type ReportId byte
const (
	MouseMove   ReportId = 0
	MouseScroll ReportId = 2

	GamepadId ReportId = 3

	KeyboardDown ReportId = 4
	KeyboardUp   ReportId = 5

	MouseDown ReportId = 6
	MouseUp   ReportId = 7
)

type Rtc

type Rtc struct {
	// contains filtered or unexported fields
}

func New

func New(store s.Store, mouse mouse.Mouse, keyboard keyboard.Keyboard, gamepad gamepad.Gamepad) *Rtc

func (*Rtc) IsBusy

func (r *Rtc) IsBusy() bool

func (*Rtc) Offer

func (r *Rtc) Offer(offer o.Offer) *webrtc.SessionDescription

Jump to

Keyboard shortcuts

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