webapi: github.com/gowebapi/webapi/media/capture/fromelement Index | Files

package fromelement

import "github.com/gowebapi/webapi/media/capture/fromelement"

Package fromelement is to stream of media can be captured from a DOM element, such as a <video>, <audio>, or <canvas> element, in the form of a MediaStream.


Package Files

doc.go fromelement.go

type CanvasCaptureMediaStreamTrack Uses

type CanvasCaptureMediaStreamTrack struct {

class: CanvasCaptureMediaStreamTrack

func CanvasCaptureMediaStreamTrackFromJS Uses

func CanvasCaptureMediaStreamTrackFromJS(value js.Wrapper) *CanvasCaptureMediaStreamTrack

CanvasCaptureMediaStreamTrackFromJS is casting a js.Wrapper into CanvasCaptureMediaStreamTrack.

func (*CanvasCaptureMediaStreamTrack) Canvas Uses

func (_this *CanvasCaptureMediaStreamTrack) Canvas() *canvas.HTMLCanvasElement

Canvas returning attribute 'canvas' with type canvas.HTMLCanvasElement (idl: HTMLCanvasElement).

func (*CanvasCaptureMediaStreamTrack) RequestFrame Uses

func (_this *CanvasCaptureMediaStreamTrack) RequestFrame()

type Union Uses

type Union struct {
    Value js.Value

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package fromelement imports 3 packages (graph). Updated 2019-09-21. Refresh now. Tools for package owners.