128 lines
3.6 KiB
TypeScript
128 lines
3.6 KiB
TypeScript
|
/**
|
||
|
* Jellyfin API
|
||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||
|
*
|
||
|
* The version of the OpenAPI document: 10.8.9
|
||
|
*
|
||
|
*
|
||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||
|
* https://openapi-generator.tech
|
||
|
* Do not edit the class manually.
|
||
|
*/
|
||
|
|
||
|
import { RequestFile } from './models';
|
||
|
import { DlnaProfileType } from './dlnaProfileType';
|
||
|
import { EncodingContext } from './encodingContext';
|
||
|
import { ProfileCondition } from './profileCondition';
|
||
|
import { TranscodeSeekInfo } from './transcodeSeekInfo';
|
||
|
|
||
|
export class TranscodingProfile {
|
||
|
'container'?: string;
|
||
|
'type'?: DlnaProfileType;
|
||
|
'videoCodec'?: string;
|
||
|
'audioCodec'?: string;
|
||
|
'protocol'?: string;
|
||
|
'estimateContentLength'?: boolean = false;
|
||
|
'enableMpegtsM2TsMode'?: boolean = false;
|
||
|
'transcodeSeekInfo'?: TranscodeSeekInfo;
|
||
|
'copyTimestamps'?: boolean = false;
|
||
|
'context'?: EncodingContext;
|
||
|
'enableSubtitlesInManifest'?: boolean = false;
|
||
|
'maxAudioChannels'?: string | null;
|
||
|
'minSegments'?: number = 0;
|
||
|
'segmentLength'?: number = 0;
|
||
|
'breakOnNonKeyFrames'?: boolean = false;
|
||
|
'conditions'?: Array<ProfileCondition>;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "container",
|
||
|
"baseName": "Container",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "type",
|
||
|
"baseName": "Type",
|
||
|
"type": "DlnaProfileType"
|
||
|
},
|
||
|
{
|
||
|
"name": "videoCodec",
|
||
|
"baseName": "VideoCodec",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "audioCodec",
|
||
|
"baseName": "AudioCodec",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "protocol",
|
||
|
"baseName": "Protocol",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "estimateContentLength",
|
||
|
"baseName": "EstimateContentLength",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableMpegtsM2TsMode",
|
||
|
"baseName": "EnableMpegtsM2TsMode",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "transcodeSeekInfo",
|
||
|
"baseName": "TranscodeSeekInfo",
|
||
|
"type": "TranscodeSeekInfo"
|
||
|
},
|
||
|
{
|
||
|
"name": "copyTimestamps",
|
||
|
"baseName": "CopyTimestamps",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "context",
|
||
|
"baseName": "Context",
|
||
|
"type": "EncodingContext"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableSubtitlesInManifest",
|
||
|
"baseName": "EnableSubtitlesInManifest",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxAudioChannels",
|
||
|
"baseName": "MaxAudioChannels",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "minSegments",
|
||
|
"baseName": "MinSegments",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "segmentLength",
|
||
|
"baseName": "SegmentLength",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "breakOnNonKeyFrames",
|
||
|
"baseName": "BreakOnNonKeyFrames",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "conditions",
|
||
|
"baseName": "Conditions",
|
||
|
"type": "Array<ProfileCondition>"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return TranscodingProfile.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export namespace TranscodingProfile {
|
||
|
}
|