Files
plexjs/docs/sdk/models/operations/transcodesession.md
2024-09-08 03:06:14 +00:00

4.3 KiB
Raw Blame History

TranscodeSession

Example Usage

import { TranscodeSession } from "@lukehagar/plexjs/sdk/models/operations";

let value: TranscodeSession = {
    key: "vv3i2q2lax92qlzul1hbd4bx",
    throttled: false,
    complete: false,
    progress: 1.7999999523162842,
    size: -22,
    speed: 25.100000381469727,
    error: false,
    duration: 1445695,
    remaining: 53,
    context: "streaming",
    sourceVideoCodec: "h264",
    sourceAudioCodec: "aac",
    videoDecision: "transcode",
    audioDecision: "transcode",
    subtitleDecision: "burn",
    protocol: "http",
    container: "mkv",
    videoCodec: "h264",
    audioCodec: "opus",
    audioChannels: 1,
    transcodeHwRequested: true,
    timeStamp: 1705895805.4919229,
    maxOffsetAvailable: 29.53,
    minOffsetAvailable: 3.003000020980835,
};

Fields

Field Type Required Description Example
key string N/A vv3i2q2lax92qlzul1hbd4bx
throttled boolean N/A false
complete boolean N/A false
progress number N/A 1.7999999523162842
size number N/A -22
speed number N/A 25.100000381469727
error boolean N/A false
duration number N/A 1445695
remaining number N/A 53
context string N/A streaming
sourceVideoCodec string N/A h264
sourceAudioCodec string N/A aac
videoDecision string N/A transcode
audioDecision string N/A transcode
subtitleDecision string N/A burn
protocol string N/A http
container string N/A mkv
videoCodec string N/A h264
audioCodec string N/A opus
audioChannels number N/A 1
transcodeHwRequested boolean N/A true
timeStamp number N/A 1.7058958054919229e+09
maxOffsetAvailable number N/A 29.53
minOffsetAvailable number N/A 3.003000020980835