Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.49 KB

File metadata and controls

20 lines (14 loc) · 1.49 KB

MuxRuby::AssetProgress

Properties

Name Type Description Notes
state String The detailed state of the asset ingest process. This field is useful for relaying more granular processing information to end users when a non-standard input is encountered. - `ingesting`: Asset is being ingested (initial processing before or after transcoding). While in this state, the `progress` percentage will be 0. - `transcoding`: Asset is undergoing non-standard transcoding. - `completed`: Asset processing is complete (`status` is `ready`). While in this state, the `progress` percentage will be 100. - `live`: Asset is a live stream currently in progress. While in this state, the `progress` percentage will be -1. - `errored`: Asset has encountered an error (`status` is `errored`). While in this state, the `progress` percentage will be -1. [optional]
progress Float Represents the estimated completion percentage. Returns `0 - 100` when in `ingesting`, `transcoding`, or `completed` state, and `-1` when in `live` or `errored` state. [optional]

Example

require 'mux_ruby'

instance = MuxRuby::AssetProgress.new(
  state: null,
  progress: null
)