Gjsify LogoGjsify Logo

A helper structure that holds the configured region of interest in a media file.

record

Hierarchy

  • Segment

Index

Constructors

Properties

absRate: number
accum: number
appliedRate: number
duration: number
flags: Gst.SeekFlags
format: Gst.Format
gstReserved: any[]
lastStop: number
rate: number
start: number
stop: number
time: number
name: string

Methods

  • clip(format: Gst.Format, start: number, stop: number): [boolean, number, number]
  • free(): void
  • setDuration(format: Gst.Format, duration: number): void
  • setLastStop(format: Gst.Format, position: number): void
  • setNewsegment(update: boolean, rate: number, format: Gst.Format, start: number, stop: number, time: number): void
  • setNewsegmentFull(update: boolean, rate: number, appliedRate: number, format: Gst.Format, start: number, stop: number, time: number): void
  • Parameters

    • update: boolean
    • rate: number
    • appliedRate: number
    • format: Gst.Format
    • start: number
    • stop: number
    • time: number

    Returns void

  • setRunningTime(format: Gst.Format, runningTime: number): boolean
  • toPosition(format: Gst.Format, runningTime: number): number
  • toRunningTime(format: Gst.Format, position: number): number
  • toStreamTime(format: Gst.Format, position: number): number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method