Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

Class VideoEventData

Event subclass sent by VideoNode during media playback.

The X and Y fields are used to store different data for differnet event types:

  • kVideoSizeChanged: X is width, Y is height
  • kBufferingUpdate: X is the buffering percent, Y is unused
  • kInfo: X is the info or warning code, Y is an info code to provide more details
  • kError: X is the type of fatal error, Y is the MediaError code

Hierarchy

Index

Constructors

constructor

Methods

getAffectedNodeId

  • getAffectedNodeId(): bigint

getPrismId

  • getPrismId(): bigint

getVideoEventType

getXPos

  • getXPos(): number

getYPos

  • getYPos(): number

isInputEventType

  • isInputEventType(): boolean

toString

  • toString(): string

Generated using TypeDoc