Documentation
¶
Index ¶
- Constants
- Variables
- type BindCert
- type BindCertBody
- type BindCertQuery
- type BindCertReq
- type BindCertRes
- type BindCertResResponseMetadata
- type BindCertResResponseMetadataError
- type Components1404CjzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesTosparam
- type Components1Via6UrSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesTosparam
- type Components44Na0KSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparam
- type ComponentsAoysk3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparam
- type ComponentsBbqv7RSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesTosparam
- type ComponentsFceumsSchemasListvqosmetricsdimensionsresPropertiesResultItemsPropertiesDimensionsItems
- type ComponentsFuamuzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfig
- type ComponentsKovkk9SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesVodparam
- type ComponentsKqy98ZSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4Param
- type ComponentsQms0JiSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesVodparam
- type ComponentsS0Ofr3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesVodparam
- type CreateCert
- type CreateCertBody
- type CreateCertBodyRsa
- type CreateCertQuery
- type CreateCertReq
- type CreateCertRes
- type CreateCertResResponseMetadata
- type CreateCertResResponseMetadataError
- type CreateCertResResult
- type CreateDomain
- type CreateDomainBody
- type CreateDomainQuery
- type CreateDomainReq
- type CreateDomainRes
- type CreateDomainResResponseMetadata
- type CreateDomainResResponseMetadataError
- type CreateDomainV2
- type CreateDomainV2Body
- type CreateDomainV2BodyDomainsItem
- type CreateDomainV2BodyTagsItem
- type CreateDomainV2Query
- type CreateDomainV2Req
- type CreateDomainV2Res
- type CreateDomainV2ResResponseMetadata
- type CreateDomainV2ResResponseMetadataError
- type CreatePullRecordTask
- type CreatePullRecordTaskBody
- type CreatePullRecordTaskQuery
- type CreatePullRecordTaskReq
- type CreatePullRecordTaskRes
- type CreatePullRecordTaskResResponseMetadata
- type CreatePullRecordTaskResResult
- type CreatePullToPushTask
- type CreatePullToPushTaskBody
- type CreatePullToPushTaskBodyWatermark
- type CreatePullToPushTaskQuery
- type CreatePullToPushTaskReq
- type CreatePullToPushTaskRes
- type CreatePullToPushTaskResResponseMetadata
- type CreatePullToPushTaskResResponseMetadataError
- type CreatePullToPushTaskResResult
- type CreateRecordPresetV2
- type CreateRecordPresetV2Body
- type CreateRecordPresetV2BodyRecordPresetConfig
- type CreateRecordPresetV2BodyRecordPresetConfigFlvParam
- type CreateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam
- type CreateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam
- type CreateRecordPresetV2BodyRecordPresetConfigHlsParam
- type CreateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam
- type CreateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam
- type CreateRecordPresetV2BodyRecordPresetConfigMp4Param
- type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam
- type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam
- type CreateRecordPresetV2Query
- type CreateRecordPresetV2Req
- type CreateRecordPresetV2Res
- type CreateRecordPresetV2ResResponseMetadata
- type CreateRecordPresetV2ResResponseMetadataError
- type CreateRelaySourceV4
- type CreateRelaySourceV4Body
- type CreateRelaySourceV4Query
- type CreateRelaySourceV4Req
- type CreateRelaySourceV4Res
- type CreateRelaySourceV4ResResponseMetadata
- type CreateRelaySourceV4ResResponseMetadataError
- type CreateRelaySourceV4ResResult
- type CreateSnapshotAuditPreset
- type CreateSnapshotAuditPresetBody
- type CreateSnapshotAuditPresetBodyCallbackDetailListItem
- type CreateSnapshotAuditPresetQuery
- type CreateSnapshotAuditPresetReq
- type CreateSnapshotAuditPresetRes
- type CreateSnapshotAuditPresetResResponseMetadata
- type CreateSnapshotAuditPresetResResponseMetadataError
- type CreateSnapshotPreset
- type CreateSnapshotPresetBody
- type CreateSnapshotPresetBodyCallbackDetailListItem
- type CreateSnapshotPresetQuery
- type CreateSnapshotPresetReq
- type CreateSnapshotPresetRes
- type CreateSnapshotPresetResResponseMetadata
- type CreateSnapshotPresetResResponseMetadataError
- type CreateTimeShiftPresetV3
- type CreateTimeShiftPresetV3Body
- type CreateTimeShiftPresetV3Query
- type CreateTimeShiftPresetV3Req
- type CreateTimeShiftPresetV3Res
- type CreateTimeShiftPresetV3ResResponseMetadata
- type CreateTimeShiftPresetV3ResResponseMetadataError
- type CreateTranscodePreset
- type CreateTranscodePresetBody
- type CreateTranscodePresetQuery
- type CreateTranscodePresetReq
- type CreateTranscodePresetRes
- type CreateTranscodePresetResResponseMetadata
- type CreateTranscodePresetResResponseMetadataError
- type CreateVerifyContent
- type CreateVerifyContentBody
- type CreateVerifyContentQuery
- type CreateVerifyContentReq
- type CreateVerifyContentRes
- type CreateVerifyContentResResponseMetadata
- type CreateVerifyContentResResult
- type CreateWatermarkPreset
- type CreateWatermarkPresetBody
- type CreateWatermarkPresetQuery
- type CreateWatermarkPresetReq
- type CreateWatermarkPresetRes
- type CreateWatermarkPresetResResponseMetadata
- type CreateWatermarkPresetResResponseMetadataError
- type DeleteCallback
- type DeleteCallbackBody
- type DeleteCallbackQuery
- type DeleteCallbackReq
- type DeleteCallbackRes
- type DeleteCallbackResResponseMetadata
- type DeleteCallbackResResponseMetadataError
- type DeleteCert
- type DeleteCertBody
- type DeleteCertQuery
- type DeleteCertReq
- type DeleteCertRes
- type DeleteCertResResponseMetadata
- type DeleteCertResResponseMetadataError
- type DeleteDomain
- type DeleteDomainBody
- type DeleteDomainQuery
- type DeleteDomainReq
- type DeleteDomainRes
- type DeleteDomainResResponseMetadata
- type DeleteDomainResResponseMetadataError
- type DeletePullToPushTask
- type DeletePullToPushTaskBody
- type DeletePullToPushTaskQuery
- type DeletePullToPushTaskReq
- type DeletePullToPushTaskRes
- type DeletePullToPushTaskResResponseMetadata
- type DeletePullToPushTaskResResponseMetadataError
- type DeleteRecordPreset
- type DeleteRecordPresetBody
- type DeleteRecordPresetQuery
- type DeleteRecordPresetReq
- type DeleteRecordPresetRes
- type DeleteRecordPresetResResponseMetadata
- type DeleteRecordPresetResResponseMetadataError
- type DeleteReferer
- type DeleteRefererBody
- type DeleteRefererQuery
- type DeleteRefererReq
- type DeleteRefererRes
- type DeleteRefererResResponseMetadata
- type DeleteRefererResResponseMetadataError
- type DeleteRelaySourceV3
- type DeleteRelaySourceV3Body
- type DeleteRelaySourceV3Query
- type DeleteRelaySourceV3Req
- type DeleteRelaySourceV3Res
- type DeleteRelaySourceV3ResResponseMetadata
- type DeleteRelaySourceV3ResResponseMetadataError
- type DeleteRelaySourceV4
- type DeleteRelaySourceV4Body
- type DeleteRelaySourceV4Query
- type DeleteRelaySourceV4Req
- type DeleteRelaySourceV4Res
- type DeleteRelaySourceV4ResResponseMetadata
- type DeleteRelaySourceV4ResResponseMetadataError
- type DeleteSnapshotAuditPreset
- type DeleteSnapshotAuditPresetBody
- type DeleteSnapshotAuditPresetQuery
- type DeleteSnapshotAuditPresetReq
- type DeleteSnapshotAuditPresetRes
- type DeleteSnapshotAuditPresetResResponseMetadata
- type DeleteSnapshotAuditPresetResResponseMetadataError
- type DeleteSnapshotPreset
- type DeleteSnapshotPresetBody
- type DeleteSnapshotPresetQuery
- type DeleteSnapshotPresetReq
- type DeleteSnapshotPresetRes
- type DeleteSnapshotPresetResResponseMetadata
- type DeleteSnapshotPresetResResponseMetadataError
- type DeleteStreamQuotaConfig
- type DeleteStreamQuotaConfigBody
- type DeleteStreamQuotaConfigQuery
- type DeleteStreamQuotaConfigReq
- type DeleteStreamQuotaConfigRes
- type DeleteStreamQuotaConfigResResponseMetadata
- type DeleteStreamQuotaConfigResResponseMetadataError
- type DeleteTimeShiftPresetV3
- type DeleteTimeShiftPresetV3Body
- type DeleteTimeShiftPresetV3Query
- type DeleteTimeShiftPresetV3Req
- type DeleteTimeShiftPresetV3Res
- type DeleteTimeShiftPresetV3ResResponseMetadata
- type DeleteTimeShiftPresetV3ResResponseMetadataError
- type DeleteTranscodePreset
- type DeleteTranscodePresetBody
- type DeleteTranscodePresetQuery
- type DeleteTranscodePresetReq
- type DeleteTranscodePresetRes
- type DeleteTranscodePresetResResponseMetadata
- type DeleteTranscodePresetResResponseMetadataError
- type DeleteWatermarkPreset
- type DeleteWatermarkPresetBody
- type DeleteWatermarkPresetQuery
- type DeleteWatermarkPresetReq
- type DeleteWatermarkPresetRes
- type DeleteWatermarkPresetResResponseMetadata
- type DeleteWatermarkPresetResResponseMetadataError
- type DescribeAuth
- type DescribeAuthBody
- type DescribeAuthQuery
- type DescribeAuthReq
- type DescribeAuthRes
- type DescribeAuthResResponseMetadata
- type DescribeAuthResResponseMetadataError
- type DescribeAuthResResult
- type DescribeAuthResResultAuthListItem
- type DescribeAuthResResultAuthListPropertiesItemsItem
- type DescribeCDNSnapshotHistory
- type DescribeCDNSnapshotHistoryBody
- type DescribeCDNSnapshotHistoryQuery
- type DescribeCDNSnapshotHistoryReq
- type DescribeCDNSnapshotHistoryRes
- type DescribeCDNSnapshotHistoryResResponseMetadata
- type DescribeCDNSnapshotHistoryResResponseMetadataError
- type DescribeCDNSnapshotHistoryResResult
- type DescribeCDNSnapshotHistoryResResultPagination
- type DescribeCDNSnapshotHistoryResResultStreamInfoListItem
- type DescribeCallback
- type DescribeCallbackBody
- type DescribeCallbackQuery
- type DescribeCallbackReq
- type DescribeCallbackRes
- type DescribeCallbackResResponseMetadata
- type DescribeCallbackResResponseMetadataError
- type DescribeCallbackResResult
- type DescribeCallbackResResultCallbackListItem
- type DescribeCallbackResResultCallbackListPropertiesItemsItem
- type DescribeCertDetailSecretV2
- type DescribeCertDetailSecretV2Body
- type DescribeCertDetailSecretV2Query
- type DescribeCertDetailSecretV2Req
- type DescribeCertDetailSecretV2Res
- type DescribeCertDetailSecretV2ResResponseMetadata
- type DescribeCertDetailSecretV2ResResponseMetadataError
- type DescribeCertDetailSecretV2ResResult
- type DescribeCertDetailSecretV2ResResultSSL
- type DescribeClosedStreamInfoByPage
- type DescribeClosedStreamInfoByPageBody
- type DescribeClosedStreamInfoByPageQuery
- type DescribeClosedStreamInfoByPageReq
- type DescribeClosedStreamInfoByPageRes
- type DescribeClosedStreamInfoByPageResResponseMetadata
- type DescribeClosedStreamInfoByPageResResponseMetadataError
- type DescribeClosedStreamInfoByPageResResult
- type DescribeClosedStreamInfoByPageResResultStreamInfoListItem
- type DescribeDenyConfig
- type DescribeDenyConfigBody
- type DescribeDenyConfigQuery
- type DescribeDenyConfigReq
- type DescribeDenyConfigRes
- type DescribeDenyConfigResResponseMetadata
- type DescribeDenyConfigResResponseMetadataError
- type DescribeDenyConfigResResult
- type DescribeDenyConfigResResultDenyListItem
- type DescribeDenyConfigResResultDenyListPropertiesItemsItem
- type DescribeDomain
- type DescribeDomainBody
- type DescribeDomainQuery
- type DescribeDomainReq
- type DescribeDomainRes
- type DescribeDomainResResponseMetadata
- type DescribeDomainResResponseMetadataError
- type DescribeDomainResResult
- type DescribeDomainResResultDomainListItem
- type DescribeForbiddenStreamInfoByPage
- type DescribeForbiddenStreamInfoByPageBody
- type DescribeForbiddenStreamInfoByPageQuery
- type DescribeForbiddenStreamInfoByPageReq
- type DescribeForbiddenStreamInfoByPageRes
- type DescribeForbiddenStreamInfoByPageResResponseMetadata
- type DescribeForbiddenStreamInfoByPageResResponseMetadataError
- type DescribeForbiddenStreamInfoByPageResResult
- type DescribeForbiddenStreamInfoByPageResResultStreamInfoListItem
- type DescribeIPInfo
- type DescribeIPInfoBody
- type DescribeIPInfoQuery
- type DescribeIPInfoReq
- type DescribeIPInfoRes
- type DescribeLiveAuditData
- type DescribeLiveAuditDataBody
- type DescribeLiveAuditDataQuery
- type DescribeLiveAuditDataReq
- type DescribeLiveAuditDataRes
- type DescribeLiveAuditDataResResponseMetadata
- type DescribeLiveAuditDataResResponseMetadataError
- type DescribeLiveAuditDataResResult
- type DescribeLiveAuditDataResResultAuditDataListItem
- type DescribeLiveAuditDataResResultAuditDetailDataListItem
- type DescribeLiveAuditDataResResultAuditDetailDataListPropertiesItemsItem
- type DescribeLiveBandwidthData
- type DescribeLiveBandwidthDataBody
- type DescribeLiveBandwidthDataBodyRegionListItem
- type DescribeLiveBandwidthDataBodyUserRegionListItem
- type DescribeLiveBandwidthDataQuery
- type DescribeLiveBandwidthDataReq
- type DescribeLiveBandwidthDataRes
- type DescribeLiveBandwidthDataResResponseMetadata
- type DescribeLiveBandwidthDataResResult
- type DescribeLiveBandwidthDataResResultBandwidthDataListItem
- type DescribeLiveBandwidthDataResResultBandwidthDetailDataListItem
- type DescribeLiveBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem
- type DescribeLiveBandwidthDataResResultRegionListItem
- type DescribeLiveBandwidthDataResResultUserRegionListItem
- type DescribeLiveBatchPushStreamMetrics
- type DescribeLiveBatchPushStreamMetricsBody
- type DescribeLiveBatchPushStreamMetricsQuery
- type DescribeLiveBatchPushStreamMetricsReq
- type DescribeLiveBatchPushStreamMetricsRes
- type DescribeLiveBatchPushStreamMetricsResResponseMetadata
- type DescribeLiveBatchPushStreamMetricsResResult
- type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListItem
- type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListPropertiesItemsItem
- type DescribeLiveBatchSourceStreamMetrics
- type DescribeLiveBatchSourceStreamMetricsBody
- type DescribeLiveBatchSourceStreamMetricsQuery
- type DescribeLiveBatchSourceStreamMetricsReq
- type DescribeLiveBatchSourceStreamMetricsRes
- type DescribeLiveBatchSourceStreamMetricsResResponseMetadata
- type DescribeLiveBatchSourceStreamMetricsResResult
- type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListItem
- type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListPropertiesItemsItem
- type DescribeLiveBatchStreamTrafficData
- type DescribeLiveBatchStreamTrafficDataBody
- type DescribeLiveBatchStreamTrafficDataQuery
- type DescribeLiveBatchStreamTrafficDataReq
- type DescribeLiveBatchStreamTrafficDataRes
- type DescribeLiveBatchStreamTrafficDataResResponseMetadata
- type DescribeLiveBatchStreamTrafficDataResResult
- type DescribeLiveBatchStreamTrafficDataResResultPagination
- type DescribeLiveBatchStreamTrafficDataResResultStreamInfoListItem
- type DescribeLiveBatchStreamTranscodeData
- type DescribeLiveBatchStreamTranscodeDataBody
- type DescribeLiveBatchStreamTranscodeDataQuery
- type DescribeLiveBatchStreamTranscodeDataReq
- type DescribeLiveBatchStreamTranscodeDataRes
- type DescribeLiveBatchStreamTranscodeDataResResponseMetadata
- type DescribeLiveBatchStreamTranscodeDataResResult
- type DescribeLiveBatchStreamTranscodeDataResResultPagination
- type DescribeLiveBatchStreamTranscodeDataResResultStreamInfoListItem
- type DescribeLiveISPData
- type DescribeLiveISPDataBody
- type DescribeLiveISPDataQuery
- type DescribeLiveISPDataReq
- type DescribeLiveISPDataRes
- type DescribeLiveISPDataResResponseMetadata
- type DescribeLiveISPDataResResult
- type DescribeLiveISPDataResResultISPListItem
- type DescribeLiveMetricBandwidthData
- type DescribeLiveMetricBandwidthDataBody
- type DescribeLiveMetricBandwidthDataBodyRegionListItem
- type DescribeLiveMetricBandwidthDataBodyUserRegionListItem
- type DescribeLiveMetricBandwidthDataQuery
- type DescribeLiveMetricBandwidthDataReq
- type DescribeLiveMetricBandwidthDataRes
- type DescribeLiveMetricBandwidthDataResResponseMetadata
- type DescribeLiveMetricBandwidthDataResResult
- type DescribeLiveMetricBandwidthDataResResultBandwidthDataListItem
- type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListItem
- type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem
- type DescribeLiveMetricBandwidthDataResResultRegionListItem
- type DescribeLiveMetricBandwidthDataResResultUserRegionListItem
- type DescribeLiveMetricTrafficData
- type DescribeLiveMetricTrafficDataBody
- type DescribeLiveMetricTrafficDataBodyRegionListItem
- type DescribeLiveMetricTrafficDataBodyUserRegionListItem
- type DescribeLiveMetricTrafficDataQuery
- type DescribeLiveMetricTrafficDataReq
- type DescribeLiveMetricTrafficDataRes
- type DescribeLiveMetricTrafficDataResResponseMetadata
- type DescribeLiveMetricTrafficDataResResult
- type DescribeLiveMetricTrafficDataResResultRegionListItem
- type DescribeLiveMetricTrafficDataResResultTrafficDataListItem
- type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListItem
- type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListPropertiesItemsItem
- type DescribeLiveMetricTrafficDataResResultUserRegionListItem
- type DescribeLiveP95PeakBandwidthData
- type DescribeLiveP95PeakBandwidthDataBody
- type DescribeLiveP95PeakBandwidthDataBodyRegionListItem
- type DescribeLiveP95PeakBandwidthDataBodyUserRegionListItem
- type DescribeLiveP95PeakBandwidthDataQuery
- type DescribeLiveP95PeakBandwidthDataReq
- type DescribeLiveP95PeakBandwidthDataRes
- type DescribeLiveP95PeakBandwidthDataResResponseMetadata
- type DescribeLiveP95PeakBandwidthDataResResult
- type DescribeLiveP95PeakBandwidthDataResResultRegionListItem
- type DescribeLiveP95PeakBandwidthDataResResultUserRegionListItem
- type DescribeLivePlayStatusCodeData
- type DescribeLivePlayStatusCodeDataBody
- type DescribeLivePlayStatusCodeDataBodyRegionListItem
- type DescribeLivePlayStatusCodeDataBodyUserRegionListItem
- type DescribeLivePlayStatusCodeDataQuery
- type DescribeLivePlayStatusCodeDataReq
- type DescribeLivePlayStatusCodeDataRes
- type DescribeLivePlayStatusCodeDataResResponseMetadata
- type DescribeLivePlayStatusCodeDataResResult
- type DescribeLivePlayStatusCodeDataResResultRegionListItem
- type DescribeLivePlayStatusCodeDataResResultStatusDataListItem
- type DescribeLivePlayStatusCodeDataResResultStatusDataListPropertiesItemsItem
- type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListItem
- type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsItem
- type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsStatusSummaryDataListItem
- type DescribeLivePlayStatusCodeDataResResultStatusSummaryDataListItem
- type DescribeLivePlayStatusCodeDataResResultUserRegionListItem
- type DescribeLivePullToPushBandwidthData
- type DescribeLivePullToPushBandwidthDataBody
- type DescribeLivePullToPushBandwidthDataQuery
- type DescribeLivePullToPushBandwidthDataReq
- type DescribeLivePullToPushBandwidthDataRes
- type DescribeLivePullToPushBandwidthDataResResponseMetadata
- type DescribeLivePullToPushBandwidthDataResResponseMetadataError
- type DescribeLivePullToPushBandwidthDataResResult
- type DescribeLivePullToPushBandwidthDataResResultBandwidthDataListItem
- type DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListItem
- type DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem
- type DescribeLivePullToPushData
- type DescribeLivePullToPushDataBody
- type DescribeLivePullToPushDataQuery
- type DescribeLivePullToPushDataReq
- type DescribeLivePullToPushDataRes
- type DescribeLivePullToPushDataResResponseMetadata
- type DescribeLivePullToPushDataResResponseMetadataError
- type DescribeLivePullToPushDataResResult
- type DescribeLivePullToPushDataResResultPullToPushDataListItem
- type DescribeLivePullToPushDataResResultPullToPushDetailDataListItem
- type DescribeLivePullToPushDataResResultPullToPushDetailDataListPropertiesItemsItem
- type DescribeLivePushStreamCountData
- type DescribeLivePushStreamCountDataBody
- type DescribeLivePushStreamCountDataBodyUserRegionListItem
- type DescribeLivePushStreamCountDataQuery
- type DescribeLivePushStreamCountDataReq
- type DescribeLivePushStreamCountDataRes
- type DescribeLivePushStreamCountDataResResponseMetadata
- type DescribeLivePushStreamCountDataResResult
- type DescribeLivePushStreamCountDataResResultStreamDetailDataListItem
- type DescribeLivePushStreamCountDataResResultStreamDetailDataListPropertiesItemsItem
- type DescribeLivePushStreamCountDataResResultTotalStreamDataListItem
- type DescribeLivePushStreamCountDataResResultUserRegionListItem
- type DescribeLivePushStreamMetrics
- type DescribeLivePushStreamMetricsBody
- type DescribeLivePushStreamMetricsQuery
- type DescribeLivePushStreamMetricsReq
- type DescribeLivePushStreamMetricsRes
- type DescribeLivePushStreamMetricsResResponseMetadata
- type DescribeLivePushStreamMetricsResResponseMetadataError
- type DescribeLivePushStreamMetricsResResult
- type DescribeLivePushStreamMetricsResResultMetricListItem
- type DescribeLiveRecordData
- type DescribeLiveRecordDataBody
- type DescribeLiveRecordDataQuery
- type DescribeLiveRecordDataReq
- type DescribeLiveRecordDataRes
- type DescribeLiveRecordDataResResponseMetadata
- type DescribeLiveRecordDataResResponseMetadataError
- type DescribeLiveRecordDataResResult
- type DescribeLiveRecordDataResResultRecordDataListItem
- type DescribeLiveRecordDataResResultRecordDetailDataListItem
- type DescribeLiveRecordDataResResultRecordDetailDataListPropertiesItemsItem
- type DescribeLiveRegionData
- type DescribeLiveRegionDataBody
- type DescribeLiveRegionDataQuery
- type DescribeLiveRegionDataReq
- type DescribeLiveRegionDataRes
- type DescribeLiveRegionDataResResponseMetadata
- type DescribeLiveRegionDataResResult
- type DescribeLiveRegionDataResResultAreasItem
- type DescribeLiveRegionDataResResultAreasPropertiesItemsItem
- type DescribeLiveRegionDataResResultAreasPropertiesItemsProvincesItem
- type DescribeLiveSnapshotData
- type DescribeLiveSnapshotDataBody
- type DescribeLiveSnapshotDataQuery
- type DescribeLiveSnapshotDataReq
- type DescribeLiveSnapshotDataRes
- type DescribeLiveSnapshotDataResResponseMetadata
- type DescribeLiveSnapshotDataResResponseMetadataError
- type DescribeLiveSnapshotDataResResult
- type DescribeLiveSnapshotDataResResultSnapshotDataListItem
- type DescribeLiveSnapshotDataResResultSnapshotDetailDataItem
- type DescribeLiveSnapshotDataResResultSnapshotDetailDataPropertiesItemsItem
- type DescribeLiveSourceBandwidthData
- type DescribeLiveSourceBandwidthDataBody
- type DescribeLiveSourceBandwidthDataBodyUserRegionListItem
- type DescribeLiveSourceBandwidthDataQuery
- type DescribeLiveSourceBandwidthDataReq
- type DescribeLiveSourceBandwidthDataRes
- type DescribeLiveSourceBandwidthDataResResponseMetadata
- type DescribeLiveSourceBandwidthDataResResponseMetadataError
- type DescribeLiveSourceBandwidthDataResResult
- type DescribeLiveSourceBandwidthDataResResultBandwidthDataListItem
- type DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListItem
- type DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem
- type DescribeLiveSourceBandwidthDataResResultUserRegionListItem
- type DescribeLiveSourceStreamMetrics
- type DescribeLiveSourceStreamMetricsBody
- type DescribeLiveSourceStreamMetricsQuery
- type DescribeLiveSourceStreamMetricsReq
- type DescribeLiveSourceStreamMetricsRes
- type DescribeLiveSourceStreamMetricsResResponseMetadata
- type DescribeLiveSourceStreamMetricsResResult
- type DescribeLiveSourceStreamMetricsResResultMetricListItem
- type DescribeLiveSourceTrafficData
- type DescribeLiveSourceTrafficDataBody
- type DescribeLiveSourceTrafficDataBodyUserRegionListItem
- type DescribeLiveSourceTrafficDataQuery
- type DescribeLiveSourceTrafficDataReq
- type DescribeLiveSourceTrafficDataRes
- type DescribeLiveSourceTrafficDataResResponseMetadata
- type DescribeLiveSourceTrafficDataResResponseMetadataError
- type DescribeLiveSourceTrafficDataResResult
- type DescribeLiveSourceTrafficDataResResultTrafficDataListItem
- type DescribeLiveSourceTrafficDataResResultTrafficDetailDataListItem
- type DescribeLiveSourceTrafficDataResResultTrafficDetailDataListPropertiesItemsItem
- type DescribeLiveSourceTrafficDataResResultUserRegionListItem
- type DescribeLiveStreamCountData
- type DescribeLiveStreamCountDataBody
- type DescribeLiveStreamCountDataQuery
- type DescribeLiveStreamCountDataReq
- type DescribeLiveStreamCountDataRes
- type DescribeLiveStreamCountDataResResponseMetadata
- type DescribeLiveStreamCountDataResResult
- type DescribeLiveStreamCountDataResResultStreamDetailDataListItem
- type DescribeLiveStreamCountDataResResultStreamDetailDataListPropertiesItemsItem
- type DescribeLiveStreamCountDataResResultTotalStreamDataListItem
- type DescribeLiveStreamInfoByPage
- type DescribeLiveStreamInfoByPageBody
- type DescribeLiveStreamInfoByPageQuery
- type DescribeLiveStreamInfoByPageReq
- type DescribeLiveStreamInfoByPageRes
- type DescribeLiveStreamInfoByPageResResponseMetadata
- type DescribeLiveStreamInfoByPageResResponseMetadataError
- type DescribeLiveStreamInfoByPageResResult
- type DescribeLiveStreamInfoByPageResResultStreamInfoListItem
- type DescribeLiveStreamSessionData
- type DescribeLiveStreamSessionDataBody
- type DescribeLiveStreamSessionDataBodyRegionListItem
- type DescribeLiveStreamSessionDataQuery
- type DescribeLiveStreamSessionDataReq
- type DescribeLiveStreamSessionDataRes
- type DescribeLiveStreamSessionDataResResponseMetadata
- type DescribeLiveStreamSessionDataResResult
- type DescribeLiveStreamSessionDataResResultRegionListItem
- type DescribeLiveStreamSessionDataResResultSessionDataListItem
- type DescribeLiveStreamSessionDataResResultSessionDetailDataListItem
- type DescribeLiveStreamSessionDataResResultSessionDetailDataListPropertiesItemsItem
- type DescribeLiveStreamState
- type DescribeLiveStreamStateBody
- type DescribeLiveStreamStateQuery
- type DescribeLiveStreamStateReq
- type DescribeLiveStreamStateRes
- type DescribeLiveStreamStateResResponseMetadata
- type DescribeLiveStreamStateResResponseMetadataError
- type DescribeLiveStreamStateResResult
- type DescribeLiveTimeShiftData
- type DescribeLiveTimeShiftDataBody
- type DescribeLiveTimeShiftDataQuery
- type DescribeLiveTimeShiftDataReq
- type DescribeLiveTimeShiftDataRes
- type DescribeLiveTimeShiftDataResResponseMetadata
- type DescribeLiveTimeShiftDataResResult
- type DescribeLiveTimeShiftDataResResultTimeShiftDataListItem
- type DescribeLiveTrafficData
- type DescribeLiveTrafficDataBody
- type DescribeLiveTrafficDataBodyRegionListItem
- type DescribeLiveTrafficDataBodyUserRegionListItem
- type DescribeLiveTrafficDataQuery
- type DescribeLiveTrafficDataReq
- type DescribeLiveTrafficDataRes
- type DescribeLiveTrafficDataResResponseMetadata
- type DescribeLiveTrafficDataResResult
- type DescribeLiveTrafficDataResResultRegionListItem
- type DescribeLiveTrafficDataResResultTrafficDataListItem
- type DescribeLiveTrafficDataResResultTrafficDetailDataListItem
- type DescribeLiveTrafficDataResResultTrafficDetailDataListPropertiesItemsItem
- type DescribeLiveTrafficDataResResultUserRegionListItem
- type DescribeLiveTranscodeData
- type DescribeLiveTranscodeDataBody
- type DescribeLiveTranscodeDataQuery
- type DescribeLiveTranscodeDataReq
- type DescribeLiveTranscodeDataRes
- type DescribeLiveTranscodeDataResResponseMetadata
- type DescribeLiveTranscodeDataResResponseMetadataError
- type DescribeLiveTranscodeDataResResult
- type DescribeLiveTranscodeDataResResultTranscodeDataListItem
- type DescribeRecordTaskFileHistory
- type DescribeRecordTaskFileHistoryBody
- type DescribeRecordTaskFileHistoryQuery
- type DescribeRecordTaskFileHistoryReq
- type DescribeRecordTaskFileHistoryRes
- type DescribeRecordTaskFileHistoryResResponseMetadata
- type DescribeRecordTaskFileHistoryResResponseMetadataError
- type DescribeRecordTaskFileHistoryResResult
- type DescribeRecordTaskFileHistoryResResultDataItem
- type DescribeRecordTaskFileHistoryResResultPagination
- type DescribeReferer
- type DescribeRefererBody
- type DescribeRefererQuery
- type DescribeRefererReq
- type DescribeRefererRes
- type DescribeRefererResResponseMetadata
- type DescribeRefererResResponseMetadataError
- type DescribeRefererResResult
- type DescribeRefererResResultRefererListItem
- type DescribeRefererResResultRefererListPropertiesItemsItem
- type DescribeRelaySourceV3
- type DescribeRelaySourceV3Body
- type DescribeRelaySourceV3Query
- type DescribeRelaySourceV3Req
- type DescribeRelaySourceV3Res
- type DescribeRelaySourceV3ResResponseMetadata
- type DescribeRelaySourceV3ResResponseMetadataError
- type DescribeRelaySourceV3ResResult
- type DescribeRelaySourceV3ResResultRelaySourceConfigListItem
- type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsItem
- type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsServersItem
- type DescribeStreamQuotaConfig
- type DescribeStreamQuotaConfigBody
- type DescribeStreamQuotaConfigQuery
- type DescribeStreamQuotaConfigReq
- type DescribeStreamQuotaConfigRes
- type DescribeStreamQuotaConfigResResponseMetadata
- type DescribeStreamQuotaConfigResResponseMetadataError
- type DescribeStreamQuotaConfigResResult
- type DescribeStreamQuotaConfigResResultQuotaListItem
- type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemBandwidthConfig
- type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemStreamConfig
- type DescribeStreamQuotaConfigResResultQuotaListPropertiesItemsItem
- type DisableDomain
- type DisableDomainBody
- type DisableDomainQuery
- type DisableDomainReq
- type DisableDomainRes
- type DisableDomainResResponseMetadata
- type DisableDomainResResponseMetadataError
- type EnableDomain
- type EnableDomainBody
- type EnableDomainQuery
- type EnableDomainReq
- type EnableDomainRes
- type EnableDomainResResponseMetadata
- type EnableDomainResResponseMetadataError
- type ForbidStream
- type ForbidStreamBody
- type ForbidStreamQuery
- type ForbidStreamReq
- type ForbidStreamRes
- type ForbidStreamResResponseMetadata
- type ForbidStreamResResponseMetadataError
- type GeneratePlayURL
- type GeneratePlayURLBody
- type GeneratePlayURLQuery
- type GeneratePlayURLReq
- type GeneratePlayURLRes
- type GeneratePlayURLResResponseMetadata
- type GeneratePlayURLResResponseMetadataError
- type GeneratePlayURLResResult
- type GeneratePlayURLResResultURLListItem
- type GeneratePushURL
- type GeneratePushURLBody
- type GeneratePushURLQuery
- type GeneratePushURLReq
- type GeneratePushURLRes
- type GeneratePushURLResResponseMetadata
- type GeneratePushURLResResponseMetadataError
- type GeneratePushURLResResult
- type GeneratePushURLResResultPushURLListDetailItem
- type GetVqosRawData
- type GetVqosRawDataBody
- type GetVqosRawDataBodyFilter
- type GetVqosRawDataBodyFilterFiltersItem
- type GetVqosRawDataQuery
- type GetVqosRawDataReq
- type GetVqosRawDataRes
- type GetVqosRawDataResResponseMetadata
- type GetVqosRawDataResResult
- type KillStream
- type KillStreamBody
- type KillStreamQuery
- type KillStreamReq
- type KillStreamRes
- type KillStreamResResponseMetadata
- type KillStreamResResponseMetadataError
- type ListCertV2
- type ListCertV2Body
- type ListCertV2Query
- type ListCertV2Req
- type ListCertV2Res
- type ListCertV2ResResponseMetadata
- type ListCertV2ResResponseMetadataError
- type ListCertV2ResResult
- type ListCertV2ResResultCertListItem
- type ListCommonTransPresetDetail
- type ListCommonTransPresetDetailBody
- type ListCommonTransPresetDetailQuery
- type ListCommonTransPresetDetailReq
- type ListCommonTransPresetDetailRes
- type ListCommonTransPresetDetailResResponseMetadata
- type ListCommonTransPresetDetailResResponseMetadataError
- type ListCommonTransPresetDetailResResult
- type ListCommonTransPresetDetailResResultNarrowBandHDPresetDetailItem
- type ListCommonTransPresetDetailResResultStandardPresetDetailItem
- type ListDomainDetail
- type ListDomainDetailBody
- type ListDomainDetailQuery
- type ListDomainDetailReq
- type ListDomainDetailRes
- type ListDomainDetailResResponseMetadata
- type ListDomainDetailResResponseMetadataError
- type ListDomainDetailResResult
- type ListDomainDetailResResultDomainListItem
- type ListPullRecordTask
- type ListPullRecordTaskBody
- type ListPullRecordTaskQuery
- type ListPullRecordTaskReq
- type ListPullRecordTaskRes
- type ListPullRecordTaskResResponseMetadata
- type ListPullRecordTaskResResult
- type ListPullRecordTaskResResultListItem
- type ListPullRecordTaskResResultPagination
- type ListPullToPushTask
- type ListPullToPushTaskBody
- type ListPullToPushTaskQuery
- type ListPullToPushTaskReq
- type ListPullToPushTaskRes
- type ListPullToPushTaskResResponseMetadata
- type ListPullToPushTaskResResponseMetadataError
- type ListPullToPushTaskResResult
- type ListPullToPushTaskResResultListItem
- type ListPullToPushTaskResResultListItemWatermark
- type ListPullToPushTaskResResultPagination
- type ListRelaySourceV4
- type ListRelaySourceV4Body
- type ListRelaySourceV4Query
- type ListRelaySourceV4Req
- type ListRelaySourceV4Res
- type ListRelaySourceV4ResResponseMetadata
- type ListRelaySourceV4ResResponseMetadataError
- type ListRelaySourceV4ResResult
- type ListRelaySourceV4ResResultListItem
- type ListRelaySourceV4ResResultPagination
- type ListTimeShiftPresetV2
- type ListTimeShiftPresetV2Body
- type ListTimeShiftPresetV2Query
- type ListTimeShiftPresetV2Req
- type ListTimeShiftPresetV2Res
- type ListTimeShiftPresetV2ResResponseMetadata
- type ListTimeShiftPresetV2ResResponseMetadataError
- type ListTimeShiftPresetV2ResResult
- type ListTimeShiftPresetV2ResResultListItem
- type ListVhostRecordPresetV2
- type ListVhostRecordPresetV2Body
- type ListVhostRecordPresetV2Query
- type ListVhostRecordPresetV2Req
- type ListVhostRecordPresetV2Res
- type ListVhostRecordPresetV2ResResponseMetadata
- type ListVhostRecordPresetV2ResResponseMetadataError
- type ListVhostRecordPresetV2ResResult
- type ListVhostRecordPresetV2ResResultPresetListItem
- type ListVhostRecordPresetV2ResResultPresetListItemSlicePresetV2
- type ListVhostSnapshotAuditPreset
- type ListVhostSnapshotAuditPresetBody
- type ListVhostSnapshotAuditPresetQuery
- type ListVhostSnapshotAuditPresetReq
- type ListVhostSnapshotAuditPresetRes
- type ListVhostSnapshotAuditPresetResResponseMetadata
- type ListVhostSnapshotAuditPresetResResponseMetadataError
- type ListVhostSnapshotAuditPresetResResult
- type ListVhostSnapshotAuditPresetResResultPresetListItem
- type ListVhostSnapshotAuditPresetResResultPresetListItemAuditPreset
- type ListVhostSnapshotAuditPresetResResultPresetListPropertiesItemsItem
- type ListVhostSnapshotPreset
- type ListVhostSnapshotPresetBody
- type ListVhostSnapshotPresetQuery
- type ListVhostSnapshotPresetReq
- type ListVhostSnapshotPresetRes
- type ListVhostSnapshotPresetResResponseMetadata
- type ListVhostSnapshotPresetResResponseMetadataError
- type ListVhostSnapshotPresetResResult
- type ListVhostSnapshotPresetResResultPresetListItem
- type ListVhostSnapshotPresetResResultPresetListItemSlicePreset
- type ListVhostSnapshotPresetResResultPresetListPropertiesItemsItem
- type ListVhostTransCodePreset
- type ListVhostTransCodePresetBody
- type ListVhostTransCodePresetQuery
- type ListVhostTransCodePresetReq
- type ListVhostTransCodePresetRes
- type ListVhostTransCodePresetResResponseMetadata
- type ListVhostTransCodePresetResResponseMetadataError
- type ListVhostTransCodePresetResResult
- type ListVhostTransCodePresetResResultAllPresetListItem
- type ListVhostTransCodePresetResResultAllPresetListItemTranscodePreset
- type ListVhostTransCodePresetResResultCommonPresetListItem
- type ListVhostTransCodePresetResResultCommonPresetListItemTranscodePreset
- type ListVhostTransCodePresetResResultCustomizePresetListItem
- type ListVhostTransCodePresetResResultCustomizePresetListItemTranscodePreset
- type ListVhostWatermarkPreset
- type ListVhostWatermarkPresetBody
- type ListVhostWatermarkPresetQuery
- type ListVhostWatermarkPresetReq
- type ListVhostWatermarkPresetRes
- type ListVhostWatermarkPresetResResponseMetadata
- type ListVhostWatermarkPresetResResponseMetadataError
- type ListVhostWatermarkPresetResResult
- type ListVhostWatermarkPresetResResultWatermarkErrMsgListItem
- type ListVhostWatermarkPresetResResultWatermarkPresetListItem
- type ListVqosDimensionValues
- type ListVqosDimensionValuesBody
- type ListVqosDimensionValuesQuery
- type ListVqosDimensionValuesReq
- type ListVqosDimensionValuesRes
- type ListVqosDimensionValuesResResponseMetadata
- type ListVqosDimensionValuesResResultItem
- type ListVqosMetricsDimensions
- type ListVqosMetricsDimensionsBody
- type ListVqosMetricsDimensionsQuery
- type ListVqosMetricsDimensionsReq
- type ListVqosMetricsDimensionsRes
- type ListVqosMetricsDimensionsResResponseMetadata
- type ListVqosMetricsDimensionsResResultItem
- type ListVqosMetricsDimensionsResResultPropertiesItemsItem
- type ListWatermarkPreset
- type ListWatermarkPresetBody
- type ListWatermarkPresetQuery
- type ListWatermarkPresetReq
- type ListWatermarkPresetRes
- type ListWatermarkPresetResResponseMetadata
- type ListWatermarkPresetResResponseMetadataError
- type ListWatermarkPresetResResult
- type ListWatermarkPresetResResultPreset
- type Live
- func (c *Live) BindCert(ctx context.Context, arg *BindCertBody) (*BindCertRes, error)
- func (c *Live) CreateCert(ctx context.Context, arg *CreateCertBody) (*CreateCertRes, error)
- func (c *Live) CreateDomain(ctx context.Context, arg *CreateDomainBody) (*CreateDomainRes, error)
- func (c *Live) CreateDomainV2(ctx context.Context, arg *CreateDomainV2Body) (*CreateDomainV2Res, error)
- func (c *Live) CreatePullRecordTask(ctx context.Context, arg *CreatePullRecordTaskBody) (*CreatePullRecordTaskRes, error)
- func (c *Live) CreatePullToPushTask(ctx context.Context, arg *CreatePullToPushTaskBody) (*CreatePullToPushTaskRes, error)
- func (c *Live) CreateRecordPresetV2(ctx context.Context, arg *CreateRecordPresetV2Body) (*CreateRecordPresetV2Res, error)
- func (c *Live) CreateRelaySourceV4(ctx context.Context, arg *CreateRelaySourceV4Body) (*CreateRelaySourceV4Res, error)
- func (c *Live) CreateSnapshotAuditPreset(ctx context.Context, arg *CreateSnapshotAuditPresetBody) (*CreateSnapshotAuditPresetRes, error)
- func (c *Live) CreateSnapshotPreset(ctx context.Context, arg *CreateSnapshotPresetBody) (*CreateSnapshotPresetRes, error)
- func (c *Live) CreateTimeShiftPresetV3(ctx context.Context, arg *CreateTimeShiftPresetV3Body) (*CreateTimeShiftPresetV3Res, error)
- func (c *Live) CreateTranscodePreset(ctx context.Context, arg *CreateTranscodePresetBody) (*CreateTranscodePresetRes, error)
- func (c *Live) CreateVerifyContent(ctx context.Context, arg *CreateVerifyContentBody) (*CreateVerifyContentRes, error)
- func (c *Live) CreateWatermarkPreset(ctx context.Context, arg *CreateWatermarkPresetBody) (*CreateWatermarkPresetRes, error)
- func (c *Live) DeleteCallback(ctx context.Context, arg *DeleteCallbackBody) (*DeleteCallbackRes, error)
- func (c *Live) DeleteCert(ctx context.Context, arg *DeleteCertBody) (*DeleteCertRes, error)
- func (c *Live) DeleteDomain(ctx context.Context, arg *DeleteDomainBody) (*DeleteDomainRes, error)
- func (c *Live) DeletePullToPushTask(ctx context.Context, arg *DeletePullToPushTaskBody) (*DeletePullToPushTaskRes, error)
- func (c *Live) DeleteRecordPreset(ctx context.Context, arg *DeleteRecordPresetBody) (*DeleteRecordPresetRes, error)
- func (c *Live) DeleteReferer(ctx context.Context, arg *DeleteRefererBody) (*DeleteRefererRes, error)
- func (c *Live) DeleteRelaySourceV3(ctx context.Context, arg *DeleteRelaySourceV3Body) (*DeleteRelaySourceV3Res, error)
- func (c *Live) DeleteRelaySourceV4(ctx context.Context, arg *DeleteRelaySourceV4Body) (*DeleteRelaySourceV4Res, error)
- func (c *Live) DeleteSnapshotAuditPreset(ctx context.Context, arg *DeleteSnapshotAuditPresetBody) (*DeleteSnapshotAuditPresetRes, error)
- func (c *Live) DeleteSnapshotPreset(ctx context.Context, arg *DeleteSnapshotPresetBody) (*DeleteSnapshotPresetRes, error)
- func (c *Live) DeleteStreamQuotaConfig(ctx context.Context, arg *DeleteStreamQuotaConfigBody) (*DeleteStreamQuotaConfigRes, error)
- func (c *Live) DeleteTimeShiftPresetV3(ctx context.Context, arg *DeleteTimeShiftPresetV3Body) (*DeleteTimeShiftPresetV3Res, error)
- func (c *Live) DeleteTranscodePreset(ctx context.Context, arg *DeleteTranscodePresetBody) (*DeleteTranscodePresetRes, error)
- func (c *Live) DeleteWatermarkPreset(ctx context.Context, arg *DeleteWatermarkPresetBody) (*DeleteWatermarkPresetRes, error)
- func (c *Live) DescribeAuth(ctx context.Context, arg *DescribeAuthBody) (*DescribeAuthRes, error)
- func (c *Live) DescribeCDNSnapshotHistory(ctx context.Context, arg *DescribeCDNSnapshotHistoryBody) (*DescribeCDNSnapshotHistoryRes, error)
- func (c *Live) DescribeCallback(ctx context.Context, arg *DescribeCallbackBody) (*DescribeCallbackRes, error)
- func (c *Live) DescribeCertDetailSecretV2(ctx context.Context, arg *DescribeCertDetailSecretV2Body) (*DescribeCertDetailSecretV2Res, error)
- func (c *Live) DescribeClosedStreamInfoByPage(ctx context.Context, arg *DescribeClosedStreamInfoByPageQuery) (*DescribeClosedStreamInfoByPageRes, error)
- func (c *Live) DescribeDenyConfig(ctx context.Context, arg *DescribeDenyConfigBody) (*DescribeDenyConfigRes, error)
- func (c *Live) DescribeDomain(ctx context.Context, arg *DescribeDomainBody) (*DescribeDomainRes, error)
- func (c *Live) DescribeForbiddenStreamInfoByPage(ctx context.Context, arg *DescribeForbiddenStreamInfoByPageQuery) (*DescribeForbiddenStreamInfoByPageRes, error)
- func (c *Live) DescribeIPInfo(ctx context.Context, arg *DescribeIPInfoBody) (*DescribeIPInfoRes, error)
- func (c *Live) DescribeLiveAuditData(ctx context.Context, arg *DescribeLiveAuditDataBody) (*DescribeLiveAuditDataRes, error)
- func (c *Live) DescribeLiveBandwidthData(ctx context.Context, arg *DescribeLiveBandwidthDataBody) (*DescribeLiveBandwidthDataRes, error)
- func (c *Live) DescribeLiveBatchPushStreamMetrics(ctx context.Context, arg *DescribeLiveBatchPushStreamMetricsBody) (*DescribeLiveBatchPushStreamMetricsRes, error)
- func (c *Live) DescribeLiveBatchSourceStreamMetrics(ctx context.Context, arg *DescribeLiveBatchSourceStreamMetricsBody) (*DescribeLiveBatchSourceStreamMetricsRes, error)
- func (c *Live) DescribeLiveBatchStreamTrafficData(ctx context.Context, arg *DescribeLiveBatchStreamTrafficDataBody) (*DescribeLiveBatchStreamTrafficDataRes, error)
- func (c *Live) DescribeLiveBatchStreamTranscodeData(ctx context.Context, arg *DescribeLiveBatchStreamTranscodeDataBody) (*DescribeLiveBatchStreamTranscodeDataRes, error)
- func (c *Live) DescribeLiveISPData(ctx context.Context) (*DescribeLiveISPDataRes, error)
- func (c *Live) DescribeLiveMetricBandwidthData(ctx context.Context, arg *DescribeLiveMetricBandwidthDataBody) (*DescribeLiveMetricBandwidthDataRes, error)
- func (c *Live) DescribeLiveMetricTrafficData(ctx context.Context, arg *DescribeLiveMetricTrafficDataBody) (*DescribeLiveMetricTrafficDataRes, error)
- func (c *Live) DescribeLiveP95PeakBandwidthData(ctx context.Context, arg *DescribeLiveP95PeakBandwidthDataBody) (*DescribeLiveP95PeakBandwidthDataRes, error)
- func (c *Live) DescribeLivePlayStatusCodeData(ctx context.Context, arg *DescribeLivePlayStatusCodeDataBody) (*DescribeLivePlayStatusCodeDataRes, error)
- func (c *Live) DescribeLivePullToPushBandwidthData(ctx context.Context, arg *DescribeLivePullToPushBandwidthDataBody) (*DescribeLivePullToPushBandwidthDataRes, error)
- func (c *Live) DescribeLivePullToPushData(ctx context.Context, arg *DescribeLivePullToPushDataBody) (*DescribeLivePullToPushDataRes, error)
- func (c *Live) DescribeLivePushStreamCountData(ctx context.Context, arg *DescribeLivePushStreamCountDataBody) (*DescribeLivePushStreamCountDataRes, error)
- func (c *Live) DescribeLivePushStreamMetrics(ctx context.Context, arg *DescribeLivePushStreamMetricsBody) (*DescribeLivePushStreamMetricsRes, error)
- func (c *Live) DescribeLiveRecordData(ctx context.Context, arg *DescribeLiveRecordDataBody) (*DescribeLiveRecordDataRes, error)
- func (c *Live) DescribeLiveRegionData(ctx context.Context) (*DescribeLiveRegionDataRes, error)
- func (c *Live) DescribeLiveSnapshotData(ctx context.Context, arg *DescribeLiveSnapshotDataBody) (*DescribeLiveSnapshotDataRes, error)
- func (c *Live) DescribeLiveSourceBandwidthData(ctx context.Context, arg *DescribeLiveSourceBandwidthDataBody) (*DescribeLiveSourceBandwidthDataRes, error)
- func (c *Live) DescribeLiveSourceStreamMetrics(ctx context.Context, arg *DescribeLiveSourceStreamMetricsBody) (*DescribeLiveSourceStreamMetricsRes, error)
- func (c *Live) DescribeLiveSourceTrafficData(ctx context.Context, arg *DescribeLiveSourceTrafficDataBody) (*DescribeLiveSourceTrafficDataRes, error)
- func (c *Live) DescribeLiveStreamCountData(ctx context.Context, arg *DescribeLiveStreamCountDataBody) (*DescribeLiveStreamCountDataRes, error)
- func (c *Live) DescribeLiveStreamInfoByPage(ctx context.Context, arg *DescribeLiveStreamInfoByPageQuery) (*DescribeLiveStreamInfoByPageRes, error)
- func (c *Live) DescribeLiveStreamSessionData(ctx context.Context, arg *DescribeLiveStreamSessionDataBody) (*DescribeLiveStreamSessionDataRes, error)
- func (c *Live) DescribeLiveStreamState(ctx context.Context, arg *DescribeLiveStreamStateQuery) (*DescribeLiveStreamStateRes, error)
- func (c *Live) DescribeLiveTimeShiftData(ctx context.Context, arg *DescribeLiveTimeShiftDataBody) (*DescribeLiveTimeShiftDataRes, error)
- func (c *Live) DescribeLiveTrafficData(ctx context.Context, arg *DescribeLiveTrafficDataBody) (*DescribeLiveTrafficDataRes, error)
- func (c *Live) DescribeLiveTranscodeData(ctx context.Context, arg *DescribeLiveTranscodeDataBody) (*DescribeLiveTranscodeDataRes, error)
- func (c *Live) DescribeRecordTaskFileHistory(ctx context.Context, arg *DescribeRecordTaskFileHistoryBody) (*DescribeRecordTaskFileHistoryRes, error)
- func (c *Live) DescribeReferer(ctx context.Context, arg *DescribeRefererBody) (*DescribeRefererRes, error)
- func (c *Live) DescribeRelaySourceV3(ctx context.Context, arg *DescribeRelaySourceV3Body) (*DescribeRelaySourceV3Res, error)
- func (c *Live) DescribeStreamQuotaConfig(ctx context.Context, arg *DescribeStreamQuotaConfigBody) (*DescribeStreamQuotaConfigRes, error)
- func (c *Live) DisableDomain(ctx context.Context, arg *DisableDomainBody) (*DisableDomainRes, error)
- func (c *Live) EnableDomain(ctx context.Context, arg *EnableDomainBody) (*EnableDomainRes, error)
- func (c *Live) ForbidStream(ctx context.Context, arg *ForbidStreamBody) (*ForbidStreamRes, error)
- func (c *Live) GeneratePlayURL(ctx context.Context, arg *GeneratePlayURLBody) (*GeneratePlayURLRes, error)
- func (c *Live) GeneratePushURL(ctx context.Context, arg *GeneratePushURLBody) (*GeneratePushURLRes, error)
- func (c *Live) GetVqosRawData(ctx context.Context, arg *GetVqosRawDataReq) (*GetVqosRawDataRes, error)
- func (c *Live) KillStream(ctx context.Context, arg *KillStreamBody) (*KillStreamRes, error)
- func (c *Live) ListCertV2(ctx context.Context, arg *ListCertV2Body) (*ListCertV2Res, error)
- func (c *Live) ListCommonTransPresetDetail(ctx context.Context, arg *ListCommonTransPresetDetailBody) (*ListCommonTransPresetDetailRes, error)
- func (c *Live) ListDomainDetail(ctx context.Context, arg *ListDomainDetailBody) (*ListDomainDetailRes, error)
- func (c *Live) ListPullRecordTask(ctx context.Context, arg *ListPullRecordTaskBody) (*ListPullRecordTaskRes, error)
- func (c *Live) ListPullToPushTask(ctx context.Context, arg *ListPullToPushTaskQuery) (*ListPullToPushTaskRes, error)
- func (c *Live) ListRelaySourceV4(ctx context.Context, arg *ListRelaySourceV4Body) (*ListRelaySourceV4Res, error)
- func (c *Live) ListTimeShiftPresetV2(ctx context.Context, arg *ListTimeShiftPresetV2Body) (*ListTimeShiftPresetV2Res, error)
- func (c *Live) ListVhostRecordPresetV2(ctx context.Context, arg *ListVhostRecordPresetV2Body) (*ListVhostRecordPresetV2Res, error)
- func (c *Live) ListVhostSnapshotAuditPreset(ctx context.Context, arg *ListVhostSnapshotAuditPresetBody) (*ListVhostSnapshotAuditPresetRes, error)
- func (c *Live) ListVhostSnapshotPreset(ctx context.Context, arg *ListVhostSnapshotPresetBody) (*ListVhostSnapshotPresetRes, error)
- func (c *Live) ListVhostTransCodePreset(ctx context.Context, arg *ListVhostTransCodePresetBody) (*ListVhostTransCodePresetRes, error)
- func (c *Live) ListVhostWatermarkPreset(ctx context.Context, arg *ListVhostWatermarkPresetBody) (*ListVhostWatermarkPresetRes, error)
- func (c *Live) ListVqosDimensionValues(ctx context.Context, arg *ListVqosDimensionValuesReq) (*ListVqosDimensionValuesRes, error)
- func (c *Live) ListVqosMetricsDimensions(ctx context.Context, arg *ListVqosMetricsDimensionsQuery) (*ListVqosMetricsDimensionsRes, error)
- func (c *Live) ListWatermarkPreset(ctx context.Context, arg *ListWatermarkPresetBody) (*ListWatermarkPresetRes, error)
- func (c *Live) RestartPullToPushTask(ctx context.Context, arg *RestartPullToPushTaskBody) (*RestartPullToPushTaskRes, error)
- func (c *Live) ResumeStream(ctx context.Context, arg *ResumeStreamBody) (*ResumeStreamRes, error)
- func (c *Live) StopPullRecordTask(ctx context.Context, arg *StopPullRecordTaskBody) (*StopPullRecordTaskRes, error)
- func (c *Live) StopPullToPushTask(ctx context.Context, arg *StopPullToPushTaskBody) (*StopPullToPushTaskRes, error)
- func (c *Live) UnbindCert(ctx context.Context, arg *UnbindCertBody) (*UnbindCertRes, error)
- func (c *Live) UpdateAuthKey(ctx context.Context, arg *UpdateAuthKeyBody) (*UpdateAuthKeyRes, error)
- func (c *Live) UpdateCallback(ctx context.Context, arg *UpdateCallbackBody) (*UpdateCallbackRes, error)
- func (c *Live) UpdateDenyConfig(ctx context.Context, arg *UpdateDenyConfigBody) (*UpdateDenyConfigRes, error)
- func (c *Live) UpdateDomainVhost(ctx context.Context, arg *UpdateDomainVhostBody) (*UpdateDomainVhostRes, error)
- func (c *Live) UpdatePullToPushTask(ctx context.Context, arg *UpdatePullToPushTaskBody) (*UpdatePullToPushTaskRes, error)
- func (c *Live) UpdateRecordPresetV2(ctx context.Context, arg *UpdateRecordPresetV2Body) (*UpdateRecordPresetV2Res, error)
- func (c *Live) UpdateReferer(ctx context.Context, arg *UpdateRefererBody) (*UpdateRefererRes, error)
- func (c *Live) UpdateRelaySourceV3(ctx context.Context, arg *UpdateRelaySourceV3Body) (*UpdateRelaySourceV3Res, error)
- func (c *Live) UpdateRelaySourceV4(ctx context.Context, arg *UpdateRelaySourceV4Body) (*UpdateRelaySourceV4Res, error)
- func (c *Live) UpdateSnapshotAuditPreset(ctx context.Context, arg *UpdateSnapshotAuditPresetBody) (*UpdateSnapshotAuditPresetRes, error)
- func (c *Live) UpdateSnapshotPreset(ctx context.Context, arg *UpdateSnapshotPresetBody) (*UpdateSnapshotPresetRes, error)
- func (c *Live) UpdateStreamQuotaConfig(ctx context.Context, arg *UpdateStreamQuotaConfigBody) (*UpdateStreamQuotaConfigRes, error)
- func (c *Live) UpdateTimeShiftPresetV3(ctx context.Context, arg *UpdateTimeShiftPresetV3Body) (*UpdateTimeShiftPresetV3Res, error)
- func (c *Live) UpdateTranscodePreset(ctx context.Context, arg *UpdateTranscodePresetBody) (*UpdateTranscodePresetRes, error)
- func (c *Live) UpdateWatermarkPreset(ctx context.Context, arg *UpdateWatermarkPresetBody) (*UpdateWatermarkPresetRes, error)
- func (c *Live) VerifyDomainOwner(ctx context.Context, arg *VerifyDomainOwnerBody) (*VerifyDomainOwnerRes, error)
- type RestartPullToPushTask
- type RestartPullToPushTaskBody
- type RestartPullToPushTaskQuery
- type RestartPullToPushTaskReq
- type RestartPullToPushTaskRes
- type RestartPullToPushTaskResResponseMetadata
- type RestartPullToPushTaskResResponseMetadataError
- type ResumeStream
- type ResumeStreamBody
- type ResumeStreamQuery
- type ResumeStreamReq
- type ResumeStreamRes
- type ResumeStreamResResponseMetadata
- type ResumeStreamResResponseMetadataError
- type StopPullRecordTask
- type StopPullRecordTaskBody
- type StopPullRecordTaskQuery
- type StopPullRecordTaskReq
- type StopPullRecordTaskRes
- type StopPullRecordTaskResResponseMetadata
- type StopPullToPushTask
- type StopPullToPushTaskBody
- type StopPullToPushTaskQuery
- type StopPullToPushTaskReq
- type StopPullToPushTaskRes
- type StopPullToPushTaskResResponseMetadata
- type StopPullToPushTaskResResponseMetadataError
- type UnbindCert
- type UnbindCertBody
- type UnbindCertQuery
- type UnbindCertReq
- type UnbindCertRes
- type UnbindCertResResponseMetadata
- type UnbindCertResResponseMetadataError
- type UpdateAuthKey
- type UpdateAuthKeyBody
- type UpdateAuthKeyBodyAuthDetailListItem
- type UpdateAuthKeyQuery
- type UpdateAuthKeyReq
- type UpdateAuthKeyRes
- type UpdateAuthKeyResResponseMetadata
- type UpdateAuthKeyResResponseMetadataError
- type UpdateCallback
- type UpdateCallbackBody
- type UpdateCallbackBodyCallbackDetailListItem
- type UpdateCallbackQuery
- type UpdateCallbackReq
- type UpdateCallbackRes
- type UpdateCallbackResResponseMetadata
- type UpdateCallbackResResponseMetadataError
- type UpdateDenyConfig
- type UpdateDenyConfigBody
- type UpdateDenyConfigBodyDenyConfigListItem
- type UpdateDenyConfigQuery
- type UpdateDenyConfigReq
- type UpdateDenyConfigRes
- type UpdateDenyConfigResResponseMetadata
- type UpdateDenyConfigResResponseMetadataError
- type UpdateDomainVhost
- type UpdateDomainVhostBody
- type UpdateDomainVhostQuery
- type UpdateDomainVhostReq
- type UpdateDomainVhostRes
- type UpdateDomainVhostResResponseMetadata
- type UpdateDomainVhostResResponseMetadataError
- type UpdatePullToPushTask
- type UpdatePullToPushTaskBody
- type UpdatePullToPushTaskBodyWatermark
- type UpdatePullToPushTaskQuery
- type UpdatePullToPushTaskReq
- type UpdatePullToPushTaskRes
- type UpdatePullToPushTaskResResponseMetadata
- type UpdatePullToPushTaskResResponseMetadataError
- type UpdateRecordPresetV2
- type UpdateRecordPresetV2Body
- type UpdateRecordPresetV2BodyRecordPresetConfig
- type UpdateRecordPresetV2BodyRecordPresetConfigFlvParam
- type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam
- type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam
- type UpdateRecordPresetV2BodyRecordPresetConfigHlsParam
- type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam
- type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam
- type UpdateRecordPresetV2BodyRecordPresetConfigMp4Param
- type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam
- type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam
- type UpdateRecordPresetV2Query
- type UpdateRecordPresetV2Req
- type UpdateRecordPresetV2Res
- type UpdateRecordPresetV2ResResponseMetadata
- type UpdateRecordPresetV2ResResponseMetadataError
- type UpdateReferer
- type UpdateRefererBody
- type UpdateRefererBodyRefererInfoListItem
- type UpdateRefererQuery
- type UpdateRefererReq
- type UpdateRefererRes
- type UpdateRefererResResponseMetadata
- type UpdateRefererResResponseMetadataError
- type UpdateRelaySourceV3
- type UpdateRelaySourceV3Body
- type UpdateRelaySourceV3BodyGroupDetailsItem
- type UpdateRelaySourceV3BodyGroupDetailsPropertiesItemsItem
- type UpdateRelaySourceV3Query
- type UpdateRelaySourceV3Req
- type UpdateRelaySourceV3Res
- type UpdateRelaySourceV3ResResponseMetadata
- type UpdateRelaySourceV3ResResponseMetadataError
- type UpdateRelaySourceV4
- type UpdateRelaySourceV4Body
- type UpdateRelaySourceV4Query
- type UpdateRelaySourceV4Req
- type UpdateRelaySourceV4Res
- type UpdateRelaySourceV4ResResponseMetadata
- type UpdateRelaySourceV4ResResponseMetadataError
- type UpdateSnapshotAuditPreset
- type UpdateSnapshotAuditPresetBody
- type UpdateSnapshotAuditPresetBodyCallbackDetailListItem
- type UpdateSnapshotAuditPresetQuery
- type UpdateSnapshotAuditPresetReq
- type UpdateSnapshotAuditPresetRes
- type UpdateSnapshotAuditPresetResResponseMetadata
- type UpdateSnapshotAuditPresetResResponseMetadataError
- type UpdateSnapshotPreset
- type UpdateSnapshotPresetBody
- type UpdateSnapshotPresetBodyCallbackDetailListItem
- type UpdateSnapshotPresetQuery
- type UpdateSnapshotPresetReq
- type UpdateSnapshotPresetRes
- type UpdateSnapshotPresetResResponseMetadata
- type UpdateSnapshotPresetResResponseMetadataError
- type UpdateStreamQuotaConfig
- type UpdateStreamQuotaConfigBody
- type UpdateStreamQuotaConfigBodyQuotaDetailListItem
- type UpdateStreamQuotaConfigBodyQuotaDetailListItemBandwidthConfig
- type UpdateStreamQuotaConfigBodyQuotaDetailListItemStreamConfig
- type UpdateStreamQuotaConfigQuery
- type UpdateStreamQuotaConfigReq
- type UpdateStreamQuotaConfigRes
- type UpdateStreamQuotaConfigResResponseMetadata
- type UpdateStreamQuotaConfigResResponseMetadataError
- type UpdateTimeShiftPresetV3
- type UpdateTimeShiftPresetV3Body
- type UpdateTimeShiftPresetV3Query
- type UpdateTimeShiftPresetV3Req
- type UpdateTimeShiftPresetV3Res
- type UpdateTimeShiftPresetV3ResResponseMetadata
- type UpdateTimeShiftPresetV3ResResponseMetadataError
- type UpdateTranscodePreset
- type UpdateTranscodePresetBody
- type UpdateTranscodePresetQuery
- type UpdateTranscodePresetReq
- type UpdateTranscodePresetRes
- type UpdateTranscodePresetResResponseMetadata
- type UpdateTranscodePresetResResponseMetadataError
- type UpdateWatermarkPreset
- type UpdateWatermarkPresetBody
- type UpdateWatermarkPresetQuery
- type UpdateWatermarkPresetReq
- type UpdateWatermarkPresetRes
- type UpdateWatermarkPresetResResponseMetadata
- type UpdateWatermarkPresetResResponseMetadataError
- type VerifyDomainOwner
- type VerifyDomainOwnerBody
- type VerifyDomainOwnerQuery
- type VerifyDomainOwnerReq
- type VerifyDomainOwnerRes
- type VerifyDomainOwnerResResponseMetadata
- type VerifyDomainOwnerResResult
Constants ¶
const ( ServiceName = "live" DefaultTimeout = 10 * time.Second )
Variables ¶
var ( ServiceInfoMap = map[string]common.ServiceInfo{ "cn-north-1": { Timeout: DefaultTimeout, Scheme: "https", Host: "live.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: common.Credentials{ Region: "cn-north-1", Service: ServiceName, }, }, } ApiListInfo = map[string]*common.ApiInfo{}/* 112 elements not displayed */ )
Functions ¶
This section is empty.
Types ¶
type BindCertBody ¶
type BindCertBody struct {
// REQUIRED; 需要绑定的证书链 ID,可以通过查询证书列表 [https://www.volcengine.com/docs/6469/1126822]接口获取。
ChainID string `json:"ChainID"`
// REQUIRED; 需要绑定证书的域名。
Domain string `json:"Domain"`
// 是否开启 HTTPS,默认值为 false。
// * false:关闭;
// * true:开启。
HTTPS *bool `json:"HTTPS,omitempty"`
}
type BindCertQuery ¶
type BindCertQuery struct {
}
type BindCertReq ¶
type BindCertReq struct {
*BindCertQuery
*BindCertBody
}
type BindCertRes ¶
type BindCertRes struct {
// REQUIRED
ResponseMetadata BindCertResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type BindCertResResponseMetadata ¶
type BindCertResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *BindCertResResponseMetadataError `json:"Error,omitempty"`
}
type Components1404CjzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesTosparam ¶
type Components1404CjzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesTosparam struct {
Bucket string `json:"Bucket"`
Enable bool `json:"Enable"`
ExactObject string `json:"ExactObject"`
StorageDir string `json:"StorageDir"`
}
Components1404CjzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesTosparam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type Components1Via6UrSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesTosparam ¶
type Components1Via6UrSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesTosparam struct {
Bucket string `json:"Bucket"`
Enable bool `json:"Enable"`
ExactObject string `json:"ExactObject"`
StorageDir string `json:"StorageDir"`
}
Components1Via6UrSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesTosparam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type Components44Na0KSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparam ¶
type Components44Na0KSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparam struct {
Duration *int32 `json:"Duration,omitempty"`
Enable *bool `json:"Enable,omitempty"`
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
Splice *int32 `json:"Splice,omitempty"`
TOSParam *ComponentsBbqv7RSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesTosparam `json:"TOSParam,omitempty"`
VODParam *ComponentsKovkk9SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesVodparam `json:"VODParam,omitempty"`
}
Components44Na0KSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparam - FLV 录制参数,开启 FLV 录制时设置。
type ComponentsAoysk3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparam ¶
type ComponentsAoysk3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparam struct {
Duration *int32 `json:"Duration,omitempty"`
Enable *bool `json:"Enable,omitempty"`
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
Splice *int32 `json:"Splice,omitempty"`
TOSParam *Components1404CjzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesTosparam `json:"TOSParam,omitempty"`
VODParam *ComponentsS0Ofr3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesVodparam `json:"VODParam,omitempty"`
}
ComponentsAoysk3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparam - HLS 录制参数,开启 HLS 录制时设置。
type ComponentsBbqv7RSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesTosparam ¶
type ComponentsBbqv7RSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesTosparam struct {
Bucket string `json:"Bucket"`
Enable bool `json:"Enable"`
ExactObject string `json:"ExactObject"`
StorageDir string `json:"StorageDir"`
}
ComponentsBbqv7RSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesTosparam - TOS 存储相关配置。
type ComponentsFceumsSchemasListvqosmetricsdimensionsresPropertiesResultItemsPropertiesDimensionsItems ¶
type ComponentsFuamuzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfig ¶
type ComponentsFuamuzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfig struct {
FlvParam *Components44Na0KSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparam `json:"FlvParam,omitempty"`
HlsParam *ComponentsAoysk3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparam `json:"HlsParam,omitempty"`
Mp4Param *ComponentsKqy98ZSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4Param `json:"Mp4Param,omitempty"`
OriginRecord *int32 `json:"OriginRecord,omitempty"`
SliceDuration *int32 `json:"SliceDuration,omitempty"`
TranscodeRecord *int32 `json:"TranscodeRecord,omitempty"`
}
ComponentsFuamuzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfig - 录制模板详细配置。
type ComponentsKovkk9SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesVodparam ¶
type ComponentsKovkk9SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesVodparam struct {
ClassificationID *int32 `json:"ClassificationID,omitempty"`
Enable *bool `json:"Enable,omitempty"`
ExactObject *string `json:"ExactObject,omitempty"`
StorageClass *int32 `json:"StorageClass,omitempty"`
VodNamespace *string `json:"VodNamespace,omitempty"`
WorkflowID *string `json:"WorkflowID,omitempty"`
}
ComponentsKovkk9SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesFlvparamPropertiesVodparam - VOD 存储相关配置。
type ComponentsKqy98ZSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4Param ¶
type ComponentsKqy98ZSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4Param struct {
Duration *int32 `json:"Duration,omitempty"`
Enable *bool `json:"Enable,omitempty"`
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
Splice *int32 `json:"Splice,omitempty"`
TOSParam *Components1Via6UrSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesTosparam `json:"TOSParam,omitempty"`
VODParam *ComponentsQms0JiSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesVodparam `json:"VODParam,omitempty"`
}
ComponentsKqy98ZSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4Param - MP4 录制参数,开启 MP4 录制时设置。
type ComponentsQms0JiSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesVodparam ¶
type ComponentsQms0JiSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesVodparam struct {
ClassificationID *int32 `json:"ClassificationID,omitempty"`
Enable *bool `json:"Enable,omitempty"`
ExactObject *string `json:"ExactObject,omitempty"`
StorageClass *int32 `json:"StorageClass,omitempty"`
VodNamespace *string `json:"VodNamespace,omitempty"`
WorkflowID *string `json:"WorkflowID,omitempty"`
}
ComponentsQms0JiSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesMp4ParamPropertiesVodparam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type ComponentsS0Ofr3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesVodparam ¶
type ComponentsS0Ofr3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesVodparam struct {
ClassificationID *int32 `json:"ClassificationID,omitempty"`
Enable *bool `json:"Enable,omitempty"`
ExactObject *string `json:"ExactObject,omitempty"`
StorageClass *int32 `json:"StorageClass,omitempty"`
VodNamespace *string `json:"VodNamespace,omitempty"`
WorkflowID *string `json:"WorkflowID,omitempty"`
}
ComponentsS0Ofr3SchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfigPropertiesHlsparamPropertiesVodparam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type CreateCert ¶
type CreateCert struct {
}
type CreateCertBody ¶
type CreateCertBody struct {
// REQUIRED; 火山引擎账号 ID
AccountID string `json:"AccountID"`
// REQUIRED; 密钥信息
Rsa CreateCertBodyRsa `json:"Rsa"`
// REQUIRED; 证书用途,默认为 https,支持的取值包括:
// * https:https 认证;
// * sign:签名校验。
UseWay string `json:"UseWay"`
// 证书名称
CertName *string `json:"CertName,omitempty"`
// 证书链 ID,用于标识整个证书链,包括叶子证书(服务器证书)、中间证书(中间 CA 证书)以及根证书(根 CA 证书)
ChainID *string `json:"ChainID,omitempty"`
}
type CreateCertBodyRsa ¶
type CreateCertBodyRsa struct {
// REQUIRED; 证书私钥。
Prikey string `json:"Prikey"`
// REQUIRED; 证书公钥。
Pubkey string `json:"Pubkey"`
}
CreateCertBodyRsa - 密钥信息
type CreateCertQuery ¶
type CreateCertQuery struct {
}
type CreateCertReq ¶
type CreateCertReq struct {
*CreateCertQuery
*CreateCertBody
}
type CreateCertRes ¶
type CreateCertRes struct {
// REQUIRED
ResponseMetadata CreateCertResResponseMetadata `json:"ResponseMetadata"`
Result *CreateCertResResult `json:"Result,omitempty"`
}
type CreateCertResResponseMetadata ¶
type CreateCertResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreateCertResResponseMetadataError `json:"Error,omitempty"`
}
type CreateCertResResult ¶
type CreateDomain ¶
type CreateDomain struct {
}
type CreateDomainBody ¶
type CreateDomainBody struct {
// REQUIRED; 推/拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 域名类型,包含两种类型。
// * push:推流域名;
// * pull-flv:拉流域名,包含 RTMP、FLV、HLS 格式。
Type string `json:"Type"`
// 区域,默认指为 cn,包含 3 种类型。
// * cn:中国大陆;
// * cn-global:全球;
// * cn-oversea:海外及港澳台。
Region *string `json:"Region,omitempty"`
}
type CreateDomainQuery ¶
type CreateDomainQuery struct {
}
type CreateDomainReq ¶
type CreateDomainReq struct {
*CreateDomainQuery
*CreateDomainBody
}
type CreateDomainRes ¶
type CreateDomainRes struct {
// REQUIRED
ResponseMetadata CreateDomainResResponseMetadata `json:"ResponseMetadata"`
}
type CreateDomainResResponseMetadata ¶
type CreateDomainResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreateDomainResResponseMetadataError `json:"Error,omitempty"`
}
type CreateDomainV2 ¶
type CreateDomainV2 struct {
}
type CreateDomainV2Body ¶
type CreateDomainV2Body struct {
// REQUIRED; 域名列表,总和最多十个。
Domains []CreateDomainV2BodyDomainsItem `json:"Domains"`
// REQUIRED; 区域,包含四种类型。
// * cn:中国大陆;
// * cn-global:全球;
// * cn-oversea:海外及港澳台
Region string `json:"Region"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 项目名称,vhost 将归类这个项目里,新创建的 vhost 才需要。
ProjectName *string `json:"ProjectName,omitempty"`
// 标签列表,vhost 将归类这个 tag 里,新创建的 vhost 才需要。
Tags []*CreateDomainV2BodyTagsItem `json:"Tags,omitempty"`
}
type CreateDomainV2Query ¶
type CreateDomainV2Query struct {
}
type CreateDomainV2Req ¶
type CreateDomainV2Req struct {
*CreateDomainV2Query
*CreateDomainV2Body
}
type CreateDomainV2Res ¶
type CreateDomainV2Res struct {
// REQUIRED
ResponseMetadata CreateDomainV2ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type CreateDomainV2ResResponseMetadata ¶
type CreateDomainV2ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *CreateDomainV2ResResponseMetadataError `json:"Error,omitempty"`
}
type CreatePullRecordTask ¶
type CreatePullRecordTask struct {
}
type CreatePullRecordTaskBody ¶
type CreatePullRecordTaskBody struct {
// REQUIRED; app名字
App string `json:"App"`
// REQUIRED; 域名
Domain string `json:"Domain"`
// REQUIRED; stream名称
Stream string `json:"Stream"`
// REQUIRED; 拉流地址
StreamURL string `json:"StreamURL"`
// 结束时间
EndTime *string `json:"EndTime,omitempty"`
// 开始时间
StartTime *string `json:"StartTime,omitempty"`
// 域名空间
Vhost *string `json:"Vhost,omitempty"`
}
type CreatePullRecordTaskQuery ¶
type CreatePullRecordTaskQuery struct {
}
type CreatePullRecordTaskReq ¶
type CreatePullRecordTaskReq struct {
*CreatePullRecordTaskQuery
*CreatePullRecordTaskBody
}
type CreatePullRecordTaskRes ¶
type CreatePullRecordTaskRes struct {
// REQUIRED
ResponseMetadata CreatePullRecordTaskResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED; 视请求的接口而定
Result CreatePullRecordTaskResResult `json:"Result"`
}
type CreatePullRecordTaskResResponseMetadata ¶
type CreatePullRecordTaskResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type CreatePullRecordTaskResResult ¶
type CreatePullRecordTaskResResult struct {
// REQUIRED; 任务id
TaskID string `json:"TaskId"`
}
CreatePullRecordTaskResResult - 视请求的接口而定
type CreatePullToPushTask ¶
type CreatePullToPushTask struct {
}
type CreatePullToPushTaskBody ¶
type CreatePullToPushTaskBody struct {
// REQUIRED; 结束时间,Unix 时间戳(秒)
EndTime int32 `json:"EndTime"`
// REQUIRED; 开始时间,Unix 时间戳,单位为 s
StartTime int32 `json:"StartTime"`
// REQUIRED; 拉流来源类型。支持以下 2 种取值。
// * 0:直播源;
// * 1:点播视频。
Type int32 `json:"Type"`
// 推流 App 名称,DstAddr为空时必传;反之,则该参数不生效
App *string `json:"App,omitempty"`
// 回调地址,最大长度为 2000 个字符
CallbackURL *string `json:"CallbackURL,omitempty"`
// 续播策略,支持以下配置项。
// * 0:从断流处续播(默认值);
// * 1:从断流处+自然流逝时长处续播。
ContinueStrategy *int32 `json:"ContinueStrategy,omitempty"`
// 循环模式。当"Type":1时,为必选参数。当"Type":0时,该参数无效。参数取值及含义如下所示。
// * -1:默认值,表示无限循环,至任务结束;
// * 0:表示有限次循环,循环次数为PlayTimes的取值。
CycleMode *int32 `json:"CycleMode,omitempty"`
// 推流域名,DstAddr为空时必传;反之,则该参数不生效
Domain *string `json:"Domain,omitempty"`
// 推流地址
DstAddr *string `json:"DstAddr,omitempty"`
// 点播文件启播时间偏移值,仅当 SrcAddr 不为空时生效。
Offset *float32 `json:"Offset,omitempty"`
// 点播文件启播时间偏移值, 单位秒;数量与 SrcAddrS 列表数量相等。
OffsetS []*float32 `json:"OffsetS,omitempty"`
// 点播文件循环播放次数。当"CycleMode":0时,为必选参数。
PlayTimes *int32 `json:"PlayTimes,omitempty"`
// 是否开启点播预热,仅对点播地址生效。
// * 0:不开启;
// * 1: 开启(默认值)。
PreDownload *int32 `json:"PreDownload,omitempty"`
// 拉流地址,与SrcAddrS二选一
// 最大长度为 1000 个字符。
SrcAddr *string `json:"SrcAddr,omitempty"`
// 拉流地址列表,与SrcAddr二选一。最多支持传入 20 个拉流地址。
SrcAddrS []*string `json:"SrcAddrS,omitempty"`
// 转推的推流流名,DstAddr为空时必传;反之,则该参数不生效
Stream *string `json:"Stream,omitempty"`
// 标题,支持中英文字符、数字,最大长度为 10 个字符
Title *string `json:"Title,omitempty"`
// 水印信息
Watermark *CreatePullToPushTaskBodyWatermark `json:"Watermark,omitempty"`
}
type CreatePullToPushTaskBodyWatermark ¶
type CreatePullToPushTaskBodyWatermark struct {
// REQUIRED; 水印图片字符串,图片最大 2MB,最小 100Bytes,最大分辨率为 1080×1080。图片 Data URL 格式为:data:[<mediatype>];[base64],<data>。
// * mediatype:图片类型,支持 png、jpg、jpeg 格式;
// * data:base64 编码的图片字符串。
// 例如,data:image/png;base64,iVBORw0KGg****mCC
Picture string `json:"Picture"`
// REQUIRED; 水印宽度,占直播原始画面宽度百分比,支持精度,小数点后两位
Ratio float32 `json:"Ratio"`
// REQUIRED; 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosX float32 `json:"RelativePosX"`
// REQUIRED; 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosY float32 `json:"RelativePosY"`
}
CreatePullToPushTaskBodyWatermark - 水印信息
type CreatePullToPushTaskQuery ¶
type CreatePullToPushTaskQuery struct {
}
type CreatePullToPushTaskReq ¶
type CreatePullToPushTaskReq struct {
*CreatePullToPushTaskQuery
*CreatePullToPushTaskBody
}
type CreatePullToPushTaskRes ¶
type CreatePullToPushTaskRes struct {
// REQUIRED
ResponseMetadata CreatePullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
Result *CreatePullToPushTaskResResult `json:"Result,omitempty"`
}
type CreatePullToPushTaskResResponseMetadata ¶
type CreatePullToPushTaskResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreatePullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
}
type CreatePullToPushTaskResResult ¶
type CreatePullToPushTaskResResult struct {
// REQUIRED; 任务 ID,任务的唯一标识。
TaskID string `json:"TaskId"`
}
type CreateRecordPresetV2 ¶
type CreateRecordPresetV2 struct {
}
type CreateRecordPresetV2Body ¶
type CreateRecordPresetV2Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成
App string `json:"App"`
// REQUIRED; 录制模板详细配置
RecordPresetConfig CreateRecordPresetV2BodyRecordPresetConfig `json:"RecordPresetConfig"`
// REQUIRED; 域名空间名称
Vhost string `json:"Vhost"`
// 流名称
Stream *string `json:"Stream,omitempty"`
}
type CreateRecordPresetV2BodyRecordPresetConfig ¶
type CreateRecordPresetV2BodyRecordPresetConfig struct {
// FLV 录制参数,开启 FLV 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
FlvParam *CreateRecordPresetV2BodyRecordPresetConfigFlvParam `json:"FlvParam,omitempty"`
// HLS 录制参数,开启 HLS 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
HlsParam *CreateRecordPresetV2BodyRecordPresetConfigHlsParam `json:"HlsParam,omitempty"`
// MP4 录制参数,开启 MP4 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
Mp4Param *CreateRecordPresetV2BodyRecordPresetConfigMp4Param `json:"Mp4Param,omitempty"`
// 源流录制,默认值为 0。支持的取值如下所示。
// * 0:不录制;
// * 1:录制。
// :::tipTranscodeRecord和OriginRecord的取值至少一个为 1。 :::
OriginRecord *int32 `json:"OriginRecord,omitempty"`
// 录制 HLS 格式时,单个 TS 切片时长,单位为 s,默认值为 5,取值范围为 [5,30]
SliceDuration *int32 `json:"SliceDuration,omitempty"`
// 转码流录制,默认值为 0。支持的取值如下所示。
// * 0:不录制;
// * 1:录制。
// :::tipTranscodeRecord和OriginRecord的取值至少一个为 1。 :::
TranscodeRecord *int32 `json:"TranscodeRecord,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfig - 录制模板详细配置
type CreateRecordPresetV2BodyRecordPresetConfigFlvParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigFlvParam struct {
// 断流等待时长,取值范围[0,3600]
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对HLS生效
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// * -1:一直拼接;
// * 0:不拼接;
// * 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置 :::tipTOSParam和VODParam配置且配置其中一个。 :::
TOSParam *CreateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置 :::tipTOSParam和VODParam配置且配置其中一个。 :::
VODParam *CreateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam `json:"VODParam,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigFlvParam - FLV 录制参数,开启 FLV 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type CreateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空
StorageDir *string `json:"StorageDir,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam - TOS 存储相关配置 :::tipTOSParam和VODParam配置且配置其中一个。 :::
type CreateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace 必填。
// :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID
WorkflowID *string `json:"WorkflowID,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam - VOD 存储相关配置 :::tipTOSParam和VODParam配置且配置其中一个。 :::
type CreateRecordPresetV2BodyRecordPresetConfigHlsParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigHlsParam struct {
// 断流等待时长,取值范围[0,3600]
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对HLS生效
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// -1:一直拼接; 0:不拼接; 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
TOSParam *CreateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
VODParam *CreateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam `json:"VODParam,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigHlsParam - HLS 录制参数,开启 HLS 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type CreateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空
StorageDir *string `json:"StorageDir,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type CreateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace 必填。
// :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID
WorkflowID *string `json:"WorkflowID,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type CreateRecordPresetV2BodyRecordPresetConfigMp4Param ¶
type CreateRecordPresetV2BodyRecordPresetConfigMp4Param struct {
// 断流等待时长,取值范围[0,3600]
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对HLS生效
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// -1:一直拼接; 0:不拼接; 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
TOSParam *CreateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
VODParam *CreateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam `json:"VODParam,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigMp4Param - MP4 录制参数,开启 MP4 录制时设置 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空
StorageDir *string `json:"StorageDir,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam ¶
type CreateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace 必填。
// :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID
WorkflowID *string `json:"WorkflowID,omitempty"`
}
CreateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type CreateRecordPresetV2Query ¶
type CreateRecordPresetV2Query struct {
}
type CreateRecordPresetV2Req ¶
type CreateRecordPresetV2Req struct {
*CreateRecordPresetV2Query
*CreateRecordPresetV2Body
}
type CreateRecordPresetV2Res ¶
type CreateRecordPresetV2Res struct {
// REQUIRED
ResponseMetadata CreateRecordPresetV2ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type CreateRecordPresetV2ResResponseMetadata ¶
type CreateRecordPresetV2ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *CreateRecordPresetV2ResResponseMetadataError `json:"Error,omitempty"`
}
type CreateRelaySourceV4 ¶
type CreateRelaySourceV4 struct {
}
type CreateRelaySourceV4Body ¶
type CreateRelaySourceV4Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 回源地址列表,支持输入 RTMP、FLV 和 HLS 协议的直播地址。
SrcAddrS []string `json:"SrcAddrS"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 结束时间,Unix 时间戳,单位为 s,结束时间需晚于 StartTime,且与 StartTime 的最大时间跨度为 7 天。 :::tipStartTime 与 EndTime 同时缺省,表示永久回源。 :::
EndTime *int32 `json:"EndTime,omitempty"`
// 开始时间,Unix 时间戳,单位为 s :::tipStartTime 与 EndTime 同时缺省,表示永久回源。 :::
StartTime *int32 `json:"StartTime,omitempty"`
}
type CreateRelaySourceV4Query ¶
type CreateRelaySourceV4Query struct {
}
type CreateRelaySourceV4Req ¶
type CreateRelaySourceV4Req struct {
*CreateRelaySourceV4Query
*CreateRelaySourceV4Body
}
type CreateRelaySourceV4Res ¶
type CreateRelaySourceV4Res struct {
// REQUIRED
ResponseMetadata CreateRelaySourceV4ResResponseMetadata `json:"ResponseMetadata"`
Result *CreateRelaySourceV4ResResult `json:"Result,omitempty"`
}
type CreateRelaySourceV4ResResponseMetadata ¶
type CreateRelaySourceV4ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *CreateRelaySourceV4ResResponseMetadataError `json:"Error,omitempty"`
}
type CreateRelaySourceV4ResResult ¶
type CreateRelaySourceV4ResResult struct {
// REQUIRED; 固定回源的任务 ID。
TaskID string `json:"TaskId"`
}
type CreateSnapshotAuditPreset ¶
type CreateSnapshotAuditPreset struct {
}
type CreateSnapshotAuditPresetBody ¶
type CreateSnapshotAuditPresetBody struct {
// REQUIRED; App 名称。
App string `json:"App"`
// REQUIRED; 审核结果回调配置。
CallbackDetailList []CreateSnapshotAuditPresetBodyCallbackDetailListItem `json:"CallbackDetailList"`
// REQUIRED; 截图间隔时间,单位秒,取值范围为 [0.1,10],支持保留两位小数。
Interval int32 `json:"Interval"`
// REQUIRED; 存储策略。支持以下取值。
// * 0:触发存储,只存储有风险图片;
// * 1:全部存储,存储所有图片。
StorageStrategy int32 `json:"StorageStrategy"`
// ToS 存储空间 bucket。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
Bucket *string `json:"Bucket,omitempty"`
// 审核模板描述。
Description *string `json:"Description,omitempty"`
// 推流域名。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 审核标签名称,若为空,则默认请求所有基础模型。支持以下取值。
// * 301:涉黄;
// * 302:涉敏1;
// * 303:涉敏2;
// * 304:广告;
// * 305:引人不适;
// * 306:违禁;
// * 307:二维码;
// * 308:诈骗;
// * 309:不良画面;
// * 310:未成年相关;
// * 320:文字违规。
Label []*string `json:"Label,omitempty"`
// veImageX 的服务 ID。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
ServiceID *string `json:"ServiceID,omitempty"`
// ToS 存储空间 bucket 下的存储目录。
StorageDir *string `json:"StorageDir,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type CreateSnapshotAuditPresetQuery ¶
type CreateSnapshotAuditPresetQuery struct {
}
type CreateSnapshotAuditPresetReq ¶
type CreateSnapshotAuditPresetReq struct {
*CreateSnapshotAuditPresetQuery
*CreateSnapshotAuditPresetBody
}
type CreateSnapshotAuditPresetRes ¶
type CreateSnapshotAuditPresetRes struct {
// REQUIRED
ResponseMetadata CreateSnapshotAuditPresetResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type CreateSnapshotAuditPresetResResponseMetadata ¶
type CreateSnapshotAuditPresetResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *CreateSnapshotAuditPresetResResponseMetadataError `json:"Error,omitempty"`
}
type CreateSnapshotPreset ¶
type CreateSnapshotPreset struct {
}
type CreateSnapshotPresetBody ¶
type CreateSnapshotPresetBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 截图间隔时间,单位为 s,默认值为 10,取值范围为正整数。
Interval int32 `json:"Interval"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// ToS 存储的 Bucket。 :::tipBucket 与 ServiceID 传且仅传一个。 :::
Bucket *string `json:"Bucket,omitempty"`
// 回调详情。
CallbackDetailList []*CreateSnapshotPresetBodyCallbackDetailListItem `json:"CallbackDetailList,omitempty"`
// veImageX 的服务 ID。 :::tipBucket 与 ServiceID 传且仅传一个。 :::
ServiceID *string `json:"ServiceID,omitempty"`
// 截图格式。默认值为 jpeg,支持如下取值。
// * jpeg
// * png
SnapshotFormat *string `json:"SnapshotFormat,omitempty"`
// 存储规则。存储在 ToS 时传,格式为{PushDomain}/{App}/{Stream}/{UnixTimestamp}。
SnapshotObject *string `json:"SnapshotObject,omitempty"`
// 截图模版状态状态。默认开启。
// * 1:开启。
// * 0:关闭。
Status *int32 `json:"Status,omitempty"`
// ToS 存储目录,不传为空。
StorageDir *string `json:"StorageDir,omitempty"`
}
type CreateSnapshotPresetQuery ¶
type CreateSnapshotPresetQuery struct {
}
type CreateSnapshotPresetReq ¶
type CreateSnapshotPresetReq struct {
*CreateSnapshotPresetQuery
*CreateSnapshotPresetBody
}
type CreateSnapshotPresetRes ¶
type CreateSnapshotPresetRes struct {
// REQUIRED
ResponseMetadata CreateSnapshotPresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type CreateSnapshotPresetResResponseMetadata ¶
type CreateSnapshotPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreateSnapshotPresetResResponseMetadataError `json:"Error,omitempty"`
}
type CreateTimeShiftPresetV3 ¶
type CreateTimeShiftPresetV3 struct {
}
type CreateTimeShiftPresetV3Body ¶
type CreateTimeShiftPresetV3Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 最大时移时长,即观看时移的最长时间,单位为 s。支持的取值如下所示。
// * 86400
// * 259200
// * 604800
// * 1296000
MaxShiftTime int32 `json:"MaxShiftTime"`
// REQUIRED; 时移拉流域名
PullDomain string `json:"PullDomain"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 开启时移的流名称,同一个 App 最多可指定 20 路。
Stream *string `json:"Stream,omitempty"`
// 时移类型。支持的取值如下所示。
// * 0:录制时移,即时移复用录制模板;
// * 1:独立时移,即时移不复用录制模板。
TimeShiftType *int32 `json:"TimeShiftType,omitempty"`
}
type CreateTimeShiftPresetV3Query ¶
type CreateTimeShiftPresetV3Query struct {
}
type CreateTimeShiftPresetV3Req ¶
type CreateTimeShiftPresetV3Req struct {
*CreateTimeShiftPresetV3Query
*CreateTimeShiftPresetV3Body
}
type CreateTimeShiftPresetV3Res ¶
type CreateTimeShiftPresetV3Res struct {
// REQUIRED
ResponseMetadata CreateTimeShiftPresetV3ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type CreateTimeShiftPresetV3ResResponseMetadata ¶
type CreateTimeShiftPresetV3ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *CreateTimeShiftPresetV3ResResponseMetadataError `json:"Error,omitempty"`
}
type CreateTranscodePreset ¶
type CreateTranscodePreset struct {
}
type CreateTranscodePresetBody ¶
type CreateTranscodePresetBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 转码流后缀名。支持 10 个字符以内的大小写字母、下划线与中划线,常见后缀包括:sd、hd、_uhd 例如,配置的转码流后缀名为 _hd,则拉转码流时转码的流名为 stream-123456789_hd。
SuffixName string `json:"SuffixName"`
// REQUIRED; 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec string `json:"Vcodec"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 音频编码格式。默认格式为 acc,支持以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。默认值为 0。支持的取值包括。
// * 0:关闭宽高自适应,按照 Width 和 Height 的取值进行拉伸;
// * 1:开启宽高自适应,按照 ShortSide 或 LongSide 等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。不同编码格式的取值存在差异。
// * H.264:取值范围为 [0,7],默认值为 3;
// * H.265:取值范围为 [0,1,2,3,7,15],默认值为 3;
// BFrames 取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 视频帧率,单位为 fps,取值范围为 [0,60],默认为 25fps。帧率越大,画面越流畅。
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s,默认值为 0,取值范围为 [0,1000]
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。默认值为 0,取值范围为 [0,8192]。 :::tip
// * 当 As 的取值为 0 时,参数生效;反之则不生效;
// * 当 As 的取值为 0 时,如果 Width 和 Height 任意取值为 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。默认值为 0。
// * Roi 取 false 时,取值范围为 [0,8192];
// * Roi 取 true 时,取值范围为 [0,1920]。 :::tip
// * 当 As 的取值为 1 时,参数生效,反之则不生效。
// * 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 同时取 0,表示保持源流尺寸。
// * 当 As 的取值为 1 时,如果同时配置 LongSide 和 ShortSide 的值,则按照 ShortSide 进行等比缩放。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 是否极智超清转码。默认值为 false。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。默认值为 0。
// * Roi 取 false 时,取值范围为 [0,4096];
// * Roi 取 true 时,取值范围为 [0,1080]。 :::tip
// * 当 As 的取值为 1 时,参数生效,反之则不生效。
// * 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 同时取 0,表示保持源流尺寸。
// * 当 As 的取值为 1 时,如果同时配置 LongSide 和 ShortSide 的值,则按照 ShortSide 进行等比缩放。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 视频码率,单位为 bps,取值范围为 [0,30000000];默认值为 1000000;取 0 时,表示使用源流码率。
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。默认值为 0,取值范围为 [0,8192]。 :::tip
// * 当 As 的取值为 0 时,参数生效;反之则不生效;
// * 当 As 的取值为 0 时,如果 Width 和 Height 任意取值为 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
type CreateTranscodePresetQuery ¶
type CreateTranscodePresetQuery struct {
}
type CreateTranscodePresetReq ¶
type CreateTranscodePresetReq struct {
*CreateTranscodePresetQuery
*CreateTranscodePresetBody
}
type CreateTranscodePresetRes ¶
type CreateTranscodePresetRes struct {
// REQUIRED
ResponseMetadata CreateTranscodePresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type CreateTranscodePresetResResponseMetadata ¶
type CreateTranscodePresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreateTranscodePresetResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type CreateVerifyContent ¶
type CreateVerifyContent struct {
}
type CreateVerifyContentBody ¶
type CreateVerifyContentBody struct {
// REQUIRED; 推拉流域名
Domain string `json:"Domain"`
}
type CreateVerifyContentQuery ¶
type CreateVerifyContentQuery struct {
}
type CreateVerifyContentReq ¶
type CreateVerifyContentReq struct {
*CreateVerifyContentQuery
*CreateVerifyContentBody
}
type CreateVerifyContentRes ¶
type CreateVerifyContentRes struct {
// REQUIRED
ResponseMetadata CreateVerifyContentResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result *CreateVerifyContentResResult `json:"Result,omitempty"`
}
type CreateVerifyContentResResponseMetadata ¶
type CreateVerifyContentResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type CreateVerifyContentResResult ¶
type CreateVerifyContentResResult struct {
// 校验内容记录值
Content *string `json:"Content,omitempty"`
// 主机记录
SubDomain *string `json:"SubDomain,omitempty"`
}
CreateVerifyContentResResult - 视请求的接口而定
type CreateWatermarkPreset ¶
type CreateWatermarkPreset struct {
}
type CreateWatermarkPresetBody ¶
type CreateWatermarkPresetBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 需要添加水印的直播画面方向,支持 2 种取值。
// * vertical:竖屏;
// * horizontal:横屏。
Orientation string `json:"Orientation"`
// REQUIRED; 水印图片字符串,图片最大 2MB,最小 100Bytes,最大分辨率为 1080×1080。图片 Data URL 格式为:data:[<mediatype>];[base64],<data>。
// * mediatype:图片类型,支持 png、jpg、jpeg 格式;
// * data:base64 编码的图片字符串。
// 例如,data:image/png;base64,iVBORw0KGg****mCC
Picture string `json:"Picture"`
// REQUIRED; 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1]。
PosX float32 `json:"PosX"`
// REQUIRED; 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1]。
PosY float32 `json:"PosY"`
// REQUIRED; 水印相对宽度,水印宽度占直播转码流画面宽度的比例,取值范围为 [0,1],水印高度会随宽度等比缩放。
RelativeWidth float32 `json:"RelativeWidth"`
// REQUIRED; 域名空间名称。由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost string `json:"Vhost"`
}
type CreateWatermarkPresetQuery ¶
type CreateWatermarkPresetQuery struct {
}
type CreateWatermarkPresetReq ¶
type CreateWatermarkPresetReq struct {
*CreateWatermarkPresetQuery
*CreateWatermarkPresetBody
}
type CreateWatermarkPresetRes ¶
type CreateWatermarkPresetRes struct {
// REQUIRED
ResponseMetadata CreateWatermarkPresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type CreateWatermarkPresetResResponseMetadata ¶
type CreateWatermarkPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *CreateWatermarkPresetResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteCallback ¶
type DeleteCallback struct {
}
type DeleteCallbackBody ¶
type DeleteCallbackBody struct {
// 应用名称。缺省情况下表示删除 Vhost 下的所有回调配置。如果入参选择 Domain,则不可同时传 App。
App *string `json:"App,omitempty"`
// 推流域名。如创建回调 UpdateCallback [https://www.volcengine.com/docs/6469/78553] 时传了参数 Domain,删除时需要传 Domain。
Domain *string `json:"Domain,omitempty"`
// 消息类型。缺省情况下表示删除所有消息类型。包括以下类型。
// * push:推流开始回调;
// * push_end:推流结束回调;
// * snapshot:截图回调;
// * record:录制回调;
// * audit_snapshot:截图审核回调。
MessageType *string `json:"MessageType,omitempty"`
// 域名空间名称。如创建回调 UpdateCallback [https://www.volcengine.com/docs/6469/78553] 时传了参数 Vhost,删除时需要传 Vhost。
Vhost *string `json:"Vhost,omitempty"`
}
type DeleteCallbackQuery ¶
type DeleteCallbackQuery struct {
}
type DeleteCallbackReq ¶
type DeleteCallbackReq struct {
*DeleteCallbackQuery
*DeleteCallbackBody
}
type DeleteCallbackRes ¶
type DeleteCallbackRes struct {
// REQUIRED
ResponseMetadata DeleteCallbackResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type DeleteCallbackResResponseMetadata ¶
type DeleteCallbackResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteCallbackResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteCert ¶
type DeleteCert struct {
}
type DeleteCertBody ¶
type DeleteCertBody struct {
// REQUIRED; 待删除的证书链 ID。
ChainID string `json:"ChainID"`
}
type DeleteCertQuery ¶
type DeleteCertQuery struct {
}
type DeleteCertReq ¶
type DeleteCertReq struct {
*DeleteCertQuery
*DeleteCertBody
}
type DeleteCertRes ¶
type DeleteCertRes struct {
// REQUIRED
ResponseMetadata DeleteCertResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type DeleteCertResResponseMetadata ¶
type DeleteCertResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteCertResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteDomain ¶
type DeleteDomain struct {
}
type DeleteDomainBody ¶
type DeleteDomainBody struct {
// REQUIRED; 待删除域名。
Domain string `json:"Domain"`
}
type DeleteDomainQuery ¶
type DeleteDomainQuery struct {
}
type DeleteDomainReq ¶
type DeleteDomainReq struct {
*DeleteDomainQuery
*DeleteDomainBody
}
type DeleteDomainRes ¶
type DeleteDomainRes struct {
// REQUIRED
ResponseMetadata DeleteDomainResResponseMetadata `json:"ResponseMetadata"`
}
type DeleteDomainResResponseMetadata ¶
type DeleteDomainResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteDomainResResponseMetadataError `json:"Error,omitempty"`
}
type DeletePullToPushTask ¶
type DeletePullToPushTask struct {
}
type DeletePullToPushTaskBody ¶
type DeletePullToPushTaskBody struct {
// REQUIRED; 任务 ID,任务的唯一标识。
TaskID string `json:"TaskId"`
}
type DeletePullToPushTaskQuery ¶
type DeletePullToPushTaskQuery struct {
}
type DeletePullToPushTaskReq ¶
type DeletePullToPushTaskReq struct {
*DeletePullToPushTaskQuery
*DeletePullToPushTaskBody
}
type DeletePullToPushTaskRes ¶
type DeletePullToPushTaskRes struct {
// REQUIRED
ResponseMetadata DeletePullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
}
type DeletePullToPushTaskResResponseMetadata ¶
type DeletePullToPushTaskResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeletePullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteRecordPreset ¶
type DeleteRecordPreset struct {
}
type DeleteRecordPresetBody ¶
type DeleteRecordPresetBody struct {
// REQUIRED; 模版名称。可调用 ListVhostRecordPresetV2 [https://www.volcengine.com/docs/6469/1126858] 接口,查询模版名称。
Preset string `json:"Preset"`
// 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty"`
// 域名空间名称。
Vhost *string `json:"Vhost,omitempty"`
}
type DeleteRecordPresetQuery ¶
type DeleteRecordPresetQuery struct {
}
type DeleteRecordPresetReq ¶
type DeleteRecordPresetReq struct {
*DeleteRecordPresetQuery
*DeleteRecordPresetBody
}
type DeleteRecordPresetRes ¶
type DeleteRecordPresetRes struct {
// REQUIRED
ResponseMetadata DeleteRecordPresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type DeleteRecordPresetResResponseMetadata ¶
type DeleteRecordPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteRecordPresetResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteReferer ¶
type DeleteReferer struct {
}
type DeleteRefererBody ¶
type DeleteRefererQuery ¶
type DeleteRefererQuery struct {
}
type DeleteRefererReq ¶
type DeleteRefererReq struct {
*DeleteRefererQuery
*DeleteRefererBody
}
type DeleteRefererRes ¶
type DeleteRefererRes struct {
// REQUIRED
ResponseMetadata DeleteRefererResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type DeleteRefererResResponseMetadata ¶
type DeleteRefererResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteRefererResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteRelaySourceV3 ¶
type DeleteRelaySourceV3 struct {
}
type DeleteRelaySourceV3Body ¶
type DeleteRelaySourceV3Query ¶
type DeleteRelaySourceV3Query struct {
}
type DeleteRelaySourceV3Req ¶
type DeleteRelaySourceV3Req struct {
*DeleteRelaySourceV3Query
*DeleteRelaySourceV3Body
}
type DeleteRelaySourceV3Res ¶
type DeleteRelaySourceV3Res struct {
// REQUIRED
ResponseMetadata DeleteRelaySourceV3ResResponseMetadata `json:"ResponseMetadata"`
}
type DeleteRelaySourceV3ResResponseMetadata ¶
type DeleteRelaySourceV3ResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteRelaySourceV3ResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteRelaySourceV4 ¶
type DeleteRelaySourceV4 struct {
}
type DeleteRelaySourceV4Body ¶
type DeleteRelaySourceV4Query ¶
type DeleteRelaySourceV4Query struct {
}
type DeleteRelaySourceV4Req ¶
type DeleteRelaySourceV4Req struct {
*DeleteRelaySourceV4Query
*DeleteRelaySourceV4Body
}
type DeleteRelaySourceV4Res ¶
type DeleteRelaySourceV4Res struct {
// REQUIRED
ResponseMetadata DeleteRelaySourceV4ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type DeleteRelaySourceV4ResResponseMetadata ¶
type DeleteRelaySourceV4ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteRelaySourceV4ResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteSnapshotAuditPreset ¶
type DeleteSnapshotAuditPreset struct {
}
type DeleteSnapshotAuditPresetQuery ¶
type DeleteSnapshotAuditPresetQuery struct {
}
type DeleteSnapshotAuditPresetReq ¶
type DeleteSnapshotAuditPresetReq struct {
*DeleteSnapshotAuditPresetQuery
*DeleteSnapshotAuditPresetBody
}
type DeleteSnapshotAuditPresetRes ¶
type DeleteSnapshotAuditPresetRes struct {
// REQUIRED
ResponseMetadata DeleteSnapshotAuditPresetResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type DeleteSnapshotAuditPresetResResponseMetadata ¶
type DeleteSnapshotAuditPresetResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteSnapshotAuditPresetResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteSnapshotPreset ¶
type DeleteSnapshotPreset struct {
}
type DeleteSnapshotPresetQuery ¶
type DeleteSnapshotPresetQuery struct {
}
type DeleteSnapshotPresetReq ¶
type DeleteSnapshotPresetReq struct {
*DeleteSnapshotPresetQuery
*DeleteSnapshotPresetBody
}
type DeleteSnapshotPresetRes ¶
type DeleteSnapshotPresetRes struct {
// REQUIRED
ResponseMetadata DeleteSnapshotPresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type DeleteSnapshotPresetResResponseMetadata ¶
type DeleteSnapshotPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteSnapshotPresetResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteStreamQuotaConfig ¶
type DeleteStreamQuotaConfig struct {
}
type DeleteStreamQuotaConfigBody ¶
type DeleteStreamQuotaConfigBody struct {
// REQUIRED; 待删除限额配置的推流域名或拉流域名。
Domain string `json:"Domain"`
}
type DeleteStreamQuotaConfigQuery ¶
type DeleteStreamQuotaConfigQuery struct {
}
type DeleteStreamQuotaConfigReq ¶
type DeleteStreamQuotaConfigReq struct {
*DeleteStreamQuotaConfigQuery
*DeleteStreamQuotaConfigBody
}
type DeleteStreamQuotaConfigRes ¶
type DeleteStreamQuotaConfigRes struct {
// REQUIRED
ResponseMetadata DeleteStreamQuotaConfigResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type DeleteStreamQuotaConfigResResponseMetadata ¶
type DeleteStreamQuotaConfigResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteStreamQuotaConfigResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteTimeShiftPresetV3 ¶
type DeleteTimeShiftPresetV3 struct {
}
type DeleteTimeShiftPresetV3Query ¶
type DeleteTimeShiftPresetV3Query struct {
}
type DeleteTimeShiftPresetV3Req ¶
type DeleteTimeShiftPresetV3Req struct {
*DeleteTimeShiftPresetV3Query
*DeleteTimeShiftPresetV3Body
}
type DeleteTimeShiftPresetV3Res ¶
type DeleteTimeShiftPresetV3Res struct {
// REQUIRED
ResponseMetadata DeleteTimeShiftPresetV3ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type DeleteTimeShiftPresetV3ResResponseMetadata ¶
type DeleteTimeShiftPresetV3ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DeleteTimeShiftPresetV3ResResponseMetadataError `json:"Error,omitempty"`
}
type DeleteTranscodePreset ¶
type DeleteTranscodePreset struct {
}
type DeleteTranscodePresetQuery ¶
type DeleteTranscodePresetQuery struct {
}
type DeleteTranscodePresetReq ¶
type DeleteTranscodePresetReq struct {
*DeleteTranscodePresetQuery
*DeleteTranscodePresetBody
}
type DeleteTranscodePresetRes ¶
type DeleteTranscodePresetRes struct {
// REQUIRED
ResponseMetadata DeleteTranscodePresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type DeleteTranscodePresetResResponseMetadata ¶
type DeleteTranscodePresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteTranscodePresetResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type DeleteWatermarkPreset ¶
type DeleteWatermarkPreset struct {
}
type DeleteWatermarkPresetQuery ¶
type DeleteWatermarkPresetQuery struct {
}
type DeleteWatermarkPresetReq ¶
type DeleteWatermarkPresetReq struct {
*DeleteWatermarkPresetQuery
*DeleteWatermarkPresetBody
}
type DeleteWatermarkPresetRes ¶
type DeleteWatermarkPresetRes struct {
// REQUIRED
ResponseMetadata DeleteWatermarkPresetResResponseMetadata `json:"ResponseMetadata"`
}
type DeleteWatermarkPresetResResponseMetadata ¶
type DeleteWatermarkPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DeleteWatermarkPresetResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeAuth ¶
type DescribeAuth struct {
}
type DescribeAuthBody ¶
type DescribeAuthBody struct {
// REQUIRED; 鉴权场景类型。
// * push:推流鉴权;
// * pull:拉流鉴权;
SceneType string `json:"SceneType"`
// 应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty"`
// 推/拉流域名。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type DescribeAuthQuery ¶
type DescribeAuthQuery struct {
}
type DescribeAuthReq ¶
type DescribeAuthReq struct {
*DescribeAuthQuery
*DescribeAuthBody
}
type DescribeAuthRes ¶
type DescribeAuthRes struct {
// REQUIRED
ResponseMetadata DescribeAuthResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeAuthResResult `json:"Result,omitempty"`
}
type DescribeAuthResResponseMetadata ¶
type DescribeAuthResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeAuthResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeAuthResResult ¶
type DescribeAuthResResult struct {
// 推/拉流鉴权列表。
AuthList []*DescribeAuthResResultAuthListItem `json:"AuthList,omitempty"`
}
type DescribeAuthResResultAuthListItem ¶
type DescribeAuthResResultAuthListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 鉴权状态。
// * false:关闭推拉流鉴权;
// * true:开启推拉流鉴权。
AuthStatus bool `json:"AuthStatus"`
// REQUIRED; 推/拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 鉴权场景类型。
// * push:推流鉴权;
// * pull:拉流鉴权。
SceneType string `json:"SceneType"`
// REQUIRED; 有效时长,单位为 s。
ValidDuration int32 `json:"ValidDuration"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 鉴权详情。
AuthDetailList []*DescribeAuthResResultAuthListPropertiesItemsItem `json:"AuthDetailList,omitempty"`
}
type DescribeAuthResResultAuthListPropertiesItemsItem ¶
type DescribeAuthResResultAuthListPropertiesItemsItem struct {
// 自定义推拉流地址中,鉴权参数volcSecret和volcTime的名称。
AuthField map[string]*string `json:"AuthField,omitempty"`
// 加密字段。
EncryptField []*string `json:"EncryptField,omitempty"`
// 对称加密算法。
EncryptionAlgorithm *string `json:"EncryptionAlgorithm,omitempty"`
// 自定义鉴权密钥。
SecretKey *string `json:"SecretKey,omitempty"`
}
DescribeAuthResResultAuthListPropertiesItemsItem - 鉴权详情。
type DescribeCDNSnapshotHistory ¶
type DescribeCDNSnapshotHistory struct {
}
type DescribeCDNSnapshotHistoryBody ¶
type DescribeCDNSnapshotHistoryBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 查询时间范围的开始时间。
DateFrom string `json:"DateFrom"`
// REQUIRED; 查询时间范围的结束时间。
DateTo string `json:"DateTo"`
// REQUIRED; 流名称,由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost string `json:"Vhost"`
// 分页查询页码。
PageNum *int32 `json:"PageNum,omitempty"`
// 单个分页中,查询的结果数量。
PageSize *int32 `json:"PageSize,omitempty"`
// 截图文件保存位置。默认取值为 tos。
// * tos
// * imageX
Type *string `json:"Type,omitempty"`
}
type DescribeCDNSnapshotHistoryQuery ¶
type DescribeCDNSnapshotHistoryQuery struct {
}
type DescribeCDNSnapshotHistoryReq ¶
type DescribeCDNSnapshotHistoryReq struct {
*DescribeCDNSnapshotHistoryQuery
*DescribeCDNSnapshotHistoryBody
}
type DescribeCDNSnapshotHistoryRes ¶
type DescribeCDNSnapshotHistoryRes struct {
// REQUIRED
ResponseMetadata DescribeCDNSnapshotHistoryResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeCDNSnapshotHistoryResResult `json:"Result,omitempty"`
}
type DescribeCDNSnapshotHistoryResResponseMetadata ¶
type DescribeCDNSnapshotHistoryResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeCDNSnapshotHistoryResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeCDNSnapshotHistoryResResult ¶
type DescribeCDNSnapshotHistoryResResult struct {
// REQUIRED; 分页信息。
Pagination DescribeCDNSnapshotHistoryResResultPagination `json:"Pagination"`
// 截图历史列表记录。
StreamInfoList []*DescribeCDNSnapshotHistoryResResultStreamInfoListItem `json:"StreamInfoList,omitempty"`
}
type DescribeCDNSnapshotHistoryResResultPagination ¶
type DescribeCDNSnapshotHistoryResResultPagination struct {
// REQUIRED; 当前页。
PageCur int32 `json:"PageCur"`
// REQUIRED; 当前页的大小。
PageSize int32 `json:"PageSize"`
// REQUIRED; 当前页的数据量。
PageTotal int32 `json:"PageTotal"`
// REQUIRED; 数据总量。
TotalCount int32 `json:"TotalCount"`
}
DescribeCDNSnapshotHistoryResResultPagination - 分页信息。
type DescribeCDNSnapshotHistoryResResultStreamInfoListItem ¶
type DescribeCDNSnapshotHistoryResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 文件大小。
FileSize float32 `json:"FileSize"`
// REQUIRED; 视频高度。
Height int32 `json:"Height"`
// REQUIRED; 截图文件保存的路径。
Path string `json:"Path"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 截图时间戳。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// REQUIRED; 视频宽度。
Width int32 `json:"Width"`
}
type DescribeCallback ¶
type DescribeCallback struct {
}
type DescribeCallbackBody ¶
type DescribeCallbackBody struct {
// domain, app二选一必传
App *string `json:"App,omitempty"`
// domain, app二选一必传
Domain *string `json:"Domain,omitempty"`
// 消息类型,缺省情况下表示查询全部。包括以下类型。
// * push:推流开始回调;
// * push_end:推流结束回调;
// * snapshot:截图回调;
// * record:录制回调;
// * audit_snapshot:截图审核回调。
MessageType *string `json:"MessageType,omitempty"`
// 域名空间名称,Vhost和Domain传且仅传一个。
Vhost *string `json:"Vhost,omitempty"`
}
type DescribeCallbackQuery ¶
type DescribeCallbackQuery struct {
}
type DescribeCallbackReq ¶
type DescribeCallbackReq struct {
*DescribeCallbackQuery
*DescribeCallbackBody
}
type DescribeCallbackRes ¶
type DescribeCallbackRes struct {
// REQUIRED
ResponseMetadata DescribeCallbackResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeCallbackResResult `json:"Result,omitempty"`
}
type DescribeCallbackResResponseMetadata ¶
type DescribeCallbackResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeCallbackResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeCallbackResResult ¶
type DescribeCallbackResResult struct {
// 回调列表。
CallbackList []*DescribeCallbackResResultCallbackListItem `json:"CallbackList,omitempty"`
}
type DescribeCallbackResResultCallbackListItem ¶
type DescribeCallbackResResultCallbackListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 开启鉴权。
AuthEnable bool `json:"AuthEnable"`
// REQUIRED; 密钥。
AuthKeyPrimary string `json:"AuthKeyPrimary"`
// REQUIRED; 创建时间。
CreateTime string `json:"CreateTime"`
// REQUIRED; 消息类型。包括以下类型。
// * push:推流开始回调;
// * push_end:推流结束回调;
// * snapshot:截图回调;
// * record:录制回调;
// * audit_snapshot:截图审核回调。
MessageType string `json:"MessageType"`
// REQUIRED; 是否开启转码流回调,默认为 0。取值及含义如下所示。
// * 0:false,不开启;
// * 1:true,开启。
TranscodeCallback int32 `json:"TranscodeCallback"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 回调数据列表。
CallbackDetailList []*DescribeCallbackResResultCallbackListPropertiesItemsItem `json:"CallbackDetailList,omitempty"`
}
type DescribeCertDetailSecretV2 ¶
type DescribeCertDetailSecretV2 struct {
}
type DescribeCertDetailSecretV2Body ¶
type DescribeCertDetailSecretV2Body struct {
// 证书实例 ID,可以通过查询证书列表 [https://www.volcengine.com/docs/6469/81242]接口获取。 :::tip 参数ChainID与CertID传且仅传一个。 :::
CertID *string `json:"CertID,omitempty"`
// 证书链 ID,可以通过查询证书列表 [https://www.volcengine.com/docs/6469/81242]接口获取。 :::tip 参数ChainID与CertID传且仅传一个。 :::
ChainID *string `json:"ChainID,omitempty"`
}
type DescribeCertDetailSecretV2Query ¶
type DescribeCertDetailSecretV2Query struct {
}
type DescribeCertDetailSecretV2Req ¶
type DescribeCertDetailSecretV2Req struct {
*DescribeCertDetailSecretV2Query
*DescribeCertDetailSecretV2Body
}
type DescribeCertDetailSecretV2Res ¶
type DescribeCertDetailSecretV2Res struct {
// REQUIRED
ResponseMetadata DescribeCertDetailSecretV2ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result *DescribeCertDetailSecretV2ResResult `json:"Result,omitempty"`
}
type DescribeCertDetailSecretV2ResResponseMetadata ¶
type DescribeCertDetailSecretV2ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DescribeCertDetailSecretV2ResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeCertDetailSecretV2ResResult ¶
type DescribeCertDetailSecretV2ResResult struct {
// REQUIRED; 与证书绑定的域名列表。
CertDomainList []string `json:"CertDomainList"`
// REQUIRED; 证书名称。
CertName string `json:"CertName"`
// REQUIRED; 证书链ID。
ChainID string `json:"ChainID"`
// REQUIRED; 证书的过期时间,RFC3339 格式的 UTC 时间,精度为 s。
NotAfter string `json:"NotAfter"`
// REQUIRED; 证书的生效日期,RFC3339 格式的 UTC 时间,精度为 s。
NotBefore string `json:"NotBefore"`
// REQUIRED; 证书状态,取值与含义的对应关系如下所示。
// * OK:正常;
// * Expire:过期;
// * 30days:有效期剩余 30 天;
// * 15days:有效期剩余 15 天;
// * 7days:有效期剩余 7 天;
// * 1days:有效期剩余 1 天。
Status string `json:"Status"`
// 证书详细信息。
SSL *DescribeCertDetailSecretV2ResResultSSL `json:"SSL,omitempty"`
}
DescribeCertDetailSecretV2ResResult - 视请求的接口而定
type DescribeCertDetailSecretV2ResResultSSL ¶
type DescribeCertDetailSecretV2ResResultSSL struct {
// REQUIRED; 证书链,包括叶子证书(服务器证书)、中间证书(中间 CA 证书)以及根证书(根 CA 证书)。证书链中的证书使用 PEM 编码格式。
Chain []string `json:"Chain"`
// REQUIRED; 密钥类型,默认为rsa。
KeyType string `json:"KeyType"`
}
DescribeCertDetailSecretV2ResResultSSL - 证书详细信息。
type DescribeClosedStreamInfoByPage ¶
type DescribeClosedStreamInfoByPage struct {
}
type DescribeClosedStreamInfoByPageBody ¶
type DescribeClosedStreamInfoByPageBody struct {
}
type DescribeClosedStreamInfoByPageQuery ¶
type DescribeClosedStreamInfoByPageQuery struct {
// REQUIRED; 查询的起始时间,以 RFC3339 格式表示的 UTC 时间戳,精度为 s。筛选结束推流时间符合查询条件的历史流。
EndTimeFrom string `json:"EndTimeFrom" query:"EndTimeFrom"`
// REQUIRED; 查询的结束时间,以 RFC3339 格式表示的 UTC 时间戳,精度为 s。筛选结束推流时间符合查询条件的历史流。
EndTimeTo string `json:"EndTimeTo" query:"EndTimeTo"`
// REQUIRED; 当前页码,取值范围 ≥1。
PageNum int32 `json:"PageNum" query:"PageNum"`
// REQUIRED; 分页大小,取值范围为 [1,1000]。
PageSize int32 `json:"PageSize" query:"PageSize"`
// 应用名称,默认查询所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty" query:"App"`
// 推流域名(含删除域名)。 :::tip
// * 如果同时传入 Domain 和对应的 Vhost,会返回 Domain 下的历史流列表;
// * 如果 Domain 和 Vhost 同时缺省,会返回当前 AccountID 下的历史流列表。 :::
Domain *string `json:"Domain,omitempty" query:"Domain"`
// 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
// * asc:按从小到大升序排列;
// * desc:按从大到小降序排列。
Sort *string `json:"Sort,omitempty" query:"Sort"`
// 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
// * push:直推流;
// * relay:回源流。
SourceType *string `json:"SourceType,omitempty" query:"SourceType"`
// 流名称,默认查询所有流名称,由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定Stream,必须同时指定App的值。
Stream *string `json:"Stream,omitempty" query:"Stream"`
// 视频直播服务的配置空间。 :::tip
// * 如果同时传入 Domain 和对应的 Vhost,会返回 Domain 下的历史流列表;
// * 如果 Domain 和 Vhost 同时缺省,会返回当前 AccountID 下的历史流列表。 :::
Vhost *string `json:"Vhost,omitempty" query:"Vhost"`
}
type DescribeClosedStreamInfoByPageReq ¶
type DescribeClosedStreamInfoByPageReq struct {
*DescribeClosedStreamInfoByPageQuery
*DescribeClosedStreamInfoByPageBody
}
type DescribeClosedStreamInfoByPageRes ¶
type DescribeClosedStreamInfoByPageRes struct {
// REQUIRED
ResponseMetadata DescribeClosedStreamInfoByPageResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeClosedStreamInfoByPageResResult `json:"Result,omitempty"`
}
type DescribeClosedStreamInfoByPageResResponseMetadata ¶
type DescribeClosedStreamInfoByPageResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeClosedStreamInfoByPageResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeClosedStreamInfoByPageResResult ¶
type DescribeClosedStreamInfoByPageResResult struct {
// REQUIRED; 流数量。
RoughCount int32 `json:"RoughCount"`
// 流信息列表。
StreamInfoList []*DescribeClosedStreamInfoByPageResResultStreamInfoListItem `json:"StreamInfoList,omitempty"`
}
type DescribeClosedStreamInfoByPageResResultStreamInfoListItem ¶
type DescribeClosedStreamInfoByPageResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 直播流结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
// * push:直推流;
// * relay:回源流。
SourceType string `json:"SourceType"`
// REQUIRED; 直播流开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; Vhost 表示视频直播服务的配置空间。
Vhost string `json:"Vhost"`
}
type DescribeDenyConfig ¶
type DescribeDenyConfig struct {
}
type DescribeDenyConfigBody ¶
type DescribeDenyConfigQuery ¶
type DescribeDenyConfigQuery struct {
}
type DescribeDenyConfigReq ¶
type DescribeDenyConfigReq struct {
*DescribeDenyConfigQuery
*DescribeDenyConfigBody
}
type DescribeDenyConfigRes ¶
type DescribeDenyConfigRes struct {
// REQUIRED
ResponseMetadata DescribeDenyConfigResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeDenyConfigResResult `json:"Result,omitempty"`
}
type DescribeDenyConfigResResponseMetadata ¶
type DescribeDenyConfigResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeDenyConfigResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeDenyConfigResResult ¶
type DescribeDenyConfigResResult struct {
// 配置列表。
DenyList []*DescribeDenyConfigResResultDenyListItem `json:"DenyList,omitempty"`
}
type DescribeDenyConfigResResultDenyListItem ¶
type DescribeDenyConfigResResultDenyListItem struct {
// 配置详情列表。
DenyConfig []*DescribeDenyConfigResResultDenyListPropertiesItemsItem `json:"DenyConfig,omitempty"`
// 推拉流域名。
Domain *string `json:"Domain,omitempty"`
// 域名空间名称。
Vhost *string `json:"Vhost,omitempty"`
}
type DescribeDomain ¶
type DescribeDomain struct {
}
type DescribeDomainBody ¶
type DescribeDomainBody struct {
// REQUIRED; 域名列表。
DomainList []string `json:"DomainList"`
}
type DescribeDomainQuery ¶
type DescribeDomainQuery struct {
}
type DescribeDomainReq ¶
type DescribeDomainReq struct {
*DescribeDomainQuery
*DescribeDomainBody
}
type DescribeDomainRes ¶
type DescribeDomainRes struct {
// REQUIRED
ResponseMetadata DescribeDomainResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeDomainResResult `json:"Result,omitempty"`
}
type DescribeDomainResResponseMetadata ¶
type DescribeDomainResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeDomainResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeDomainResResult ¶
type DescribeDomainResResult struct {
// 域名详细信息列表。
DomainList []*DescribeDomainResResultDomainListItem `json:"DomainList,omitempty"`
}
type DescribeDomainResResultDomainListItem ¶
type DescribeDomainResResultDomainListItem struct {
// REQUIRED; C 信息。
CName string `json:"CName"`
// REQUIRED; 所绑定证书支持的泛域名。
CertDomain string `json:"CertDomain"`
// REQUIRED; 绑定的证书信息。
ChainID string `json:"ChainID"`
// REQUIRED; CNAME 状态。
// * 0:未配置 CNAME;
// * 1:已配置 CNAME。
CnameCheck int32 `json:"CnameCheck"`
// REQUIRED; 创建时间。
CreateTime string `json:"CreateTime"`
// REQUIRED; 推/拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 域名是否可用的状态。
// * 0:正常,域名为可用状态;
// * 1:配置中,域名为可用状态;
// * 2:不可用,域名为其他的不可用状态。
DomainCheck int32 `json:"DomainCheck"`
// REQUIRED; IPC 备案校验是否通过,是否过期信息。
ICPCheck int32 `json:"ICPCheck"`
// REQUIRED; 绑定的推流域名。
PushDomain string `json:"PushDomain"`
// REQUIRED; 区域,包含 4 种类型。
// * cn:中国大陆;
// * cn-global:全球;
// * cn-oversea:海外及港澳台。
Region string `json:"Region"`
// REQUIRED; 域名状态。状态说明如下所示。
// * 0:正常;
// * 1:审核中;
// * 2:禁用,禁止使用,此时 domain 不生效;
// * 3:删除;
// * 4:审核被驳回。审核不通过,需要重新创建并审核;
// * 5:欠费关停。
Status int32 `json:"Status"`
// REQUIRED; 域名类型,包含两种类型。
// * push:推流域名;
// * pull-flv:拉流域名,包含 RTMP、FLV、HLS 格式。
Type string `json:"Type"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeForbiddenStreamInfoByPage ¶
type DescribeForbiddenStreamInfoByPage struct {
}
type DescribeForbiddenStreamInfoByPageBody ¶
type DescribeForbiddenStreamInfoByPageBody struct {
}
type DescribeForbiddenStreamInfoByPageQuery ¶
type DescribeForbiddenStreamInfoByPageQuery struct {
// REQUIRED; 当前页码,取值范围 ≥1。
PageNum int32 `json:"PageNum" query:"PageNum"`
// REQUIRED; 分页大小,取值范围为 [1,1000]。
PageSize int32 `json:"PageSize" query:"PageSize"`
// 应用名称,默认查询所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty" query:"App"`
// 排列方式,根据推流结束时间排序。支持两种形式。缺省情况下为 desc。
// * asc:按从小到大升序排列;
// * desc:按从大到小降序排列。
Sort *string `json:"Sort,omitempty" query:"Sort"`
// 流名称,默认查询所有流名称,由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值。
Stream *string `json:"Stream,omitempty" query:"Stream"`
// 域名空间名称,由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost *string `json:"Vhost,omitempty" query:"Vhost"`
}
type DescribeForbiddenStreamInfoByPageReq ¶
type DescribeForbiddenStreamInfoByPageReq struct {
*DescribeForbiddenStreamInfoByPageQuery
*DescribeForbiddenStreamInfoByPageBody
}
type DescribeForbiddenStreamInfoByPageRes ¶
type DescribeForbiddenStreamInfoByPageRes struct {
// REQUIRED
ResponseMetadata DescribeForbiddenStreamInfoByPageResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeForbiddenStreamInfoByPageResResult `json:"Result,omitempty"`
}
type DescribeForbiddenStreamInfoByPageResResponseMetadata ¶
type DescribeForbiddenStreamInfoByPageResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeForbiddenStreamInfoByPageResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeForbiddenStreamInfoByPageResResult ¶
type DescribeForbiddenStreamInfoByPageResResult struct {
// REQUIRED; 流数量。
RoughCount int32 `json:"RoughCount"`
// 禁推流的信息列表。
StreamInfoList []*DescribeForbiddenStreamInfoByPageResResultStreamInfoListItem `json:"StreamInfoList,omitempty"`
}
type DescribeForbiddenStreamInfoByPageResResultStreamInfoListItem ¶
type DescribeForbiddenStreamInfoByPageResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 直播流开始时间。
CreateTime string `json:"CreateTime"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 直播流结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 是否禁用。true:禁用;false:启用。
Status bool `json:"Status"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeIPInfo ¶
type DescribeIPInfo struct {
}
type DescribeIPInfoBody ¶
type DescribeIPInfoBody struct {
}
type DescribeIPInfoQuery ¶
type DescribeIPInfoQuery struct {
}
type DescribeIPInfoReq ¶
type DescribeIPInfoReq struct {
*DescribeIPInfoQuery
*DescribeIPInfoBody
}
type DescribeIPInfoRes ¶
type DescribeIPInfoRes struct {
}
type DescribeLiveAuditData ¶
type DescribeLiveAuditData struct {
}
type DescribeLiveAuditDataBody ¶
type DescribeLiveAuditDataBody struct {
// REQUIRED; 查询的结束时间。RFC3339 格式的 UTC 时间,精度为 s。
// 支持查询 366 天以内的数据。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,支持天粒度,默认为 86400。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 用于指定数据拆分的维度。缺省情况下,表示只显示截图总张数,不做数据拆维展示。支持的取值为 Domain,表示按域名拆分数据。
// 例如,"DetailField":["Domain"],则返回 DomainList 中每个域名的截图张数。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
}
type DescribeLiveAuditDataQuery ¶
type DescribeLiveAuditDataQuery struct {
}
type DescribeLiveAuditDataReq ¶
type DescribeLiveAuditDataReq struct {
*DescribeLiveAuditDataQuery
*DescribeLiveAuditDataBody
}
type DescribeLiveAuditDataRes ¶
type DescribeLiveAuditDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveAuditDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveAuditDataResResult `json:"Result,omitempty"`
}
type DescribeLiveAuditDataResResponseMetadata ¶
type DescribeLiveAuditDataResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DescribeLiveAuditDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveAuditDataResResult ¶
type DescribeLiveAuditDataResResult struct {
// REQUIRED; 时间粒度,单位为 s。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 审核截图数据。
AuditDataList []DescribeLiveAuditDataResResultAuditDataListItem `json:"AuditDataList"`
// REQUIRED; 按维度拆分后的详细数据。
AuditDetailDataList []DescribeLiveAuditDataResResultAuditDetailDataListItem `json:"AuditDetailDataList"`
// REQUIRED; 数据拆分的维度。取值为 Domain 时,表示按域名拆分数据。
DetailField []string `json:"DetailField"`
// REQUIRED; 域名列表。
DomainList []string `json:"DomainList"`
// REQUIRED; 查询的结束时间。RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 所选域名的已经审核的截图总张数。
TotalCount int32 `json:"TotalCount"`
}
type DescribeLiveAuditDataResResultAuditDetailDataListItem ¶
type DescribeLiveAuditDataResResultAuditDetailDataListItem struct {
// REQUIRED; 审核数据。
AuditDataList []DescribeLiveAuditDataResResultAuditDetailDataListPropertiesItemsItem `json:"AuditDataList"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 审核总张数。
TotalCount int32 `json:"TotalCount"`
}
type DescribeLiveBandwidthData ¶
type DescribeLiveBandwidthData struct {
}
type DescribeLiveBandwidthDataBody ¶
type DescribeLiveBandwidthDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天;
// * 86400:支持单次查询时间跨度为 366 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取值为 "Domain","ISP","Protocol",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商,缺省情况下表示所有运营商。支持的运营商如下所示。
// * telecom:中国电信;
// * unicom:中国联通;
// * mobile:中国移动;
// * btvn:广电网;
// * huashu:华数;
// * drpeng:鹏博士。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议,缺省情况下表示所有协议类型。支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。
RegionList []*DescribeLiveBandwidthDataBodyRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLiveBandwidthDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveBandwidthDataBodyRegionListItem ¶
type DescribeLiveBandwidthDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查���区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveBandwidthDataBodyUserRegionListItem ¶
type DescribeLiveBandwidthDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveBandwidthDataQuery ¶
type DescribeLiveBandwidthDataQuery struct {
}
type DescribeLiveBandwidthDataReq ¶
type DescribeLiveBandwidthDataReq struct {
*DescribeLiveBandwidthDataQuery
*DescribeLiveBandwidthDataBody
}
type DescribeLiveBandwidthDataRes ¶
type DescribeLiveBandwidthDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveBandwidthDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveBandwidthDataResResult `json:"Result"`
}
type DescribeLiveBandwidthDataResResult ¶
type DescribeLiveBandwidthDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 所有时间粒度数据。
BandwidthDataList []DescribeLiveBandwidthDataResResultBandwidthDataListItem `json:"BandwidthDataList"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 下行峰值,单位为 Mbps。
PeakDownBandwidth float32 `json:"PeakDownBandwidth"`
// REQUIRED; 上行峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// 按维度拆分的数据。 :::tip 请求时,DomainList、ProtocolList和ISPList至少有一个参数传入了多个值时,会返回该参数;否则不返回该参数。 :::
BandwidthDetailDataList []*DescribeLiveBandwidthDataResResultBandwidthDetailDataListItem `json:"BandwidthDetailDataList,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,代表所查询的域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域。
RegionList []*DescribeLiveBandwidthDataResResultRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域。
UserRegionList []*DescribeLiveBandwidthDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveBandwidthDataResResultBandwidthDetailDataListItem ¶
type DescribeLiveBandwidthDataResResultBandwidthDetailDataListItem struct {
// REQUIRED; 带宽用量数据。
BandwidthDataList []DescribeLiveBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem `json:"BandwidthDataList"`
// REQUIRED; 下行峰值,单位为 Mbps。
PeakDownBandwidth float32 `json:"PeakDownBandwidth"`
// REQUIRED; 上行峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 推拉流协议。
Protocol *string `json:"Protocol,omitempty"`
}
type DescribeLiveBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem ¶
type DescribeLiveBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem struct {
// REQUIRED; 下行带宽,单位为 Mbps
DownBandwidth float32 `json:"DownBandwidth"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s,例如,2022-04-13T00:00:00+08:00
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 上行带宽,单位为 Mbps
UpBandwidth float32 `json:"UpBandwidth"`
}
type DescribeLiveBatchPushStreamMetrics ¶
type DescribeLiveBatchPushStreamMetrics struct {
}
type DescribeLiveBatchPushStreamMetricsBody ¶
type DescribeLiveBatchPushStreamMetricsBody struct {
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。结束时间需晚于 StartTime,且与 StartTime 间隔不超过 24h,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。支持最近 31d 内的任意时间点,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s。支持的取值为 5、30 和 60,默认值为 60。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 流名称。 :::tip 如果传了 Stream,需要同时传入 App。 :::
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveBatchPushStreamMetricsQuery ¶
type DescribeLiveBatchPushStreamMetricsQuery struct {
}
type DescribeLiveBatchPushStreamMetricsReq ¶
type DescribeLiveBatchPushStreamMetricsReq struct {
*DescribeLiveBatchPushStreamMetricsQuery
*DescribeLiveBatchPushStreamMetricsBody
}
type DescribeLiveBatchPushStreamMetricsRes ¶
type DescribeLiveBatchPushStreamMetricsRes struct {
// REQUIRED
ResponseMetadata DescribeLiveBatchPushStreamMetricsResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveBatchPushStreamMetricsResResult `json:"Result"`
}
type DescribeLiveBatchPushStreamMetricsResResult ¶
type DescribeLiveBatchPushStreamMetricsResResult struct {
// REQUIRED; 聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
StreamMetricList []DescribeLiveBatchPushStreamMetricsResResultStreamMetricListItem `json:"StreamMetricList"`
// 应用名称。
App *string `json:"App,omitempty"`
// 推流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListItem ¶
type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
MetricList []DescribeLiveBatchPushStreamMetricsResResultStreamMetricListPropertiesItemsItem `json:"MetricList"`
// REQUIRED; 推流名称。
Stream string `json:"Stream"`
}
type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListPropertiesItemsItem ¶
type DescribeLiveBatchPushStreamMetricsResResultStreamMetricListPropertiesItemsItem struct {
// REQUIRED; 音频码率,单位为 kbps。
AudioBitrate float32 `json:"AudioBitrate"`
// REQUIRED; 音频帧间隔,单位为 ms。
AudioFrameGap int32 `json:"AudioFrameGap"`
// REQUIRED; 音频帧率,单位为 fps。
AudioFramerate float32 `json:"AudioFramerate"`
// REQUIRED; 音频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
AudioPts int32 `json:"AudioPts"`
// REQUIRED; 视频码率,单位为 kbps。
Bitrate float32 `json:"Bitrate"`
// REQUIRED; 视频帧率,单位为 fps。
Framerate float32 `json:"Framerate"`
// REQUIRED; 音视频时间戳差值,即 AudioPts 与 VideoPts 之间的差值,单位为 ms。
PtsDelta int32 `json:"PtsDelta"`
// REQUIRED; 时间戳。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 视频帧间隔,单位为 ms。
VideoFrameGap int32 `json:"VideoFrameGap"`
// REQUIRED; 视频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
VideoPts int32 `json:"VideoPts"`
}
type DescribeLiveBatchSourceStreamMetrics ¶
type DescribeLiveBatchSourceStreamMetrics struct {
}
type DescribeLiveBatchSourceStreamMetricsBody ¶
type DescribeLiveBatchSourceStreamMetricsBody struct {
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。结束时间需晚于 StartTime,且与 StartTime 间隔不超过 24h,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。支持最近 31d 内的任意时间点,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位 s。支持的取值均为 30 和 60,默认值为 60。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveBatchSourceStreamMetricsQuery ¶
type DescribeLiveBatchSourceStreamMetricsQuery struct {
}
type DescribeLiveBatchSourceStreamMetricsReq ¶
type DescribeLiveBatchSourceStreamMetricsReq struct {
*DescribeLiveBatchSourceStreamMetricsQuery
*DescribeLiveBatchSourceStreamMetricsBody
}
type DescribeLiveBatchSourceStreamMetricsRes ¶
type DescribeLiveBatchSourceStreamMetricsRes struct {
// REQUIRED
ResponseMetadata DescribeLiveBatchSourceStreamMetricsResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveBatchSourceStreamMetricsResResult `json:"Result"`
}
type DescribeLiveBatchSourceStreamMetricsResResult ¶
type DescribeLiveBatchSourceStreamMetricsResResult struct {
// REQUIRED; 聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间
EndTime string `json:"EndTime"`
// REQUIRED; 查询的开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
StreamMetricList []DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListItem `json:"StreamMetricList"`
// 应用名称。
App *string `json:"App,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListItem ¶
type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
MetricList []DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListPropertiesItemsItem `json:"MetricList"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
}
type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListPropertiesItemsItem ¶
type DescribeLiveBatchSourceStreamMetricsResResultStreamMetricListPropertiesItemsItem struct {
// REQUIRED; 音频码率,单位为 kbps。
AudioBitrate float32 `json:"AudioBitrate"`
// REQUIRED; 音频帧间隔,单位为 ms。
AudioFrameGap int32 `json:"AudioFrameGap"`
// REQUIRED; 音频帧率,单位为 fps。
AudioFramerate float32 `json:"AudioFramerate"`
// REQUIRED; 音频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
AudioPts int32 `json:"AudioPts"`
// REQUIRED; 视频码率,单位为 kbps。
Bitrate float32 `json:"Bitrate"`
// REQUIRED; 视频帧率,单位为 fps。
Framerate float32 `json:"Framerate"`
// REQUIRED; 音视频时间戳差值,即 AudioPts 与 VideoPts 之间的差值,单位为 ms。
PtsDelta int32 `json:"PtsDelta"`
// REQUIRED; 时间戳。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 视频帧间隔,单位为 ms。
VideoFrameGap int32 `json:"VideoFrameGap"`
// REQUIRED; 视频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
VideoPts int32 `json:"VideoPts"`
}
type DescribeLiveBatchStreamTrafficData ¶
type DescribeLiveBatchStreamTrafficData struct {
}
type DescribeLiveBatchStreamTrafficDataBody ¶
type DescribeLiveBatchStreamTrafficDataBody struct {
// REQUIRED; 查询的结束时间,支持查询最近 93 天内的数据。RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,支持查询最近 93 天内的数据。RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 域名列表。缺省情况下,表示当前账号下的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 分页查询页码,默认值为 1,即查询第一页的信息。
PageNum *int32 `json:"PageNum,omitempty"`
// 单个分页中,查询的流数量。默认值为 1000,取值范围为 [100,1000]。
PageSize *int32 `json:"PageSize,omitempty"`
// 推拉流协议。支持查询的协议包括:
// * RTMP
// * RTM
// * HTTP-FLV
// * HTTP-HLS
// * SRT
// * QUIC :::warning
// * 缺省情况下,查询的总流量数据为实际产生的上下行流量。
// * 如果传入协议进行查询,并对各协议的流量求和,结果将大于实际总流量。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
}
type DescribeLiveBatchStreamTrafficDataQuery ¶
type DescribeLiveBatchStreamTrafficDataQuery struct {
}
type DescribeLiveBatchStreamTrafficDataReq ¶
type DescribeLiveBatchStreamTrafficDataReq struct {
*DescribeLiveBatchStreamTrafficDataQuery
*DescribeLiveBatchStreamTrafficDataBody
}
type DescribeLiveBatchStreamTrafficDataRes ¶
type DescribeLiveBatchStreamTrafficDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveBatchStreamTrafficDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveBatchStreamTrafficDataResResult `json:"Result"`
}
type DescribeLiveBatchStreamTrafficDataResResponseMetadata ¶
type DescribeLiveBatchStreamTrafficDataResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type DescribeLiveBatchStreamTrafficDataResResult ¶
type DescribeLiveBatchStreamTrafficDataResResult struct {
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 分页信息。
Pagination DescribeLiveBatchStreamTrafficDataResResultPagination `json:"Pagination"`
// REQUIRED; 查询的起始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流维度的用量信息详情。
StreamInfoList []DescribeLiveBatchStreamTrafficDataResResultStreamInfoListItem `json:"StreamInfoList"`
// REQUIRED; 查询结果中,所有流的下行总流量,单位为 GB。
TotalDownTraffic float32 `json:"TotalDownTraffic"`
// REQUIRED; 查询结果中,所有流的上行总流量,单位为 GB。
TotalUpTraffic float32 `json:"TotalUpTraffic"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
}
type DescribeLiveBatchStreamTrafficDataResResultPagination ¶
type DescribeLiveBatchStreamTrafficDataResResultPagination struct {
// REQUIRED; 页数。
PageNum int32 `json:"PageNum"`
// REQUIRED; 当前页的大小。
PageSize int32 `json:"PageSize"`
// REQUIRED; 总流数。
TotalCount int32 `json:"TotalCount"`
}
DescribeLiveBatchStreamTrafficDataResResultPagination - 分页信息。
type DescribeLiveBatchStreamTrafficDataResResultStreamInfoListItem ¶
type DescribeLiveBatchStreamTrafficDataResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 当前流的下行流量,单位为 GB。
DownTraffic float32 `json:"DownTraffic"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 当前流的上行流量,单位为 GB。
UpTraffic float32 `json:"UpTraffic"`
}
type DescribeLiveBatchStreamTranscodeData ¶
type DescribeLiveBatchStreamTranscodeData struct {
}
type DescribeLiveBatchStreamTranscodeDataBody ¶
type DescribeLiveBatchStreamTranscodeDataBody struct {
// REQUIRED; 结束时间,支持查询最近 93 天内的数据。RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 开始时间,支持查询最近 93 天内的数据。RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 域名列表。缺省情况下,表示当前账号下的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 分页查询页码,默认值为 1,即查询第一页的信息。
PageNum *int32 `json:"PageNum,omitempty"`
// 单个分页中,查询的流数量。默认值为 1000,取值范围为 [100,1000]。
PageSize *int32 `json:"PageSize,omitempty"`
}
type DescribeLiveBatchStreamTranscodeDataQuery ¶
type DescribeLiveBatchStreamTranscodeDataQuery struct {
}
type DescribeLiveBatchStreamTranscodeDataReq ¶
type DescribeLiveBatchStreamTranscodeDataReq struct {
*DescribeLiveBatchStreamTranscodeDataQuery
*DescribeLiveBatchStreamTranscodeDataBody
}
type DescribeLiveBatchStreamTranscodeDataRes ¶
type DescribeLiveBatchStreamTranscodeDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveBatchStreamTranscodeDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveBatchStreamTranscodeDataResResult `json:"Result"`
}
type DescribeLiveBatchStreamTranscodeDataResResult ¶
type DescribeLiveBatchStreamTranscodeDataResResult struct {
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 分页信息。
Pagination DescribeLiveBatchStreamTranscodeDataResResultPagination `json:"Pagination"`
// REQUIRED; 查询的起始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流维度的转码用量信息详情。
StreamInfoList []DescribeLiveBatchStreamTranscodeDataResResultStreamInfoListItem `json:"StreamInfoList"`
// REQUIRED; 查询结果中,所有流的转码总时长,单位为分钟。
TotalDuration float32 `json:"TotalDuration"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
}
type DescribeLiveBatchStreamTranscodeDataResResultPagination ¶
type DescribeLiveBatchStreamTranscodeDataResResultPagination struct {
// REQUIRED; 页数。
PageNum int32 `json:"PageNum"`
// REQUIRED; 当前页的大小。
PageSize int32 `json:"PageSize"`
// REQUIRED; 总流数。
TotalCount int32 `json:"TotalCount"`
}
DescribeLiveBatchStreamTranscodeDataResResultPagination - 分页信息。
type DescribeLiveBatchStreamTranscodeDataResResultStreamInfoListItem ¶
type DescribeLiveBatchStreamTranscodeDataResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 码率。
Coderate int32 `json:"Coderate"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 当前流的转码总时长,单位为分钟。
Duration float32 `json:"Duration"`
// REQUIRED; 当前流的分辨率,支持的取值如下所示。
// * 480P:640 × 480;
// * 720P:1280 × 720;
// * 1080P:1936 × 1088;
// * 2K:2560 × 1440;
// * 4K:4096 × 2160;
// * 0P:纯音频流。
Resolution string `json:"Resolution"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 视频编码格式,支持的取值和含义如下所示。
// * Normal_H264:H.264 标准转码;
// * Normal_H265:H.265 标准转码;
// * ByteHD_H264:H.264 极智超清;
// * ByteHD_H265:H.265 极智超清;
// * Audio:纯音频流。
VCodec string `json:"VCodec"`
}
type DescribeLiveISPData ¶
type DescribeLiveISPData struct {
}
type DescribeLiveISPDataBody ¶
type DescribeLiveISPDataBody struct {
}
type DescribeLiveISPDataQuery ¶
type DescribeLiveISPDataQuery struct {
}
type DescribeLiveISPDataReq ¶
type DescribeLiveISPDataReq struct {
*DescribeLiveISPDataQuery
*DescribeLiveISPDataBody
}
type DescribeLiveISPDataRes ¶
type DescribeLiveISPDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveISPDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveISPDataResResult `json:"Result"`
}
type DescribeLiveISPDataResResult ¶
type DescribeLiveISPDataResResult struct {
// REQUIRED; 运营商信息。 视频直播提供的网络运营商标识,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []DescribeLiveISPDataResResultISPListItem `json:"ISPList"`
}
type DescribeLiveMetricBandwidthData ¶
type DescribeLiveMetricBandwidthData struct {
}
type DescribeLiveMetricBandwidthDataBody ¶
type DescribeLiveMetricBandwidthDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 查询流粒度数据时的应用名参数。
App *string `json:"App,omitempty"`
// 数据拆分的维度,可取值为 "Domain","Protocol","IP","ISP",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 查询单个或多个出口外网 IP 地址数据,第四个地址位需要改为 000。例如,实际 IP 地址为 10.255.159.10,则请求时取 10.255.159.000
IPList []*string `json:"IPList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议,缺省情况下,表示查询所有协议,支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。
RegionList []*DescribeLiveMetricBandwidthDataBodyRegionListItem `json:"RegionList,omitempty"`
// 查询流粒度数据时的流名称参数。
Stream *string `json:"Stream,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLiveMetricBandwidthDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveMetricBandwidthDataBodyRegionListItem ¶
type DescribeLiveMetricBandwidthDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveMetricBandwidthDataBodyUserRegionListItem ¶
type DescribeLiveMetricBandwidthDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveMetricBandwidthDataQuery ¶
type DescribeLiveMetricBandwidthDataQuery struct {
}
type DescribeLiveMetricBandwidthDataReq ¶
type DescribeLiveMetricBandwidthDataReq struct {
*DescribeLiveMetricBandwidthDataQuery
*DescribeLiveMetricBandwidthDataBody
}
type DescribeLiveMetricBandwidthDataRes ¶
type DescribeLiveMetricBandwidthDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveMetricBandwidthDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveMetricBandwidthDataResResult `json:"Result"`
}
type DescribeLiveMetricBandwidthDataResResult ¶
type DescribeLiveMetricBandwidthDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 所有时间粒度数据。
BandwidthDataList []DescribeLiveMetricBandwidthDataResResultBandwidthDataListItem `json:"BandwidthDataList"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 下行峰值,单位为 Mbps。
PeakDownBandwidth float32 `json:"PeakDownBandwidth"`
// REQUIRED; 上行峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分维度字段和时间聚合后的数据 :::tip 请求时,DomainList、ProtocolList、IPList和ISPList至少有一个参数传入了多个值时,会返回该参数;否则不返回该参数。 :::
BandwidthDetailDataList []*DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListItem `json:"BandwidthDetailDataList,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// IP 地址。
IPList []*string `json:"IPList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域。
RegionList []*DescribeLiveMetricBandwidthDataResResultRegionListItem `json:"RegionList,omitempty"`
// 直播流名称。
Stream *string `json:"Stream,omitempty"`
// 客户端 IP 所属区域。
UserRegionList []*DescribeLiveMetricBandwidthDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveMetricBandwidthDataResResultBandwidthDataListItem ¶
type DescribeLiveMetricBandwidthDataResResultBandwidthDataListItem struct {
// REQUIRED; 下行带宽,单位为 Mbps。
DownBandwidth float32 `json:"DownBandwidth"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 上行带宽,单位为 Mbps。
UpBandwidth float32 `json:"UpBandwidth"`
}
type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListItem ¶
type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListItem struct {
// REQUIRED; 时间粒度数据。
BandwidthDataList []DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem `json:"BandwidthDataList"`
// REQUIRED; 下行峰值,单位为 Mbps。
PeakDownBandwidth float32 `json:"PeakDownBandwidth"`
// REQUIRED; 上行峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// IP 地址。
IP *string `json:"IP,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 推拉流协议。
Protocol *string `json:"Protocol,omitempty"`
}
type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem ¶
type DescribeLiveMetricBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem struct {
// REQUIRED; 下行带宽,单位为 Mbps
DownBandwidth float32 `json:"DownBandwidth"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s,例如,2022-04-13T00:00:00+08:00
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 上行带宽,单位为 Mbps
UpBandwidth float32 `json:"UpBandwidth"`
}
type DescribeLiveMetricBandwidthDataResResultRegionListItem ¶
type DescribeLiveMetricBandwidthDataResResultRegionListItem struct {
// 大区,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]。
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveMetricTrafficData ¶
type DescribeLiveMetricTrafficData struct {
}
type DescribeLiveMetricTrafficDataBody ¶
type DescribeLiveMetricTrafficDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 查询流粒度数据时的应用名参数。
App *string `json:"App,omitempty"`
// 数据拆分的维度,支持以下取值。
// * Domain
// * Protocol
// * IP
// * ISP
// 设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 查询单个或多个出口外网 IP 地址数据,第四个地址位需要改为 000。例如,实际 IP 地址为 10.255.159.10,则请求时取 10.255.159.000。
IPList []*string `json:"IPList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议,缺省情况下,表示查询所有协议,支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。
RegionList []*DescribeLiveMetricTrafficDataBodyRegionListItem `json:"RegionList,omitempty"`
// 查询流粒度数据时的流名称参数。
Stream *string `json:"Stream,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLiveMetricTrafficDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveMetricTrafficDataBodyRegionListItem ¶
type DescribeLiveMetricTrafficDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveMetricTrafficDataBodyUserRegionListItem ¶
type DescribeLiveMetricTrafficDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveMetricTrafficDataQuery ¶
type DescribeLiveMetricTrafficDataQuery struct {
}
type DescribeLiveMetricTrafficDataReq ¶
type DescribeLiveMetricTrafficDataReq struct {
*DescribeLiveMetricTrafficDataQuery
*DescribeLiveMetricTrafficDataBody
}
type DescribeLiveMetricTrafficDataRes ¶
type DescribeLiveMetricTrafficDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveMetricTrafficDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveMetricTrafficDataResResult `json:"Result"`
}
type DescribeLiveMetricTrafficDataResResult ¶
type DescribeLiveMetricTrafficDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 下行总流量,单位为 GB。
TotalDownTraffic float32 `json:"TotalDownTraffic"`
// REQUIRED; 上行总流量,单位为 GB。
TotalUpTraffic float32 `json:"TotalUpTraffic"`
// REQUIRED; 所有时间粒度数据。
TrafficDataList []DescribeLiveMetricTrafficDataResResultTrafficDataListItem `json:"TrafficDataList"`
// 应用名称。
App *string `json:"App,omitempty"`
// 是否返回过滤字段和时间聚合后的数据。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// IP 地址。
IPList []*string `json:"IPList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域。
RegionList []*DescribeLiveMetricTrafficDataResResultRegionListItem `json:"RegionList,omitempty"`
// 直播流名称。
Stream *string `json:"Stream,omitempty"`
// 进行维度拆分后的数据。 :::tip 请求时,DomainList、ProtocolList、IPList和ISPList至少有一个参数传入了多个值时,会返回该参数;否则不返回该参数。 :::
TrafficDetailDataList []*DescribeLiveMetricTrafficDataResResultTrafficDetailDataListItem `json:"TrafficDetailDataList,omitempty"`
// 客户端 IP 所属区域。
UserRegionList []*DescribeLiveMetricTrafficDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListItem ¶
type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListItem struct {
// REQUIRED; 下行总流量,单位为 GB。
TotalDownTraffic float32 `json:"TotalDownTraffic"`
// REQUIRED; 上行总流量,单位为 GB。
TotalUpTraffic float32 `json:"TotalUpTraffic"`
// REQUIRED; 所有时间粒度数据。
TrafficDataList []DescribeLiveMetricTrafficDataResResultTrafficDetailDataListPropertiesItemsItem `json:"TrafficDataList"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// IP地址。
IP *string `json:"IP,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 推拉流协议。
Protocol *string `json:"Protocol,omitempty"`
}
type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListPropertiesItemsItem ¶
type DescribeLiveMetricTrafficDataResResultTrafficDetailDataListPropertiesItemsItem struct {
// REQUIRED; 下行流量,单位 GB
DownTraffic float32 `json:"DownTraffic"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s,例如,2022-04-13T00:00:00+08:00
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 上行流量,单位 GB
UpTraffic float32 `json:"UpTraffic"`
}
type DescribeLiveP95PeakBandwidthData ¶
type DescribeLiveP95PeakBandwidthData struct {
}
type DescribeLiveP95PeakBandwidthDataBody ¶
type DescribeLiveP95PeakBandwidthDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s,支持的历史查询时间范围为 93 天。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。支持的历史查询时间范围为 93 天。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,默认值为 300,支持的取值为 300。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 域名列表,缺省情况下表示查询所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 推拉流协议,缺省情况下表示所有协议类型。支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。 :::tip 不支持同时传入RegionList和UserRegionList。 :::
RegionList []*DescribeLiveP95PeakBandwidthDataBodyRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。 :::tip 不支持同时传入RegionList和UserRegionList。 :::
UserRegionList []*DescribeLiveP95PeakBandwidthDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveP95PeakBandwidthDataBodyRegionListItem ¶
type DescribeLiveP95PeakBandwidthDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveP95PeakBandwidthDataBodyUserRegionListItem ¶
type DescribeLiveP95PeakBandwidthDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveP95PeakBandwidthDataQuery ¶
type DescribeLiveP95PeakBandwidthDataQuery struct {
}
type DescribeLiveP95PeakBandwidthDataReq ¶
type DescribeLiveP95PeakBandwidthDataReq struct {
*DescribeLiveP95PeakBandwidthDataQuery
*DescribeLiveP95PeakBandwidthDataBody
}
type DescribeLiveP95PeakBandwidthDataRes ¶
type DescribeLiveP95PeakBandwidthDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveP95PeakBandwidthDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveP95PeakBandwidthDataResResult `json:"Result"`
}
type DescribeLiveP95PeakBandwidthDataResResult ¶
type DescribeLiveP95PeakBandwidthDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 上下行带宽 95 峰值。 :::tip 如果请求时,Regionlist中传入多个 region,则返回这些 region 的上下行带宽 95 峰值总和。 :::
P95PeakBandwidth float32 `json:"P95PeakBandwidth"`
// REQUIRED; 95 带宽峰值对应的时间点。
P95PeakTimestamp string `json:"P95PeakTimestamp"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。
RegionList []*DescribeLiveP95PeakBandwidthDataResResultRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLiveP95PeakBandwidthDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLivePlayStatusCodeData ¶
type DescribeLivePlayStatusCodeData struct {
}
type DescribeLivePlayStatusCodeDataBody ¶
type DescribeLivePlayStatusCodeDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位秒,默认值为 60。支持以下粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取值为 "Domain","ISP",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 拉流域名列表,默认为账号下全部域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// CDN 节点 IP 所属区域的列表,缺省情况下表示所有区域。区域代号和区域的映射关系如下所示。
// * all:全部,独立查询;
// * CN:中国内地;
// * OverSeas:海外所有大区,包含下属所有大区,独立查询;
// * AP1:亚太一区;
// * AP2:亚太二区;
// * AP3:亚太三区;
// * EU:欧洲;
// * MEAA:中东;
// * SA:南美;
// * NA:北美;
// * Other:无法定位的数据,独立查询。
// :::tipRegionList和UserRegionList传且仅传一个 :::
RegionList []*DescribeLivePlayStatusCodeDataBodyRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。区域代号和区域的映射关系如下所示。
// * all:全部,独立查询;
// * CN:中国内地;
// * OverSeas:海外所有大区,包含下属所有大区,独立查询;
// * AP1:亚太一区;
// * AP2:亚太二区;
// * AP3:亚太三区;
// * EU:欧洲;
// * MEAA:中东;
// * SA:南美;
// * NA:北美;
// * Other:无法定位的数据,独立查询。
// :::tipRegionList和UserRegionList传且仅传一个 :::
UserRegionList []*DescribeLivePlayStatusCodeDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLivePlayStatusCodeDataBodyRegionListItem ¶
type DescribeLivePlayStatusCodeDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLivePlayStatusCodeDataBodyUserRegionListItem ¶
type DescribeLivePlayStatusCodeDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLivePlayStatusCodeDataQuery ¶
type DescribeLivePlayStatusCodeDataQuery struct {
}
type DescribeLivePlayStatusCodeDataReq ¶
type DescribeLivePlayStatusCodeDataReq struct {
*DescribeLivePlayStatusCodeDataQuery
*DescribeLivePlayStatusCodeDataBody
}
type DescribeLivePlayStatusCodeDataRes ¶
type DescribeLivePlayStatusCodeDataRes struct {
// REQUIRED
ResponseMetadata DescribeLivePlayStatusCodeDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLivePlayStatusCodeDataResResult `json:"Result"`
}
type DescribeLivePlayStatusCodeDataResResult ¶
type DescribeLivePlayStatusCodeDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 起始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 每个时间点的粒度数据。
StatusDataList []DescribeLivePlayStatusCodeDataResResultStatusDataListItem `json:"StatusDataList"`
// REQUIRED; 所有时间数据总量。
StatusSummaryDataList []DescribeLivePlayStatusCodeDataResResultStatusSummaryDataListItem `json:"StatusSummaryDataList"`
// 是否返回过滤字段和时间聚合后的数据。
DetailField []*string `json:"DetailField,omitempty"`
// 拉流域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// CDN 节点 IP 所属区域。
RegionList []*DescribeLivePlayStatusCodeDataResResultRegionListItem `json:"RegionList,omitempty"`
// 字段和时间聚合后数据。
StatusDetailDataList []*DescribeLivePlayStatusCodeDataResResultStatusDetailDataListItem `json:"StatusDetailDataList,omitempty"`
// 客户端 IP 所属区域。
UserRegionList []*DescribeLivePlayStatusCodeDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLivePlayStatusCodeDataResResultStatusDataListItem ¶
type DescribeLivePlayStatusCodeDataResResultStatusDataListItem struct {
// REQUIRED; 按状态码区分的数据列表。
StatusSummaryDataList []DescribeLivePlayStatusCodeDataResResultStatusDataListPropertiesItemsItem `json:"StatusSummaryDataList"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
}
type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListItem ¶
type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListItem struct {
// 域名。
Domain *string `json:"Domain,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 每个时间点的粒度数据。
StatusDataList []*DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsItem `json:"StatusDataList,omitempty"`
}
type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsItem ¶
type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsItem struct {
// REQUIRED; 按状态码区分的数据列表。
StatusSummaryDataList []DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsStatusSummaryDataListItem `json:"StatusSummaryDataList"`
// REQUIRED; 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
}
type DescribeLivePlayStatusCodeDataResResultStatusDetailDataListPropertiesItemsStatusSummaryDataListItem ¶
type DescribeLivePullToPushBandwidthData ¶
type DescribeLivePullToPushBandwidthData struct {
}
type DescribeLivePullToPushBandwidthDataBody ¶
type DescribeLivePullToPushBandwidthDataBody struct {
// REQUIRED; 查询的结束时间,结束时间需晚于起始时间 StartTime,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,起始时间应早于当前时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,默认值为 300。
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天;
// * 86400:支持单次查询时间跨度为 366 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取值为 "Domain","DstAddrType",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 推流域名列表,缺省情况表示当前账号下的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 推流地址类型,缺省情况下表示查询 Third,支持 2 种取值。
// * Live:非第三方;
// * Third:第三方。
DstAddrTypeList []*string `json:"DstAddrTypeList,omitempty"`
}
type DescribeLivePullToPushBandwidthDataQuery ¶
type DescribeLivePullToPushBandwidthDataQuery struct {
}
type DescribeLivePullToPushBandwidthDataReq ¶
type DescribeLivePullToPushBandwidthDataReq struct {
*DescribeLivePullToPushBandwidthDataQuery
*DescribeLivePullToPushBandwidthDataBody
}
type DescribeLivePullToPushBandwidthDataRes ¶
type DescribeLivePullToPushBandwidthDataRes struct {
// REQUIRED
ResponseMetadata DescribeLivePullToPushBandwidthDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLivePullToPushBandwidthDataResResult `json:"Result,omitempty"`
}
type DescribeLivePullToPushBandwidthDataResResponseMetadata ¶
type DescribeLivePullToPushBandwidthDataResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLivePullToPushBandwidthDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLivePullToPushBandwidthDataResResult ¶
type DescribeLivePullToPushBandwidthDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 所有时间粒度数据。
BandwidthDataList []DescribeLivePullToPushBandwidthDataResResultBandwidthDataListItem `json:"BandwidthDataList"`
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 转推带宽峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// REQUIRED; 查询的起始时间。
StartTime string `json:"StartTime"`
// 过滤字段和时间聚合后的数据。
BandwidthDetailDataList []*DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListItem `json:"BandwidthDetailDataList,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 推流地址类型。
// * Live:非第三方;
// * Third:第三方。
DstAddrTypeList []*string `json:"DstAddrTypeList,omitempty"`
}
type DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListItem ¶
type DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListItem struct {
// REQUIRED; 所有时间粒度数据。
BandwidthDataList []DescribeLivePullToPushBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem `json:"BandwidthDataList"`
// REQUIRED; 转推带宽峰值,单位为 Mbps。
PeakUpBandwidth float32 `json:"PeakUpBandwidth"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// 推流地址类型。
// * Live:非第三方;
// * Third:第三方。
DstAddrType *string `json:"DstAddrType,omitempty"`
}
type DescribeLivePullToPushData ¶
type DescribeLivePullToPushData struct {
}
type DescribeLivePullToPushDataBody ¶
type DescribeLivePullToPushDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 86400。支持如下时间粒度。
// 60:支持单次查询时间跨度为 1 天,历史查询时间范围为 7 天。 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93天。 86400:支持单次查询时间跨度为 93 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度,可取值为 Domain,设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLivePullToPushDataQuery ¶
type DescribeLivePullToPushDataQuery struct {
}
type DescribeLivePullToPushDataReq ¶
type DescribeLivePullToPushDataReq struct {
*DescribeLivePullToPushDataQuery
*DescribeLivePullToPushDataBody
}
type DescribeLivePullToPushDataRes ¶
type DescribeLivePullToPushDataRes struct {
// REQUIRED
ResponseMetadata DescribeLivePullToPushDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLivePullToPushDataResResult `json:"Result,omitempty"`
}
type DescribeLivePullToPushDataResResponseMetadata ¶
type DescribeLivePullToPushDataResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLivePullToPushDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLivePullToPushDataResResult ¶
type DescribeLivePullToPushDataResResult struct {
// REQUIRED; 时间粒度,单位为 s。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 各时间片详细数据。
PullToPushDataList []DescribeLivePullToPushDataResResultPullToPushDataListItem `json:"PullToPushDataList"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 查询范围内拉流转推总时长,单位分钟,保留小数点后 2 位。
TotalDuration float32 `json:"TotalDuration"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 聚合数据。
PullToPushDetailDataList []*DescribeLivePullToPushDataResResultPullToPushDetailDataListItem `json:"PullToPushDetailDataList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLivePullToPushDataResResultPullToPushDetailDataListItem ¶
type DescribeLivePullToPushDataResResultPullToPushDetailDataListItem struct {
// REQUIRED; 各时间片详细数据。
PullToPushDataList []DescribeLivePullToPushDataResResultPullToPushDetailDataListPropertiesItemsItem `json:"PullToPushDataList"`
// REQUIRED; 查询范围内拉流转推总时长,单位分钟,保留小数点后 2 位。
TotalDuration float32 `json:"TotalDuration"`
// 域名。
Domain *string `json:"Domain,omitempty"`
}
type DescribeLivePushStreamCountData ¶
type DescribeLivePushStreamCountData struct {
}
type DescribeLivePushStreamCountDataBody ¶
type DescribeLivePushStreamCountDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的开始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,支持以下取值:
// * 60s:查询支持的时间跨度为 24h、历史查询时间范围为 7d
// * 300s:查询支持的时间跨度为 31d、历史查询时间范围为 93d
// * 3600s:查询支持的时间跨度为 93d、历史查询时间范围为93d
// * 1d:查询支持的时间跨度为 93d、历史查询时间范围为93d,
// 默认 300s。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取元素"Domain",设置为空时不安维度不拆分数据。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLivePushStreamCountDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLivePushStreamCountDataBodyUserRegionListItem ¶
type DescribeLivePushStreamCountDataBodyUserRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLivePushStreamCountDataQuery ¶
type DescribeLivePushStreamCountDataQuery struct {
}
type DescribeLivePushStreamCountDataReq ¶
type DescribeLivePushStreamCountDataReq struct {
*DescribeLivePushStreamCountDataQuery
*DescribeLivePushStreamCountDataBody
}
type DescribeLivePushStreamCountDataRes ¶
type DescribeLivePushStreamCountDataRes struct {
// REQUIRED
ResponseMetadata DescribeLivePushStreamCountDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLivePushStreamCountDataResResult `json:"Result"`
}
type DescribeLivePushStreamCountDataResResult ¶
type DescribeLivePushStreamCountDataResResult struct {
// REQUIRED; 聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 峰值流数量。
PeakCount int32 `json:"PeakCount"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 按指定时间粒度聚合后的峰值流数数据。
TotalStreamDataList []DescribeLivePushStreamCountDataResResultTotalStreamDataListItem `json:"TotalStreamDataList"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 拆分维度字段和时间聚合后数据。
StreamDetailDataList []*DescribeLivePushStreamCountDataResResultStreamDetailDataListItem `json:"StreamDetailDataList,omitempty"`
// 客户端 IP 所属区域列表。
UserRegionList []*DescribeLivePushStreamCountDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLivePushStreamCountDataResResultStreamDetailDataListItem ¶
type DescribeLivePushStreamCountDataResResultStreamDetailDataListItem struct {
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 当前数据拆分维度下所有时间粒度的数据。
TotalStreamDataList []DescribeLivePushStreamCountDataResResultStreamDetailDataListPropertiesItemsItem `json:"TotalStreamDataList"`
}
type DescribeLivePushStreamMetrics ¶
type DescribeLivePushStreamMetrics struct {
}
type DescribeLivePushStreamMetricsBody ¶
type DescribeLivePushStreamMetricsBody struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。结束时间需晚于 StartTime,且与 StartTime 间隔不超过 24h,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。支持最近 31d 内的任意时间点,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 聚合的时间粒度,单位为 s。支持的取值为 5 和 30,默认值为 30。
Aggregation *int32 `json:"Aggregation,omitempty"`
}
type DescribeLivePushStreamMetricsQuery ¶
type DescribeLivePushStreamMetricsQuery struct {
}
type DescribeLivePushStreamMetricsReq ¶
type DescribeLivePushStreamMetricsReq struct {
*DescribeLivePushStreamMetricsQuery
*DescribeLivePushStreamMetricsBody
}
type DescribeLivePushStreamMetricsRes ¶
type DescribeLivePushStreamMetricsRes struct {
// REQUIRED
ResponseMetadata DescribeLivePushStreamMetricsResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLivePushStreamMetricsResResult `json:"Result,omitempty"`
}
type DescribeLivePushStreamMetricsResResponseMetadata ¶
type DescribeLivePushStreamMetricsResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLivePushStreamMetricsResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLivePushStreamMetricsResResult ¶
type DescribeLivePushStreamMetricsResResult struct {
// REQUIRED; 聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
MetricList []DescribeLivePushStreamMetricsResResultMetricListItem `json:"MetricList"`
// REQUIRED; 查询的开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
}
type DescribeLivePushStreamMetricsResResultMetricListItem ¶
type DescribeLivePushStreamMetricsResResultMetricListItem struct {
// REQUIRED; 音频码率,单位为 kbps。
AudioBitrate float32 `json:"AudioBitrate"`
// REQUIRED; 音频帧间隔,单位为 ms。
AudioFrameGap int32 `json:"AudioFrameGap"`
// REQUIRED; 音频帧率,单位为 fps。
AudioFramerate float32 `json:"AudioFramerate"`
// REQUIRED; 音频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
AudioPts int32 `json:"AudioPts"`
// REQUIRED; 视频码率,单位为 kbps。
Bitrate float32 `json:"Bitrate"`
// REQUIRED; 视频帧率,单位为 fps。
Framerate float32 `json:"Framerate"`
// REQUIRED; 音视频时间戳差值,即 AudioPts 与 VideoPts 之间的差值,单位为 ms。
PtsDelta int32 `json:"PtsDelta"`
// REQUIRED; 时间戳。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 视频帧间隔,单位为 ms。
VideoFrameGap int32 `json:"VideoFrameGap"`
// REQUIRED; 视频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
VideoPts int32 `json:"VideoPts"`
}
type DescribeLiveRecordData ¶
type DescribeLiveRecordData struct {
}
type DescribeLiveRecordDataBody ¶
type DescribeLiveRecordDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s。默认值为 300。支持如下时间粒度。
// 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天; 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天; 86400:支持单次查询时间跨度为 93 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度,可取值为 Domain,设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveRecordDataQuery ¶
type DescribeLiveRecordDataQuery struct {
}
type DescribeLiveRecordDataReq ¶
type DescribeLiveRecordDataReq struct {
*DescribeLiveRecordDataQuery
*DescribeLiveRecordDataBody
}
type DescribeLiveRecordDataRes ¶
type DescribeLiveRecordDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveRecordDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveRecordDataResResult `json:"Result,omitempty"`
}
type DescribeLiveRecordDataResResponseMetadata ¶
type DescribeLiveRecordDataResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLiveRecordDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveRecordDataResResult ¶
type DescribeLiveRecordDataResResult struct {
// REQUIRED; 时间粒度,单位为 s。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 录制峰值数据。
RecordDataList []DescribeLiveRecordDataResResultRecordDataListItem `json:"RecordDataList"`
// REQUIRED; 查询时间范围内录制峰值。
RecordPeak int32 `json:"RecordPeak"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 数据拆分后的详细数据。
RecordDetailDataList []*DescribeLiveRecordDataResResultRecordDetailDataListItem `json:"RecordDetailDataList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveRecordDataResResultRecordDetailDataListItem ¶
type DescribeLiveRecordDataResResultRecordDetailDataListItem struct {
// REQUIRED; 录制峰值数据。
RecordDataList []DescribeLiveRecordDataResResultRecordDetailDataListPropertiesItemsItem `json:"RecordDataList"`
// REQUIRED; 查询时间范围内录制峰值。
RecordPeak int32 `json:"RecordPeak"`
// 域名。
Domain *string `json:"Domain,omitempty"`
}
type DescribeLiveRegionData ¶
type DescribeLiveRegionData struct {
}
type DescribeLiveRegionDataBody ¶
type DescribeLiveRegionDataBody struct {
}
type DescribeLiveRegionDataQuery ¶
type DescribeLiveRegionDataQuery struct {
}
type DescribeLiveRegionDataReq ¶
type DescribeLiveRegionDataReq struct {
*DescribeLiveRegionDataQuery
*DescribeLiveRegionDataBody
}
type DescribeLiveRegionDataRes ¶
type DescribeLiveRegionDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveRegionDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveRegionDataResResult `json:"Result"`
}
type DescribeLiveRegionDataResResult ¶
type DescribeLiveRegionDataResResult struct {
// REQUIRED; 大区信息。
Areas []DescribeLiveRegionDataResResultAreasItem `json:"Areas"`
}
type DescribeLiveRegionDataResResultAreasItem ¶
type DescribeLiveRegionDataResResultAreasItem struct {
// REQUIRED; 大区标识符。
Code string `json:"Code"`
// REQUIRED; 国家信息。
Countries []DescribeLiveRegionDataResResultAreasPropertiesItemsItem `json:"Countries"`
// REQUIRED; 大区名称。
Name string `json:"Name"`
}
type DescribeLiveRegionDataResResultAreasPropertiesItemsItem ¶
type DescribeLiveRegionDataResResultAreasPropertiesItemsItem struct {
// REQUIRED; 国家标识符。
Code string `json:"Code"`
// REQUIRED; 国家名称。
Name string `json:"Name"`
// REQUIRED; 省份信息,国外暂不支持该参数。
Provinces []DescribeLiveRegionDataResResultAreasPropertiesItemsProvincesItem `json:"Provinces"`
}
type DescribeLiveSnapshotData ¶
type DescribeLiveSnapshotData struct {
}
type DescribeLiveSnapshotDataBody ¶
type DescribeLiveSnapshotDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,默认值为 86400。支持如下时间粒度。
// 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天; 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天; 86400:支持单次查询时间跨度为 93 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度,可取值为 Domain,设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveSnapshotDataQuery ¶
type DescribeLiveSnapshotDataQuery struct {
}
type DescribeLiveSnapshotDataReq ¶
type DescribeLiveSnapshotDataReq struct {
*DescribeLiveSnapshotDataQuery
*DescribeLiveSnapshotDataBody
}
type DescribeLiveSnapshotDataRes ¶
type DescribeLiveSnapshotDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveSnapshotDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveSnapshotDataResResult `json:"Result,omitempty"`
}
type DescribeLiveSnapshotDataResResponseMetadata ¶
type DescribeLiveSnapshotDataResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLiveSnapshotDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveSnapshotDataResResult ¶
type DescribeLiveSnapshotDataResResult struct {
// REQUIRED; 时间粒度,单位为 s。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 每个聚合时间片的截图张数详情。
SnapshotDataList []DescribeLiveSnapshotDataResResultSnapshotDataListItem `json:"SnapshotDataList"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 所选域名的截图总张数。
Total int32 `json:"Total"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 按维度拆分后的详细数据。
SnapshotDetailData []*DescribeLiveSnapshotDataResResultSnapshotDetailDataItem `json:"SnapshotDetailData,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveSnapshotDataResResultSnapshotDetailDataItem ¶
type DescribeLiveSnapshotDataResResultSnapshotDetailDataItem struct {
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 每个聚合时间片的截图张数详情。
SnapshotDataList []DescribeLiveSnapshotDataResResultSnapshotDetailDataPropertiesItemsItem `json:"SnapshotDataList"`
// REQUIRED; 所选域名的截图总张数。
Total int32 `json:"Total"`
}
type DescribeLiveSourceBandwidthData ¶
type DescribeLiveSourceBandwidthData struct {
}
type DescribeLiveSourceBandwidthDataBody ¶
type DescribeLiveSourceBandwidthDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天。
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 查询流粒度数据时的应用名参数。 使用 App 构造请求时,需要同时定义 Domain 和 Stream 参数,不可缺省。
App *string `json:"App,omitempty"`
// 用于指定数据拆分的维度。缺省情况下,表示只显示总回源带宽峰值,不做数据拆维展示。支持的取值如下所示。
// * Domain:按域名拆分数据;
// * ISP:按运营商拆分数据。
// 例如,"DetailField":["Domain"],则返回 DomainList 中每个域名的回源带宽峰值。
DetailField []*string `json:"DetailField,omitempty"`
// 查询流粒度数据时的域名参数,支持拉流域名。 使用 Domain 构造请求时,需要同时定义 App 和 Stream 参数,不可缺省。
Domain *string `json:"Domain,omitempty"`
// 域名列表。缺省情况表示该用户的所有域名。 :::tipDomainList 和 Domain 传且仅传一个。 :::
DomainList []*string `json:"DomainList,omitempty"`
// 查询单个或多个出口外网 IP 地址数据,第四个地址位需要改为 000。例如,实际 IP 地址为 10.255.159.10,则请求时取 10.255.159.000。
IPList []*string `json:"IPList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 查询流粒度数据时的流名称参数。 使用 Stream 构造请求时,需要同时定义 Domain 和 App 参数,不可缺省。
Stream *string `json:"Stream,omitempty"`
// 区域列表。
UserRegionList []*DescribeLiveSourceBandwidthDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveSourceBandwidthDataBodyUserRegionListItem ¶
type DescribeLiveSourceBandwidthDataBodyUserRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入 Area 和 Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入 Area、Country 和 Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveSourceBandwidthDataQuery ¶
type DescribeLiveSourceBandwidthDataQuery struct {
}
type DescribeLiveSourceBandwidthDataReq ¶
type DescribeLiveSourceBandwidthDataReq struct {
*DescribeLiveSourceBandwidthDataQuery
*DescribeLiveSourceBandwidthDataBody
}
type DescribeLiveSourceBandwidthDataRes ¶
type DescribeLiveSourceBandwidthDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveSourceBandwidthDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveSourceBandwidthDataResResult `json:"Result,omitempty"`
}
type DescribeLiveSourceBandwidthDataResResponseMetadata ¶
type DescribeLiveSourceBandwidthDataResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DescribeLiveSourceBandwidthDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveSourceBandwidthDataResResult ¶
type DescribeLiveSourceBandwidthDataResResult struct {
// REQUIRED; 时间粒度
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 所有时间粒度数据
BandwidthDataList []DescribeLiveSourceBandwidthDataResResultBandwidthDataListItem `json:"BandwidthDataList"`
// REQUIRED; 过滤字段和时间聚合后的数据
BandwidthDetailDataList []DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListItem `json:"BandwidthDetailDataList"`
// REQUIRED; 数据拆分的维度。
DetailField []string `json:"DetailField"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 域名列表。
DomainList []string `json:"DomainList"`
// REQUIRED; 结束时间
EndTime string `json:"EndTime"`
// REQUIRED; IP 地址。
IPList []string `json:"IPList"`
// REQUIRED; 运营商。
ISPList []string `json:"ISPList"`
// REQUIRED; 回源带宽峰值,单位为 Mbps
PeakBandwidth float32 `json:"PeakBandwidth"`
// REQUIRED; 起始时间
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 区域。
UserRegionList []DescribeLiveSourceBandwidthDataResResultUserRegionListItem `json:"UserRegionList"`
}
type DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListItem ¶
type DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListItem struct {
// REQUIRED; 时间粒度数据。
BandwidthDataList []DescribeLiveSourceBandwidthDataResResultBandwidthDetailDataListPropertiesItemsItem `json:"BandwidthDataList"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; IP 地址。
IP string `json:"IP"`
// REQUIRED; 运营商。
ISP string `json:"ISP"`
// REQUIRED; 回源带宽峰值,单位为 Mbps。
PeakBandwidth float32 `json:"PeakBandwidth"`
}
type DescribeLiveSourceStreamMetrics ¶
type DescribeLiveSourceStreamMetrics struct {
}
type DescribeLiveSourceStreamMetricsBody ¶
type DescribeLiveSourceStreamMetricsBody struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。结束时间需晚于 StartTime,且与 StartTime 间隔不超过 24h,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间。支持最近 31d 内的任意时间点,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 聚合的时间粒度,单位秒。默认值和支持的取值均为 30。
Aggregation *int32 `json:"Aggregation,omitempty"`
}
type DescribeLiveSourceStreamMetricsQuery ¶
type DescribeLiveSourceStreamMetricsQuery struct {
}
type DescribeLiveSourceStreamMetricsReq ¶
type DescribeLiveSourceStreamMetricsReq struct {
*DescribeLiveSourceStreamMetricsQuery
*DescribeLiveSourceStreamMetricsBody
}
type DescribeLiveSourceStreamMetricsRes ¶
type DescribeLiveSourceStreamMetricsRes struct {
// REQUIRED
ResponseMetadata DescribeLiveSourceStreamMetricsResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveSourceStreamMetricsResResult `json:"Result"`
}
type DescribeLiveSourceStreamMetricsResResult ¶
type DescribeLiveSourceStreamMetricsResResult struct {
// REQUIRED; 聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 查询的结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 按指定时间粒度聚合的监控数据。
MetricList []DescribeLiveSourceStreamMetricsResResultMetricListItem `json:"MetricList"`
// REQUIRED; 查询的开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
}
type DescribeLiveSourceStreamMetricsResResultMetricListItem ¶
type DescribeLiveSourceStreamMetricsResResultMetricListItem struct {
// REQUIRED; 音频码率,单位为 kbps。
AudioBitrate float32 `json:"AudioBitrate"`
// REQUIRED; 音频帧间隔,单位为 ms。
AudioFrameGap int32 `json:"AudioFrameGap"`
// REQUIRED; 音频帧率,单位为 fps。
AudioFramerate float32 `json:"AudioFramerate"`
// REQUIRED; 音频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
AudioPts int32 `json:"AudioPts"`
// REQUIRED; 视频码率,单位为 kbps。
Bitrate float32 `json:"Bitrate"`
// REQUIRED; 视频帧率,单位为 fps
Framerate float32 `json:"Framerate"`
// REQUIRED; 音视频时间戳差值,即 AudioPts 与 VideoPts 之间的差值,单位为 ms。
PtsDelta int32 `json:"PtsDelta"`
// REQUIRED; 时间戳。RFC3339 格式的 UTC 时间,精度为 s。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 视频帧间隔,单位为 ms。
VideoFrameGap int32 `json:"VideoFrameGap"`
// REQUIRED; 视频显示时间戳 PTS(Presentation Time Stamp),单位为 ms。
VideoPts int32 `json:"VideoPts"`
}
type DescribeLiveSourceTrafficData ¶
type DescribeLiveSourceTrafficData struct {
}
type DescribeLiveSourceTrafficDataBody ¶
type DescribeLiveSourceTrafficDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 查询流粒度数据时的应用名参数。 使用 App 构造请求时,需要同时定义 Domain 和 Stream 参数,不可缺省。
App *string `json:"App,omitempty"`
// 用于指定数据拆分的维度。缺省情况下,表示只显示回源总流量,不做数据拆维展示。支持的取值如下所示。
// * Domain:按域名拆分数据;
// * ISP:按运营商拆分数据;
// * IP:按出口外网 IP 拆分数据。
// 例如,"DetailField":["Domain"],则返回 DomainList 中每个域名的回源流量
DetailField []*string `json:"DetailField,omitempty"`
// 查询流粒度数据时的域名参数,支持拉流域名。 使用 Domain 构造请求时,需要同时定义 App 和 Stream 参数,不可缺省。
Domain *string `json:"Domain,omitempty"`
// 域名列表。缺省情况表示该用户的所有域名。 :::tipDomainList 和 Domain 传且仅传一个。 :::
DomainList []*string `json:"DomainList,omitempty"`
// 查询单个或多个出口外网 IP 地址数据,第四个地址位需要改为 000。例如,实际 IP 地址为 10.255.159.10,则请求时取 10.255.159.000。
IPList []*string `json:"IPList,omitempty"`
// 运营商,缺省情况下,表示查询所有运营商,支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 查询流粒度数据时的流名称参数。 使用 Stream 构造请求时,需要同时定义 Domain 和 App 参数,不可缺省。
Stream *string `json:"Stream,omitempty"`
// 区域列表。
UserRegionList []*DescribeLiveSourceTrafficDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveSourceTrafficDataBodyUserRegionListItem ¶
type DescribeLiveSourceTrafficDataBodyUserRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveSourceTrafficDataQuery ¶
type DescribeLiveSourceTrafficDataQuery struct {
}
type DescribeLiveSourceTrafficDataReq ¶
type DescribeLiveSourceTrafficDataReq struct {
*DescribeLiveSourceTrafficDataQuery
*DescribeLiveSourceTrafficDataBody
}
type DescribeLiveSourceTrafficDataRes ¶
type DescribeLiveSourceTrafficDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveSourceTrafficDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveSourceTrafficDataResResult `json:"Result,omitempty"`
}
type DescribeLiveSourceTrafficDataResResponseMetadata ¶
type DescribeLiveSourceTrafficDataResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DescribeLiveSourceTrafficDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveSourceTrafficDataResResult ¶
type DescribeLiveSourceTrafficDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 数据拆分的维度。
// * Domain:按域名拆分数据;
// * ISP:按运营商拆分数据。
DetailField []string `json:"DetailField"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 域名列表。
DomainList []string `json:"DomainList"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; IP 地址。
IPList []string `json:"IPList"`
// REQUIRED; 运营商。
ISPList []string `json:"ISPList"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 回源总流量,单位为 GB。
TotalTraffic float32 `json:"TotalTraffic"`
// REQUIRED; 所有时间粒度数据。
TrafficDataList []DescribeLiveSourceTrafficDataResResultTrafficDataListItem `json:"TrafficDataList"`
// REQUIRED; 按维度拆分后的详细数据。
TrafficDetailDataList []DescribeLiveSourceTrafficDataResResultTrafficDetailDataListItem `json:"TrafficDetailDataList"`
// REQUIRED; 区域。
UserRegionList []DescribeLiveSourceTrafficDataResResultUserRegionListItem `json:"UserRegionList"`
}
type DescribeLiveSourceTrafficDataResResultTrafficDetailDataListItem ¶
type DescribeLiveSourceTrafficDataResResultTrafficDetailDataListItem struct {
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; IP 地址。
IP string `json:"IP"`
// REQUIRED; 运营商。
ISP string `json:"ISP"`
// REQUIRED; 回源总流量,单位为 GB。
TotalTraffic float32 `json:"TotalTraffic"`
// REQUIRED; 所有时间粒度数据。
TrafficDataList []DescribeLiveSourceTrafficDataResResultTrafficDetailDataListPropertiesItemsItem `json:"TrafficDataList"`
}
type DescribeLiveStreamCountData ¶
type DescribeLiveStreamCountData struct {
}
type DescribeLiveStreamCountDataBody ¶
type DescribeLiveStreamCountDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的开始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,支持以下取值:
// * 60s:查询支持的时间跨度为 24h、历史查询时间范围为 7d
// * 300s:查询支持的时间跨度为 31d、历史查询时间范围为 93d
// * 3600s:查询支持的时间跨度为 93d、历史查询时间范围为93d
// * 1d:查询支持的时间跨度为 93d、历史查询时间范围为93d,
// 默认 300s。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取元素"Domain",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 流类型,默认查全部,支持以下取值:
// * 推流:push
// * 拉流:pull
// * 回源流:relay-source
// * 转码:transcode
StreamType []*string `json:"StreamType,omitempty"`
}
type DescribeLiveStreamCountDataQuery ¶
type DescribeLiveStreamCountDataQuery struct {
}
type DescribeLiveStreamCountDataReq ¶
type DescribeLiveStreamCountDataReq struct {
*DescribeLiveStreamCountDataQuery
*DescribeLiveStreamCountDataBody
}
type DescribeLiveStreamCountDataRes ¶
type DescribeLiveStreamCountDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveStreamCountDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveStreamCountDataResResult `json:"Result"`
}
type DescribeLiveStreamCountDataResResult ¶
type DescribeLiveStreamCountDataResResult struct {
// REQUIRED; 数据聚合的时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 查询结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 峰值流数。
PeakCount int32 `json:"PeakCount"`
// REQUIRED; 查询开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 按指定时间粒度聚合的峰值流数数据。
TotalStreamDataList []DescribeLiveStreamCountDataResResultTotalStreamDataListItem `json:"TotalStreamDataList"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 按指定维度拆分后的峰值流数数据。
StreamDetailDataList []*DescribeLiveStreamCountDataResResultStreamDetailDataListItem `json:"StreamDetailDataList,omitempty"`
// 流类型。
StreamType []*string `json:"StreamType,omitempty"`
}
type DescribeLiveStreamCountDataResResultStreamDetailDataListItem ¶
type DescribeLiveStreamCountDataResResultStreamDetailDataListItem struct {
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 当前数据拆分维维度下的峰值流数数据。
TotalStreamDataList []DescribeLiveStreamCountDataResResultStreamDetailDataListPropertiesItemsItem `json:"TotalStreamDataList"`
}
type DescribeLiveStreamInfoByPage ¶
type DescribeLiveStreamInfoByPage struct {
}
type DescribeLiveStreamInfoByPageBody ¶
type DescribeLiveStreamInfoByPageBody struct {
}
type DescribeLiveStreamInfoByPageQuery ¶
type DescribeLiveStreamInfoByPageQuery struct {
// REQUIRED; 当前页码,取值范围 ≥1。
PageNum int32 `json:"PageNum" query:"PageNum"`
// REQUIRED; 分页大小,取值范围为 [1,1000]。
PageSize int32 `json:"PageSize" query:"PageSize"`
// 应用名称,默认查询所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty" query:"App"`
// 推流域名(含删除域名)。 :::tip
// * 如果同时传入 Domain 和对应的 Vhost,会返回 Domain 下的在线流列表;
// * 如果 Domain 和 Vhost 同时缺省,会返回当前 AccountID 下的在线流列表。 :::
Domain *string `json:"Domain,omitempty" query:"Domain"`
// 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
// * push:直推流;
// * relay:回源流。
SourceType *string `json:"SourceType,omitempty" query:"SourceType"`
// 流名称,缺省情况下,查询所有流名称,由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值。
Stream *string `json:"Stream,omitempty" query:"Stream"`
// 流类型,缺省情况下表示全选。支持如下取值。
// * Origin:原始流;
// * trans:转码流。
StreamType *string `json:"StreamType,omitempty" query:"StreamType"`
// 域名空间名称。 :::tip
// * 如果同时传入 Domain 和对应的 Vhost,会返回 Domain 下的在线流列表;
// * 如果 Domain 和 Vhost 同时缺省,会返回当前 AccountID 下的在线流列表。 :::
Vhost *string `json:"Vhost,omitempty" query:"Vhost"`
}
type DescribeLiveStreamInfoByPageReq ¶
type DescribeLiveStreamInfoByPageReq struct {
*DescribeLiveStreamInfoByPageQuery
*DescribeLiveStreamInfoByPageBody
}
type DescribeLiveStreamInfoByPageRes ¶
type DescribeLiveStreamInfoByPageRes struct {
// REQUIRED
ResponseMetadata DescribeLiveStreamInfoByPageResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveStreamInfoByPageResResult `json:"Result,omitempty"`
}
type DescribeLiveStreamInfoByPageResResponseMetadata ¶
type DescribeLiveStreamInfoByPageResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLiveStreamInfoByPageResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveStreamInfoByPageResResult ¶
type DescribeLiveStreamInfoByPageResResult struct {
// REQUIRED; 当前分页的在线流数量。
RoughCount int32 `json:"RoughCount"`
// 流信息列表。
StreamInfoList []*DescribeLiveStreamInfoByPageResResultStreamInfoListItem `json:"StreamInfoList,omitempty"`
}
type DescribeLiveStreamInfoByPageResResultStreamInfoListItem ¶
type DescribeLiveStreamInfoByPageResResultStreamInfoListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 域名。
Domain string `json:"Domain"`
// REQUIRED; 流 ID。
ID int64 `json:"ID"`
// REQUIRED; 开始推流时间。
SessionStartTime string `json:"SessionStartTime"`
// REQUIRED; 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
// * push:直推流;
// * relay:回源流。
SourceType string `json:"SourceType"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeLiveStreamSessionData ¶
type DescribeLiveStreamSessionData struct {
}
type DescribeLiveStreamSessionDataBody ¶
type DescribeLiveStreamSessionDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合的时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 60:支持单次查询时间跨度为 24 小时,历史查询时间范围为 7 天;
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 查询流粒度数据时的应用名参数。
// 使用App构造请求时,需要同时定义Domain和Stream参数,不可缺省。
App *string `json:"App,omitempty"`
// 数据拆分的维度,可取值为 "Domain","ISP","Protocol","Referer",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 查询流粒度数据时的域名参数,支持推流域名和拉流域名。
// 使用Domain构造请求时,需要同时定义App和Stream参数,不可缺省。
Domain *string `json:"Domain,omitempty"`
// 域名列表。缺省情况表示该用户的所有域名。 :::tipDomainList和Domain传且仅传一个。 :::
DomainList []*string `json:"DomainList,omitempty"`
// 运营商,缺省情况下表示所有运营商。支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议,缺省情况下表示所有协议类型。支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// 请求的 Referer
RefererList []*string `json:"RefererList,omitempty"`
// 区域列表,缺省情况表示所有区域。
RegionList []*DescribeLiveStreamSessionDataBodyRegionListItem `json:"RegionList,omitempty"`
// 查询流粒度数据时的流名称参数。
// 使用Stream构造请求时,需要同时定义Domain和App参数,不可缺省。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveStreamSessionDataBodyRegionListItem ¶
type DescribeLiveStreamSessionDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveStreamSessionDataQuery ¶
type DescribeLiveStreamSessionDataQuery struct {
}
type DescribeLiveStreamSessionDataReq ¶
type DescribeLiveStreamSessionDataReq struct {
*DescribeLiveStreamSessionDataQuery
*DescribeLiveStreamSessionDataBody
}
type DescribeLiveStreamSessionDataRes ¶
type DescribeLiveStreamSessionDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveStreamSessionDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveStreamSessionDataResResult `json:"Result"`
}
type DescribeLiveStreamSessionDataResResult ¶
type DescribeLiveStreamSessionDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 在线人数峰值。
PeakOnlineUser int32 `json:"PeakOnlineUser"`
// REQUIRED; 查询范围内的汇总信息。
SessionDataList []DescribeLiveStreamSessionDataResResultSessionDataListItem `json:"SessionDataList"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 总的请求数。
TotalRequest int32 `json:"TotalRequest"`
// 应用名称。
App *string `json:"App,omitempty"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// 请求的 Referer。
RefererList []*string `json:"RefererList,omitempty"`
// 区域。
RegionList []*DescribeLiveStreamSessionDataResResultRegionListItem `json:"RegionList,omitempty"`
// 按维度拆分后的详细数据。 :::tip 请求时,DomainList、RefererList、ProtocolList和ISPList至少有一个参数传入了多个值时,会返回该参数;否则不返回该参数。 :::
SessionDetailDataList []*DescribeLiveStreamSessionDataResResultSessionDetailDataListItem `json:"SessionDetailDataList,omitempty"`
// 直播流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveStreamSessionDataResResultRegionListItem ¶
type DescribeLiveStreamSessionDataResResultRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveStreamSessionDataResResultSessionDetailDataListItem ¶
type DescribeLiveStreamSessionDataResResultSessionDetailDataListItem struct {
// REQUIRED; 在线人数峰值。
PeakOnlineUser int32 `json:"PeakOnlineUser"`
// REQUIRED; 查询范围内的汇总信息。
SessionDataList []DescribeLiveStreamSessionDataResResultSessionDetailDataListPropertiesItemsItem `json:"SessionDataList"`
// REQUIRED; 总的请求数。
TotalRequest int32 `json:"TotalRequest"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 推拉流协议。
Protocol *string `json:"Protocol,omitempty"`
// 请求的 Referer。
Referer *string `json:"Referer,omitempty"`
}
type DescribeLiveStreamState ¶
type DescribeLiveStreamState struct {
}
type DescribeLiveStreamStateBody ¶
type DescribeLiveStreamStateBody struct {
}
type DescribeLiveStreamStateQuery ¶
type DescribeLiveStreamStateQuery struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App" query:"App"`
// REQUIRED; 流名称。由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值。
Stream string `json:"Stream" query:"Stream"`
// 推流域名。 :::tipVhost 和 Domain 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty" query:"Domain"`
// 域名空间名称 :::tipVhost 和 Domain 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty" query:"Vhost"`
}
type DescribeLiveStreamStateReq ¶
type DescribeLiveStreamStateReq struct {
*DescribeLiveStreamStateQuery
*DescribeLiveStreamStateBody
}
type DescribeLiveStreamStateRes ¶
type DescribeLiveStreamStateRes struct {
// REQUIRED
ResponseMetadata DescribeLiveStreamStateResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveStreamStateResResult `json:"Result,omitempty"`
}
type DescribeLiveStreamStateResResponseMetadata ¶
type DescribeLiveStreamStateResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLiveStreamStateResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveTimeShiftData ¶
type DescribeLiveTimeShiftData struct {
}
type DescribeLiveTimeShiftDataBody ¶
type DescribeLiveTimeShiftDataBody struct {
// REQUIRED; 结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 开始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 聚合时间粒度,单位秒,支持配置为 86400,支持查询最近 366 天内的数据,单次查询时间范围 93 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 域名空间列表,缺省情况表示查询该用户的所有域名空间。
Vhosts []*string `json:"Vhosts,omitempty"`
}
type DescribeLiveTimeShiftDataQuery ¶
type DescribeLiveTimeShiftDataQuery struct {
}
type DescribeLiveTimeShiftDataReq ¶
type DescribeLiveTimeShiftDataReq struct {
*DescribeLiveTimeShiftDataQuery
*DescribeLiveTimeShiftDataBody
}
type DescribeLiveTimeShiftDataRes ¶
type DescribeLiveTimeShiftDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveTimeShiftDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveTimeShiftDataResResult `json:"Result"`
}
type DescribeLiveTimeShiftDataResResult ¶
type DescribeLiveTimeShiftDataResResult struct {
// REQUIRED; 聚合时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 时移存储数据。
TimeShiftDataList []DescribeLiveTimeShiftDataResResultTimeShiftDataListItem `json:"TimeShiftDataList"`
// 域名空间列表。
Vhosts []*string `json:"Vhosts,omitempty"`
}
type DescribeLiveTrafficData ¶
type DescribeLiveTrafficData struct {
}
type DescribeLiveTrafficDataBody ¶
type DescribeLiveTrafficDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,默认值为 300。支持如下时间粒度。
// * 300:支持单次查询时间跨度为 31 天,历史查询时间范围为 93 天;
// * 3600:支持单次查询时间跨度为 93 天,历史查询时间范围为 93 天;
// * 86400:支持单次查询时间跨度为 366 天,历史查询时间范围为 366 天。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 数据拆分的维度,可取值为 "Domain","ISP","Protocol",设置为空时不进行数据拆分。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商,缺省情况下表示所有运营商。支持的运营商如下所示。
// * unicom:联通;
// * railcom:铁通;
// * telecom:电信;
// * mobile:移动;
// * cernet:教育网;
// * tianwei:天威;
// * alibaba:阿里巴巴;
// * tencent:腾讯;
// * drpeng:鹏博士;
// * btvn:广电;
// * huashu:华数;
// * other:其他。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议,缺省情况下表示所有协议类型。支持的协议如下所示。
// * HTTP-FLV
// * HTTP-HLS
// * RTMP
// * RTM
// * SRT
// * QUIC
// :::tip 如果设置推拉流协议为 QUIC,不能同时传其他协议。 :::
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域的列表。缺省情况下表示所有区域。
RegionList []*DescribeLiveTrafficDataBodyRegionListItem `json:"RegionList,omitempty"`
// 客户端 IP 所属区域的列表,缺省情况下表示所有区域。
UserRegionList []*DescribeLiveTrafficDataBodyUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveTrafficDataBodyRegionListItem ¶
type DescribeLiveTrafficDataBodyRegionListItem struct {
// 大区标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。
Area *string `json:"Area,omitempty"`
// 国家标识符,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按国家筛选,需要同时传入Area和Country。
Country *string `json:"Country,omitempty"`
// 省份标识符,国外暂不支持该参数,如何获取请参见查询区域标识符 [https://www.volcengine.com/docs/6469/1133973]。如果按省筛选,需要同时传入Area、Country和Province。
Province *string `json:"Province,omitempty"`
}
type DescribeLiveTrafficDataBodyUserRegionListItem ¶
type DescribeLiveTrafficDataBodyUserRegionListItem struct {
// 大区,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]
Area *string `json:"Area,omitempty"`
// 国家,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]
Country *string `json:"Country,omitempty"`
// 国内为省,国外暂不支持该参数,映射关系请参见区域映射 [https://www.volcengine.com/docs/6469/114196]
Province *string `json:"Province,omitempty"`
}
type DescribeLiveTrafficDataQuery ¶
type DescribeLiveTrafficDataQuery struct {
}
type DescribeLiveTrafficDataReq ¶
type DescribeLiveTrafficDataReq struct {
*DescribeLiveTrafficDataQuery
*DescribeLiveTrafficDataBody
}
type DescribeLiveTrafficDataRes ¶
type DescribeLiveTrafficDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveTrafficDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result DescribeLiveTrafficDataResResult `json:"Result"`
}
type DescribeLiveTrafficDataResResult ¶
type DescribeLiveTrafficDataResResult struct {
// REQUIRED; 时间粒度。
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 结束时间。
EndTime string `json:"EndTime"`
// REQUIRED; 开始时间。
StartTime string `json:"StartTime"`
// REQUIRED; 下行总流量,单位为 GB。
TotalDownTraffic float32 `json:"TotalDownTraffic"`
// REQUIRED; 上行总流量,单位为 GB。
TotalUpTraffic float32 `json:"TotalUpTraffic"`
// REQUIRED; 所有时间粒度数据。
TrafficDataList []DescribeLiveTrafficDataResResultTrafficDataListItem `json:"TrafficDataList"`
// 数据拆分的维度。
DetailField []*string `json:"DetailField,omitempty"`
// 域名列表,代表所查询的域名。
DomainList []*string `json:"DomainList,omitempty"`
// 运营商。
ISPList []*string `json:"ISPList,omitempty"`
// 推拉流协议。
ProtocolList []*string `json:"ProtocolList,omitempty"`
// CDN 节点 IP 所属区域。
RegionList []*DescribeLiveTrafficDataResResultRegionListItem `json:"RegionList,omitempty"`
// 数据拆分后的详细数据。 :::tip 请求时,DomainList、ProtocolList和ISPList至少有一个参数传入了多个值时,会返回该参数;否则不返回该参数。 :::
TrafficDetailDataList []*DescribeLiveTrafficDataResResultTrafficDetailDataListItem `json:"TrafficDetailDataList,omitempty"`
// 客户端 IP 所属区域。
UserRegionList []*DescribeLiveTrafficDataResResultUserRegionListItem `json:"UserRegionList,omitempty"`
}
type DescribeLiveTrafficDataResResultTrafficDetailDataListItem ¶
type DescribeLiveTrafficDataResResultTrafficDetailDataListItem struct {
// REQUIRED; 下行总流量,单位为 GB。
TotalDownTraffic float32 `json:"TotalDownTraffic"`
// REQUIRED; 上行总流量,单位为 GB。
TotalUpTraffic float32 `json:"TotalUpTraffic"`
// REQUIRED; 时间粒度数据。
TrafficDataList []DescribeLiveTrafficDataResResultTrafficDetailDataListPropertiesItemsItem `json:"TrafficDataList"`
// 域名。
Domain *string `json:"Domain,omitempty"`
// 运营商。
ISP *string `json:"ISP,omitempty"`
// 推拉流协议。
Protocol *string `json:"Protocol,omitempty"`
}
type DescribeLiveTrafficDataResResultTrafficDetailDataListPropertiesItemsItem ¶
type DescribeLiveTrafficDataResResultTrafficDetailDataListPropertiesItemsItem struct {
// REQUIRED; 下行流量,单位 GB
DownTraffic float32 `json:"DownTraffic"`
// REQUIRED; 时间片起始时刻。RFC3339 时间,例如,2022-04-13T00:00:00+08:00
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 上行流量,单位 GB
UpTraffic float32 `json:"UpTraffic"`
}
type DescribeLiveTranscodeData ¶
type DescribeLiveTranscodeData struct {
}
type DescribeLiveTranscodeDataBody ¶
type DescribeLiveTranscodeDataBody struct {
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// 时间粒度,单位为 s,当前仅支持天粒度,默认值为 86400。单次查询时间跨度为 93d,历史查询时间范围为 93d。
Aggregation *int32 `json:"Aggregation,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 域名列表,缺省情况表示该用户的所有域名。
DomainList []*string `json:"DomainList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveTranscodeDataQuery ¶
type DescribeLiveTranscodeDataQuery struct {
}
type DescribeLiveTranscodeDataReq ¶
type DescribeLiveTranscodeDataReq struct {
*DescribeLiveTranscodeDataQuery
*DescribeLiveTranscodeDataBody
}
type DescribeLiveTranscodeDataRes ¶
type DescribeLiveTranscodeDataRes struct {
// REQUIRED
ResponseMetadata DescribeLiveTranscodeDataResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeLiveTranscodeDataResResult `json:"Result,omitempty"`
}
type DescribeLiveTranscodeDataResResponseMetadata ¶
type DescribeLiveTranscodeDataResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeLiveTranscodeDataResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeLiveTranscodeDataResResult ¶
type DescribeLiveTranscodeDataResResult struct {
// REQUIRED; 时间粒度,单位为 s
Aggregation int32 `json:"Aggregation"`
// REQUIRED; 转码总时长,单位为分钟。
Duration float32 `json:"Duration"`
// REQUIRED; 查询的结束时间,RFC3339 格式的 UTC 时间,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 查询的起始时间,RFC3339 格式的 UTC 时间,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 聚合转码数据。
TranscodeDataList []DescribeLiveTranscodeDataResResultTranscodeDataListItem `json:"TranscodeDataList"`
// 应用名称。
App *string `json:"App,omitempty"`
// 域名列表。
DomainList []*string `json:"DomainList,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type DescribeLiveTranscodeDataResResultTranscodeDataListItem ¶
type DescribeLiveTranscodeDataResResultTranscodeDataListItem struct {
// REQUIRED; 当前时间片内的转码时长,单位为分钟。
Duration float32 `json:"Duration"`
// REQUIRED; 分辨率。
// * 480P:640 × 480;
// * 720P:1280 × 720;
// * 1080P:1920 × 1088;
// * 2K:2560 × 1440;
// * 4K:4096 × 21600;
// * 0:纯音频流。
Resolution string `json:"Resolution"`
// REQUIRED; 聚合时刻。
TimeStamp string `json:"TimeStamp"`
// REQUIRED; 视频编码格式,支持的取值和含义如下所示。
// * Normal_H264:H.264 标准转码;
// * Normal_H265:H.265 标准转码;
// * ByteHD_H264:H.264 极智超清;
// * ByteHD_H265:H.265 极智超清;
// * Audio:纯音频流。
TranscodeType string `json:"TranscodeType"`
}
type DescribeRecordTaskFileHistory ¶
type DescribeRecordTaskFileHistory struct {
}
type DescribeRecordTaskFileHistoryBody ¶
type DescribeRecordTaskFileHistoryBody struct {
// REQUIRED; 开始推流时间,RFC3339 格式的 UTC 时间,精度为 s。
DateFrom string `json:"DateFrom"`
// REQUIRED; 结束推流时间,结束时间需晚于 DateFrom,且与 DateFrom 间隔不超过 7天,RFC3339 格式的 UTC 时间,精度为 s。
DateTo string `json:"DateTo"`
// REQUIRED; 分页查询页码。
PageNum int32 `json:"PageNum"`
// REQUIRED; 单个分页中,查询的结果数量。
PageSize int32 `json:"PageSize"`
// 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty"`
// 流名称,默认查询所有流名称,由 1 到 100 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值。
Stream *string `json:"Stream,omitempty"`
// 录制文件保存位置。默认取值为 tos。
// * tos
// * vod
Type *string `json:"Type,omitempty"`
// 域名空间名称。由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost *string `json:"Vhost,omitempty"`
}
type DescribeRecordTaskFileHistoryQuery ¶
type DescribeRecordTaskFileHistoryQuery struct {
}
type DescribeRecordTaskFileHistoryReq ¶
type DescribeRecordTaskFileHistoryReq struct {
*DescribeRecordTaskFileHistoryQuery
*DescribeRecordTaskFileHistoryBody
}
type DescribeRecordTaskFileHistoryRes ¶
type DescribeRecordTaskFileHistoryRes struct {
// REQUIRED
ResponseMetadata DescribeRecordTaskFileHistoryResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeRecordTaskFileHistoryResResult `json:"Result,omitempty"`
}
type DescribeRecordTaskFileHistoryResResponseMetadata ¶
type DescribeRecordTaskFileHistoryResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeRecordTaskFileHistoryResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeRecordTaskFileHistoryResResult ¶
type DescribeRecordTaskFileHistoryResResult struct {
// REQUIRED; 录制文件列表。
Data []DescribeRecordTaskFileHistoryResResultDataItem `json:"Data"`
// REQUIRED; 分页信息。
Pagination DescribeRecordTaskFileHistoryResResultPagination `json:"Pagination"`
}
type DescribeRecordTaskFileHistoryResResultDataItem ¶
type DescribeRecordTaskFileHistoryResResultDataItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; ToS 存储空间。
Bucket string `json:"Bucket"`
// REQUIRED; 录制时长。
Duration string `json:"Duration"`
// REQUIRED; 结束推流时间。
EndTime string `json:"EndTime"`
// REQUIRED; 录制文件的文件名。
FileName string `json:"FileName"`
// REQUIRED; 录制文件存储格式。
Format string `json:"Format"`
// REQUIRED; ToS 中的保存路径。
Path string `json:"Path"`
// REQUIRED; 开始推流时间。
StartTime string `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost string `json:"Vhost"`
// REQUIRED; 录制文件保存在 VoD 时,录制视频的 ID。
Vid string `json:"Vid"`
}
type DescribeRecordTaskFileHistoryResResultPagination ¶
type DescribeRecordTaskFileHistoryResResultPagination struct {
// REQUIRED; 当前页。
PageCur int32 `json:"PageCur"`
// REQUIRED; 当前页的大小。
PageSize int32 `json:"PageSize"`
// REQUIRED; 当前页的数据量。
PageTotal int32 `json:"PageTotal"`
// REQUIRED; 数据总量。
TotalCount int32 `json:"TotalCount"`
}
DescribeRecordTaskFileHistoryResResultPagination - 分页信息。
type DescribeReferer ¶
type DescribeReferer struct {
}
type DescribeRefererBody ¶
type DescribeRefererBody struct {
// 应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。 :::tip 参数 Domain 和 App 至少传一个。 :::
App *string `json:"App,omitempty"`
// 拉流域名。 :::tip
// * 参数 Domain 和 Vhost 传且仅传一个。
// * 参数 Domain 和 App 至少传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type DescribeRefererQuery ¶
type DescribeRefererQuery struct {
}
type DescribeRefererReq ¶
type DescribeRefererReq struct {
*DescribeRefererQuery
*DescribeRefererBody
}
type DescribeRefererRes ¶
type DescribeRefererRes struct {
// REQUIRED
ResponseMetadata DescribeRefererResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeRefererResResult `json:"Result,omitempty"`
}
type DescribeRefererResResponseMetadata ¶
type DescribeRefererResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeRefererResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeRefererResResult ¶
type DescribeRefererResResult struct {
// Referer 防盗链信息列表。
RefererList []*DescribeRefererResResultRefererListItem `json:"RefererList,omitempty"`
}
type DescribeRefererResResultRefererListItem ¶
type DescribeRefererResResultRefererListItem struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; Referer 防盗链详情列表。
RefererInfoList []DescribeRefererResResultRefererListPropertiesItemsItem `json:"RefererInfoList"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeRefererResResultRefererListPropertiesItemsItem ¶
type DescribeRefererResResultRefererListPropertiesItemsItem struct {
// REQUIRED; 用于标识 referer 防盗链的关键词,返回值为 referer。
Key string `json:"Key"`
// REQUIRED; 优先级,当前默认返回值为 0。当多域名返回值一致时,按照域名输入顺序区分,越早加入列表的域名优先级越高。
Priority int32 `json:"Priority"`
// REQUIRED; 防盗链类型。
// * deny:黑名单;
// * allow:白名单。
Type string `json:"Type"`
// REQUIRED; 防盗链规则。
Value string `json:"Value"`
}
type DescribeRelaySourceV3 ¶
type DescribeRelaySourceV3 struct {
}
type DescribeRelaySourceV3Query ¶
type DescribeRelaySourceV3Query struct {
}
type DescribeRelaySourceV3Req ¶
type DescribeRelaySourceV3Req struct {
*DescribeRelaySourceV3Query
*DescribeRelaySourceV3Body
}
type DescribeRelaySourceV3Res ¶
type DescribeRelaySourceV3Res struct {
// REQUIRED
ResponseMetadata DescribeRelaySourceV3ResResponseMetadata `json:"ResponseMetadata"`
Result *DescribeRelaySourceV3ResResult `json:"Result,omitempty"`
}
type DescribeRelaySourceV3ResResponseMetadata ¶
type DescribeRelaySourceV3ResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DescribeRelaySourceV3ResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeRelaySourceV3ResResult ¶
type DescribeRelaySourceV3ResResult struct {
// 回源配置列表。
RelaySourceConfigList []*DescribeRelaySourceV3ResResultRelaySourceConfigListItem `json:"RelaySourceConfigList,omitempty"`
}
type DescribeRelaySourceV3ResResultRelaySourceConfigListItem ¶
type DescribeRelaySourceV3ResResultRelaySourceConfigListItem struct {
// REQUIRED; App名称。
App string `json:"App"`
// REQUIRED; 回源组配置详情。
GroupDetails []DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsItem `json:"GroupDetails"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsItem ¶
type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsItem struct {
// REQUIRED; 回源组名称。
Group string `json:"Group"`
// REQUIRED; 回源服务器配置列表。
Servers []DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsServersItem `json:"Servers"`
}
type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsServersItem ¶
type DescribeRelaySourceV3ResResultRelaySourceConfigListPropertiesItemsServersItem struct {
// REQUIRED; 回源地址。
RelaySourceDomain string `json:"RelaySourceDomain"`
// REQUIRED; 自定义回源参数。
RelaySourceParams map[string]string `json:"RelaySourceParams"`
// REQUIRED; 回源协议。
RelaySourceProtocol string `json:"RelaySourceProtocol"`
}
type DescribeStreamQuotaConfig ¶
type DescribeStreamQuotaConfig struct {
}
type DescribeStreamQuotaConfigBody ¶
type DescribeStreamQuotaConfigBody struct {
// REQUIRED; 待查询限额配置的推流域名或拉流域名。
Domain string `json:"Domain"`
}
type DescribeStreamQuotaConfigQuery ¶
type DescribeStreamQuotaConfigQuery struct {
}
type DescribeStreamQuotaConfigReq ¶
type DescribeStreamQuotaConfigReq struct {
*DescribeStreamQuotaConfigQuery
*DescribeStreamQuotaConfigBody
}
type DescribeStreamQuotaConfigRes ¶
type DescribeStreamQuotaConfigRes struct {
// REQUIRED
ResponseMetadata DescribeStreamQuotaConfigResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result *DescribeStreamQuotaConfigResResult `json:"Result,omitempty"`
}
type DescribeStreamQuotaConfigResResponseMetadata ¶
type DescribeStreamQuotaConfigResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *DescribeStreamQuotaConfigResResponseMetadataError `json:"Error,omitempty"`
}
type DescribeStreamQuotaConfigResResult ¶
type DescribeStreamQuotaConfigResResult struct {
// REQUIRED; 限额配置列表。
QuotaList []DescribeStreamQuotaConfigResResultQuotaListItem `json:"QuotaList"`
}
DescribeStreamQuotaConfigResResult - 视请求的接口而定
type DescribeStreamQuotaConfigResResultQuotaListItem ¶
type DescribeStreamQuotaConfigResResultQuotaListItem struct {
// REQUIRED; 推流域名或拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 配置详情列表。
QuotaDetailList []DescribeStreamQuotaConfigResResultQuotaListPropertiesItemsItem `json:"QuotaDetailList"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemBandwidthConfig ¶
type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemBandwidthConfig struct {
// REQUIRED; 拉流带宽限额。
Quota int32 `json:"Quota"`
// REQUIRED; 拉流带宽限额的计量单位。
QuotaUnit string `json:"QuotaUnit"`
// 拉流带宽限额告警阈值,缺省情况表示未设置告警。
AlarmThreshold *int32 `json:"AlarmThreshold,omitempty"`
// 拉流带宽限额告警的计量单位,缺省情况表示不未设置告警。
AlarmThresholdUnit *string `json:"AlarmThresholdUnit,omitempty"`
}
DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemBandwidthConfig - 推流域名的推流路数限额配置信息。 :::tipDomain 为拉流域名时返回。 :::
type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemStreamConfig ¶
type DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemStreamConfig struct {
// REQUIRED; 推流路数限额。
Quota int32 `json:"Quota"`
// 推流路数限额告警阈值,缺省情况表示未设置告警。
AlarmThreshold *int32 `json:"AlarmThreshold,omitempty"`
}
DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemStreamConfig - 推流域名的推流路数限额配置信息。 :::tipDomain 为推流域名时返回。 :::
type DescribeStreamQuotaConfigResResultQuotaListPropertiesItemsItem ¶
type DescribeStreamQuotaConfigResResultQuotaListPropertiesItemsItem struct {
// 推流域名的推流路数限额配置信息。 :::tipDomain 为拉流域名时返回。 :::
BandwidthConfig *DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemBandwidthConfig `json:"BandwidthConfig,omitempty"`
// 推流域名的推流路数限额配置信息。 :::tipDomain 为推流域名时返回。 :::
StreamConfig *DescribeStreamQuotaConfigResResultQuotaListItemQuotaDetailListItemStreamConfig `json:"StreamConfig,omitempty"`
}
type DisableDomain ¶
type DisableDomain struct {
}
type DisableDomainBody ¶
type DisableDomainBody struct {
// REQUIRED; 待禁用域名。
Domain string `json:"Domain"`
}
type DisableDomainQuery ¶
type DisableDomainQuery struct {
}
type DisableDomainReq ¶
type DisableDomainReq struct {
*DisableDomainQuery
*DisableDomainBody
}
type DisableDomainRes ¶
type DisableDomainRes struct {
// REQUIRED
ResponseMetadata DisableDomainResResponseMetadata `json:"ResponseMetadata"`
}
type DisableDomainResResponseMetadata ¶
type DisableDomainResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *DisableDomainResResponseMetadataError `json:"Error,omitempty"`
}
type EnableDomain ¶
type EnableDomain struct {
}
type EnableDomainBody ¶
type EnableDomainBody struct {
// REQUIRED; 待启用域名。
Domain string `json:"Domain"`
}
type EnableDomainQuery ¶
type EnableDomainQuery struct {
}
type EnableDomainReq ¶
type EnableDomainReq struct {
*EnableDomainQuery
*EnableDomainBody
}
type EnableDomainRes ¶
type EnableDomainRes struct {
// REQUIRED
ResponseMetadata EnableDomainResResponseMetadata `json:"ResponseMetadata"`
}
type EnableDomainResResponseMetadata ¶
type EnableDomainResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *EnableDomainResResponseMetadataError `json:"Error,omitempty"`
}
type ForbidStream ¶
type ForbidStream struct {
}
type ForbidStreamBody ¶
type ForbidStreamBody struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 推流域名。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 禁推的结束时间,RFC3339 格式的 UTC 时间,精度为 ms,禁推有效期最长为 90 天,默认为当前时间加 90 天。
EndTime *string `json:"EndTime,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type ForbidStreamQuery ¶
type ForbidStreamQuery struct {
}
type ForbidStreamReq ¶
type ForbidStreamReq struct {
*ForbidStreamQuery
*ForbidStreamBody
}
type ForbidStreamRes ¶
type ForbidStreamRes struct {
// REQUIRED
ResponseMetadata ForbidStreamResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type ForbidStreamResResponseMetadata ¶
type ForbidStreamResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *ForbidStreamResResponseMetadataError `json:"Error,omitempty"`
}
type GeneratePlayURL ¶
type GeneratePlayURL struct {
}
type GeneratePlayURLBody ¶
type GeneratePlayURLBody struct {
// REQUIRED; 应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 过期时间,拉流地址的有效时间,过期后需要重新生成。RFC3339 格式的 UTC 时间,精度为秒,缺省情况下表示 7 天。 :::tip 如果同时设置 ValidDuration 和 ExpiredTime,以 ExpiredTime 的时间为准。
// :::
ExpiredTime *string `json:"ExpiredTime,omitempty"`
// 转码流后缀,不传默认为空,可通过调用 ListVhostTransCodePreset [https://www.volcengine.com/docs/6469/1126853] 接口查询。
Suffix *string `json:"Suffix,omitempty"`
// CDN 类型,默认值为 fcdn,支持如下取值。
// * fcdn:火山引擎流媒体直播 CDN;
// * 3rd:第三方 CDN。
Type *string `json:"Type,omitempty"`
// 有效时长,拉流地址的有效时间,过期后需要重新生成。单位为秒,取值 ﹥0,缺省情况下表示 7 天。 :::tip 如果同时设置 ValidDuration 和 ExpiredTime,以 ExpiredTime 的时间为准。 :::
ValidDuration *int32 `json:"ValidDuration,omitempty"`
}
type GeneratePlayURLQuery ¶
type GeneratePlayURLQuery struct {
}
type GeneratePlayURLReq ¶
type GeneratePlayURLReq struct {
*GeneratePlayURLQuery
*GeneratePlayURLBody
}
type GeneratePlayURLRes ¶
type GeneratePlayURLRes struct {
// REQUIRED
ResponseMetadata GeneratePlayURLResResponseMetadata `json:"ResponseMetadata"`
Result *GeneratePlayURLResResult `json:"Result,omitempty"`
}
type GeneratePlayURLResResponseMetadata ¶
type GeneratePlayURLResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *GeneratePlayURLResResponseMetadataError `json:"Error,omitempty"`
}
type GeneratePlayURLResResult ¶
type GeneratePlayURLResResult struct {
// REQUIRED; 拉流地址信息列表。
URLList []GeneratePlayURLResResultURLListItem `json:"URLList"`
}
type GeneratePlayURLResResultURLListItem ¶
type GeneratePlayURLResResultURLListItem struct {
// REQUIRED; CDN 类型。
// * fcdn:火山引擎流媒体直播 CDN;
// * 3rd:第三方 CDN。
CDN string `json:"CDN"`
// REQUIRED; 协议类型,包括 hls、flv 和 rtmp。
Protocol string `json:"Protocol"`
// REQUIRED; 地址类型,可能的值为:
// * push:推流;
// * pull:拉流;
// * 3rdplay(relaysource):第三方回源;
// * 3rdplay(relaysink):第三方转推。
Type string `json:"Type"`
// REQUIRED; 生成的拉流地址。
URL string `json:"URL"`
}
type GeneratePushURL ¶
type GeneratePushURL struct {
}
type GeneratePushURLBody ¶
type GeneratePushURLBody struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 推流域名名称,需要推流地址的域名,不填返回Vhost下所有推流域名生成的地址。
Domain *string `json:"Domain,omitempty"`
// 过期时间,推流地址的有效时间,过期后需要重新生成。RFC3339 格式的 UTC 时间,精度为秒,缺省情况下表示 7 天。 :::tip 如果同时设置 ValidDuration 和 ExpiredTime,以 ExpiredTime 的时间为准。
// :::
ExpiredTime *string `json:"ExpiredTime,omitempty"`
// 有效时长,推流地址的有效时间,过期后需要重新生成。单位为秒,取值 ﹥0,缺省情况下表示 7 天。 :::tip 如果同时设置 ValidDuration 和 ExpiredTime,以 ExpiredTime 的时间为准。 :::
ValidDuration *int32 `json:"ValidDuration,omitempty"`
}
type GeneratePushURLQuery ¶
type GeneratePushURLQuery struct {
}
type GeneratePushURLReq ¶
type GeneratePushURLReq struct {
*GeneratePushURLQuery
*GeneratePushURLBody
}
type GeneratePushURLRes ¶
type GeneratePushURLRes struct {
// REQUIRED
ResponseMetadata GeneratePushURLResResponseMetadata `json:"ResponseMetadata"`
Result *GeneratePushURLResResult `json:"Result,omitempty"`
}
type GeneratePushURLResResponseMetadata ¶
type GeneratePushURLResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *GeneratePushURLResResponseMetadataError `json:"Error,omitempty"`
}
type GeneratePushURLResResult ¶
type GeneratePushURLResResult struct {
// REQUIRED; RTMP 推流地址。
PushURLList []string `json:"PushURLList"`
// REQUIRED; 推流地址详情。
PushURLListDetail []GeneratePushURLResResultPushURLListDetailItem `json:"PushURLListDetail"`
// REQUIRED; RTM 推流地址。
RtmURLList []string `json:"RtmURLList"`
// REQUIRED; RTMP over SRT 推流地址。
RtmpOverSrtURLList []string `json:"RtmpOverSrtURLList"`
// REQUIRED; TS over SRT 推流地址。
TsOverSrtURLList []string `json:"TsOverSrtURLList"`
// REQUIRED; 网络传输推流地址。
WebTransportURLList []string `json:"WebTransportURLList"`
}
type GeneratePushURLResResultPushURLListDetailItem ¶
type GeneratePushURLResResultPushURLListDetailItem struct {
// REQUIRED; OBS 推流地址,例如,rtmp://push.example.com/live/。
DomainApp string `json:"DomainApp"`
// REQUIRED; OBS 推流名称,例如,streamname1?volcTime=1675652376&volcSecret=c57d247c2f19b395b6ec9b182******7。
StreamSign string `json:"StreamSign"`
// REQUIRED; 推流地址。
URL string `json:"URL"`
}
type GetVqosRawData ¶
type GetVqosRawData struct {
}
type GetVqosRawDataBody ¶
type GetVqosRawDataBody struct {
// REQUIRED; 维度可为该service下任意一个维度
Dimensions []string `json:"Dimensions"`
// REQUIRED; 同上
End int32 `json:"End"`
// REQUIRED; 过滤条件
Filter GetVqosRawDataBodyFilter `json:"Filter"`
// REQUIRED; Limit取值上限为20000
Limit int32 `json:"Limit"`
// REQUIRED; line时表示图例数,point时表示数据点数
LimitType string `json:"LimitType"`
// REQUIRED; 指标可为该service下任意一个指标
Metrics []string `json:"Metrics"`
// REQUIRED; 默认0
Offset int32 `json:"Offset"`
// REQUIRED; UNIX时间戳,单位:s
Start int32 `json:"Start"`
// REQUIRED; 支持5m、1h、1d
Window string `json:"Window"`
}
type GetVqosRawDataBodyFilter ¶
type GetVqosRawDataBodyFilter struct {
// REQUIRED; Logic有值时,Filters必须有值
Filters []GetVqosRawDataBodyFilterFiltersItem `json:"Filters"`
// REQUIRED; 取值为空、"and"或者"or"
Logic string `json:"Logic"`
}
GetVqosRawDataBodyFilter - 过滤条件
type GetVqosRawDataQuery ¶
type GetVqosRawDataReq ¶
type GetVqosRawDataReq struct {
*GetVqosRawDataQuery
*GetVqosRawDataBody
}
type GetVqosRawDataRes ¶
type GetVqosRawDataRes struct {
// REQUIRED
ResponseMetadata GetVqosRawDataResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result GetVqosRawDataResResult `json:"Result"`
}
type GetVqosRawDataResResponseMetadata ¶
type GetVqosRawDataResResponseMetadata struct {
// REQUIRED
RequestID string `json:"RequestId"`
}
type GetVqosRawDataResResult ¶
type GetVqosRawDataResResult struct {
// REQUIRED
Columns []interface{} `json:"Columns"`
// REQUIRED
Data []interface{} `json:"Data"`
// REQUIRED
Limit int32 `json:"Limit"`
// REQUIRED
Offset int32 `json:"Offset"`
// REQUIRED
Total int32 `json:"Total"`
// REQUIRED
TotalPoint int32 `json:"TotalPoint"`
}
type KillStream ¶
type KillStream struct {
}
type KillStreamBody ¶
type KillStreamQuery ¶
type KillStreamQuery struct {
}
type KillStreamReq ¶
type KillStreamReq struct {
*KillStreamQuery
*KillStreamBody
}
type KillStreamRes ¶
type KillStreamRes struct {
// REQUIRED
ResponseMetadata KillStreamResResponseMetadata `json:"ResponseMetadata"`
}
type KillStreamResResponseMetadata ¶
type KillStreamResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *KillStreamResResponseMetadataError `json:"Error,omitempty"`
}
type ListCertV2 ¶
type ListCertV2 struct {
}
type ListCertV2Body ¶
type ListCertV2Body struct {
// 是否启用证书,默认值为 true,支持的取值包括:
// * true:启用证书;
// * false:禁用证书。
Available *bool `json:"Available,omitempty"`
// 证书名称,支持输入证书名称中的关键字,进行模糊查询
CertName *string `json:"CertName,omitempty"`
// 域名,查询该域名对应的证书,支持精确查询
Domain *string `json:"Domain,omitempty"`
// 只有填了Available,这个字段才生效。
Expiring *bool `json:"Expiring,omitempty"`
}
type ListCertV2Query ¶
type ListCertV2Query struct {
}
type ListCertV2Req ¶
type ListCertV2Req struct {
*ListCertV2Query
*ListCertV2Body
}
type ListCertV2Res ¶
type ListCertV2Res struct {
// REQUIRED
ResponseMetadata ListCertV2ResResponseMetadata `json:"ResponseMetadata"`
Result *ListCertV2ResResult `json:"Result,omitempty"`
}
type ListCertV2ResResponseMetadata ¶
type ListCertV2ResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListCertV2ResResponseMetadataError `json:"Error,omitempty"`
}
type ListCertV2ResResult ¶
type ListCertV2ResResult struct {
// 证书列表。
CertList []*ListCertV2ResResultCertListItem `json:"CertList,omitempty"`
}
type ListCertV2ResResultCertListItem ¶
type ListCertV2ResResultCertListItem struct {
// REQUIRED; 与证书绑定的域名列表。
CertDomainList []string `json:"CertDomainList"`
// REQUIRED; 证书实例ID。
CertID string `json:"CertID"`
// REQUIRED; 证书名称。
CertName string `json:"CertName"`
// REQUIRED; 证书链 ID。
ChainID string `json:"ChainID"`
// REQUIRED; 火山证书中心证书链 ID。
ChainIDVolc string `json:"ChainIDVolc"`
// REQUIRED; 证书的过期时间,RFC3339 格式的 UTC 时间,精度为 s。
NotAfter string `json:"NotAfter"`
// REQUIRED; 证书的生效日期,RFC3339 格式的 UTC 时间,精度为 s。
NotBefore string `json:"NotBefore"`
// REQUIRED; 证书状态,由证书管理平台返回,支持的取值如下所示。
// * OK:正常;
// * Expire:过期;
// * 30days:有效期剩余 30 天;
// * 15days:有效期剩余 15 天;
// * 7days:有效期剩余 7 天;
// * 1days:有效期剩余 1 天。
Status string `json:"Status"`
}
type ListCommonTransPresetDetail ¶
type ListCommonTransPresetDetail struct {
}
type ListCommonTransPresetDetailBody ¶
type ListCommonTransPresetDetailBody struct {
// 模板名称列表,缺省情况下,表示查询所有系统内置转码档位。
PresetList []*string `json:"PresetList,omitempty"`
}
type ListCommonTransPresetDetailQuery ¶
type ListCommonTransPresetDetailQuery struct {
}
type ListCommonTransPresetDetailReq ¶
type ListCommonTransPresetDetailReq struct {
*ListCommonTransPresetDetailQuery
*ListCommonTransPresetDetailBody
}
type ListCommonTransPresetDetailRes ¶
type ListCommonTransPresetDetailRes struct {
// REQUIRED
ResponseMetadata ListCommonTransPresetDetailResResponseMetadata `json:"ResponseMetadata"`
Result *ListCommonTransPresetDetailResResult `json:"Result,omitempty"`
}
type ListCommonTransPresetDetailResResponseMetadata ¶
type ListCommonTransPresetDetailResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListCommonTransPresetDetailResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type ListCommonTransPresetDetailResResult ¶
type ListCommonTransPresetDetailResResult struct {
// 极智超清模板信息。
NarrowBandHDPresetDetail []*ListCommonTransPresetDetailResResultNarrowBandHDPresetDetailItem `json:"NarrowBandHDPresetDetail,omitempty"`
// 标准模板信息。
StandardPresetDetail []*ListCommonTransPresetDetailResResultStandardPresetDetailItem `json:"StandardPresetDetail,omitempty"`
}
type ListCommonTransPresetDetailResResultNarrowBandHDPresetDetailItem ¶
type ListCommonTransPresetDetailResResultNarrowBandHDPresetDetailItem struct {
// 音频编码格式。包括以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。
// * 0:关闭宽高自适应,按照Width和Height的取值进行拉伸;
// * 1:开启宽高自适应,按照ShortSide或LongSide等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。BFrames取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 帧率,单位为 fps。帧率越大,画面越流畅。
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s。
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。 :::tip 当 As 的取值为 0 时,Width 和 Height 中任意参数取 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。 :::tip 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 都取 0,表示保持源流尺寸。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。 :::tip 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 都取 0,表示保持源流尺寸。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名。
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 视频码率,单位为 kbps
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。 :::tip 当 As 的取值为 0 时,如果 Width 和 Height 中任意参数取 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
type ListCommonTransPresetDetailResResultStandardPresetDetailItem ¶
type ListCommonTransPresetDetailResResultStandardPresetDetailItem struct {
// 音频编码格式。包括以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。
// * 0:关闭宽高自适应,按照Width和Height的取值进行拉伸;
// * 1:开启宽高自适应,按照ShortSide或LongSide等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。BFrames取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 帧率,单位为 fps。帧率越大,画面越流畅
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为。
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。 :::tip 当 As 的取值为 0 时,Width 和 Height 中任意参数取 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。 :::tip 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 都取 0,表示保持源流尺寸。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。 :::tip 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 都取 0,表示保持源流尺寸。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 视频码率,单位为 kbps
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。 :::tip 当 As 的取值为 0 时,如果 Width 和 Height 中任意参数取 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
type ListDomainDetail ¶
type ListDomainDetail struct {
}
type ListDomainDetailBody ¶
type ListDomainDetailBody struct {
// REQUIRED; 当前页码,取值范围为 [1,1000]。
PageNum int32 `json:"PageNum"`
// REQUIRED; 分页大小,取值范围为 [1, 1000]
PageSize int32 `json:"PageSize"`
// 域名名称列表,缺省情况下表示全部。
DomainNameList []*string `json:"DomainNameList,omitempty"`
// 域名区域列表。缺省情况下表示全部,区域类型支持以下取值。
// * cn:中国大陆;
// * oversea:海外;
// * cn-global:全球;
// * cn-oversea:海外及港澳台。
DomainRegionList []*string `json:"DomainRegionList,omitempty"`
// 域名状态列表。缺省情况下表示全部。支持的取值如下所示。
// * 0:正常;
// * 1:审核中;
// * 2:禁用,禁止使用,此时 domain 不生效;
// * 3:删除;
// * 4:审核被驳回。审核不通过,需要重新创建并审核;
// * 5:欠费关停。
DomainStatusList []*int32 `json:"DomainStatusList,omitempty"`
// 域名类型列表。缺省情况下表示全部。域名类型支持以下取值。
// * push:推流域名;
// * pull-flv:拉流域名。
DomainTypeList []*string `json:"DomainTypeList,omitempty"`
// 域名空间列表,缺省情况下表示全部。
VhostList []*string `json:"VhostList,omitempty"`
}
type ListDomainDetailQuery ¶
type ListDomainDetailQuery struct {
}
type ListDomainDetailReq ¶
type ListDomainDetailReq struct {
*ListDomainDetailQuery
*ListDomainDetailBody
}
type ListDomainDetailRes ¶
type ListDomainDetailRes struct {
// REQUIRED
ResponseMetadata ListDomainDetailResResponseMetadata `json:"ResponseMetadata"`
Result *ListDomainDetailResResult `json:"Result,omitempty"`
}
type ListDomainDetailResResponseMetadata ¶
type ListDomainDetailResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListDomainDetailResResponseMetadataError `json:"Error,omitempty"`
}
type ListDomainDetailResResult ¶
type ListDomainDetailResResult struct {
// REQUIRED; 总记录数。
Total int32 `json:"Total"`
// 域名详细信息列表。
DomainList []*ListDomainDetailResResultDomainListItem `json:"DomainList,omitempty"`
}
type ListDomainDetailResResultDomainListItem ¶
type ListDomainDetailResResultDomainListItem struct {
// REQUIRED; CNAME 信息。
CName string `json:"CName"`
// REQUIRED; 所绑定证书支持的泛域名。
CertDomain string `json:"CertDomain"`
// REQUIRED; 绑定的证书信息。
ChainID string `json:"ChainID"`
// REQUIRED; CNAME 状态。
// * 0:未配置 CNAME;
// * 1:已配置 CNAME。
CnameCheck int32 `json:"CnameCheck"`
// REQUIRED; 创建时间。
CreateTime string `json:"CreateTime"`
// REQUIRED; 推/拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 域名是否可用的状态。
// * 0:正常,域名为可用状态;
// * 1:配置中,域名为可用状态;
// * 2:不可用,域名为其他的不可用状态。
DomainCheck int32 `json:"DomainCheck"`
// REQUIRED; IPC 备案校验是否通过,是否过期信息。
ICPCheck int32 `json:"ICPCheck"`
// REQUIRED; 绑定的推流域名。
PushDomain string `json:"PushDomain"`
// REQUIRED; 区域,包含 4 种类型。
// * cn:中国大陆;
// * cn-global:全球;
// * cn-oversea:海外及港澳台。
Region string `json:"Region"`
// REQUIRED; 域名状态。状态说明如下所示。
// * 0:正常;
// * 1:审核中;
// * 2:禁用,禁止使用,此时 domain 不生效;
// * 3:删除;
// * 4:审核被驳回。审核不通过,需要重新创建并审核;
// * 5:欠费关停。
Status int32 `json:"Status"`
// REQUIRED; 域名类型,包含两种类型。
// * push:推流域名;
// * pull-flv:拉流域名,包含 RTMP、FLV、HLS 格式。
Type string `json:"Type"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type ListPullRecordTask ¶
type ListPullRecordTask struct {
}
type ListPullRecordTaskBody ¶
type ListPullRecordTaskQuery ¶
type ListPullRecordTaskQuery struct {
}
type ListPullRecordTaskReq ¶
type ListPullRecordTaskReq struct {
*ListPullRecordTaskQuery
*ListPullRecordTaskBody
}
type ListPullRecordTaskRes ¶
type ListPullRecordTaskRes struct {
// REQUIRED
ResponseMetadata ListPullRecordTaskResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result *ListPullRecordTaskResResult `json:"Result,omitempty"`
}
type ListPullRecordTaskResResponseMetadata ¶
type ListPullRecordTaskResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type ListPullRecordTaskResResult ¶
type ListPullRecordTaskResResult struct {
// REQUIRED; 直播录制列表记录。
List []ListPullRecordTaskResResultListItem `json:"List"`
// REQUIRED; 分页信息。
Pagination ListPullRecordTaskResResultPagination `json:"Pagination"`
}
ListPullRecordTaskResResult - 视请求的接口而定
type ListPullRecordTaskResResultListItem ¶
type ListPullRecordTaskResResultListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 推流域名或拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 录制的结束时间,RFC3339 格式表示的 UTC 时间戳,精度为 s。
EndTime string `json:"EndTime"`
// REQUIRED; 录制的开始时间,RFC3339 格式表示的 UTC 时间戳,精度为 s。
StartTime string `json:"StartTime"`
// REQUIRED; 4种状态: 停用,未开始,生效中,已结束
Status string `json:"Status"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 任务 ID,任务的唯一标识。
TaskID string `json:"TaskId"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type ListPullRecordTaskResResultPagination ¶
type ListPullRecordTaskResResultPagination struct {
// REQUIRED; 目前页数
PageCur int32 `json:"PageCur"`
// REQUIRED; 目前分页页大小
PageSize int32 `json:"PageSize"`
// REQUIRED; 总共页数
PageTotal int32 `json:"PageTotal"`
// REQUIRED; 任务数量
TotalCount int32 `json:"TotalCount"`
}
ListPullRecordTaskResResultPagination - 分页信息。
type ListPullToPushTask ¶
type ListPullToPushTask struct {
}
type ListPullToPushTaskBody ¶
type ListPullToPushTaskBody struct {
}
type ListPullToPushTaskQuery ¶
type ListPullToPushTaskQuery struct {
// 页码,默认值为 1,取值范围为正整数。
Page *int32 `json:"Page,omitempty" query:"Page"`
// 每页数量,取值范围为 [1,500],默认值为 20。
Size *int32 `json:"Size,omitempty" query:"Size"`
// 任务名称。不区分大小写,支持模糊查询。 例如,title取值为doc时,则返回任务名称为docspace、docs、DOC等包含doc关键词的任务列表。
Title *string `json:"Title,omitempty" query:"Title"`
}
type ListPullToPushTaskReq ¶
type ListPullToPushTaskReq struct {
*ListPullToPushTaskQuery
*ListPullToPushTaskBody
}
type ListPullToPushTaskRes ¶
type ListPullToPushTaskRes struct {
// REQUIRED
ResponseMetadata ListPullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result ListPullToPushTaskResResult `json:"Result"`
}
type ListPullToPushTaskResResponseMetadata ¶
type ListPullToPushTaskResResponseMetadata struct {
Action *string `json:"Action,omitempty"`
Error *ListPullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
Region *string `json:"Region,omitempty"`
RequestID *string `json:"RequestId,omitempty"`
Service *string `json:"Service,omitempty"`
Version *string `json:"Version,omitempty"`
}
type ListPullToPushTaskResResult ¶
type ListPullToPushTaskResResult struct {
// 任务列表。
List []*ListPullToPushTaskResResultListItem `json:"List,omitempty"`
// 分页数量信息。
Pagination *ListPullToPushTaskResResultPagination `json:"Pagination,omitempty"`
}
type ListPullToPushTaskResResultListItem ¶
type ListPullToPushTaskResResultListItem struct {
// 回调地址,用于接收回调消息。
CallbackURL *string `json:"CallbackURL,omitempty"`
// 循环模式。当"Type":0时,该参数无效,当"Type":1时,参数取值及含义如下所示。
// * -1:表示无限循环,至任务结束;
// * ≥1:取值表示循环的次数。
CycleMode *int32 `json:"CycleMode,omitempty"`
// 推流地址。
DstAddr *string `json:"DstAddr,omitempty"`
// 推流地址类型。
// * 1:非第三方;
// * 2:第三方。
DstAddrType *int32 `json:"DstAddrType,omitempty"`
// 任务结束时间,RFC3339 格式的 UTC 时间,单位为 s。
EndTime *string `json:"EndTime,omitempty"`
// 直播拉流地址。拉流来源类型type为直播0时返回。
SrcAddr *string `json:"SrcAddr,omitempty"`
// 点播播放地址列表。拉流来源类型type为点播1时返回。
SrcAddrS []*string `json:"SrcAddrS,omitempty"`
// 任务开始时间,RFC3339 格式的 UTC 时间,单位为 s。
StartTime *string `json:"StartTime,omitempty"`
// 任务状态。支持以下取值。
// * 停用;
// * 未开始;
// * 生效中;
// * 已结束。
Status *string `json:"Status,omitempty"`
// 任务 ID,任务的唯一标识。
TaskID *string `json:"TaskId,omitempty"`
// 任务名称。
Title *string `json:"Title,omitempty"`
// 拉流来源类型。支持以下 2 种取值。
// * 0:直播;
// * 1:点播。
Type *int32 `json:"Type,omitempty"`
// 水印信息。
Watermark *ListPullToPushTaskResResultListItemWatermark `json:"Watermark,omitempty"`
}
type ListPullToPushTaskResResultListItemWatermark ¶
type ListPullToPushTaskResResultListItemWatermark struct {
// REQUIRED; 水印图片字符串,图片最大 2MB,最小 100Bytes,最大分辨率为 1080×1080。图片 Data URL 格式为:data:[<mediatype>];[base64],<data>。
// * mediatype:图片类型,支持 png、jpg、jpeg 格式;
// * data:base64 编码的图片字符串。
// 例如,data:image/png;base64,iVBORw0KGg****mCC
Picture string `json:"Picture"`
// REQUIRED; 水印宽度,占直播原始画面宽度百分比,支持精度,小数点后两位
Ratio float32 `json:"Ratio"`
// REQUIRED; 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosX float32 `json:"RelativePosX"`
// REQUIRED; 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosY float32 `json:"RelativePosY"`
}
ListPullToPushTaskResResultListItemWatermark - 水印信息。
type ListPullToPushTaskResResultPagination ¶
type ListPullToPushTaskResResultPagination struct {
// 当前任务所在分页。
PageCur *int32 `json:"PageCur,omitempty"`
// 每页结果数量。
PageSize *int32 `json:"PageSize,omitempty"`
// 分页的总量。
PageTotal *int32 `json:"PageTotal,omitempty"`
// 返回任务总条数。
TotalCount *int32 `json:"TotalCount,omitempty"`
}
ListPullToPushTaskResResultPagination - 分页数量信息。
type ListRelaySourceV4 ¶
type ListRelaySourceV4 struct {
}
type ListRelaySourceV4Body ¶
type ListRelaySourceV4Query ¶
type ListRelaySourceV4Query struct {
}
type ListRelaySourceV4Req ¶
type ListRelaySourceV4Req struct {
*ListRelaySourceV4Query
*ListRelaySourceV4Body
}
type ListRelaySourceV4Res ¶
type ListRelaySourceV4Res struct {
// REQUIRED
ResponseMetadata ListRelaySourceV4ResResponseMetadata `json:"ResponseMetadata"`
Result *ListRelaySourceV4ResResult `json:"Result,omitempty"`
}
type ListRelaySourceV4ResResponseMetadata ¶
type ListRelaySourceV4ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *ListRelaySourceV4ResResponseMetadataError `json:"Error,omitempty"`
}
type ListRelaySourceV4ResResult ¶
type ListRelaySourceV4ResResult struct {
// REQUIRED; 配置列表。
List []ListRelaySourceV4ResResultListItem `json:"List"`
// REQUIRED; 页码信息。
Pagination ListRelaySourceV4ResResultPagination `json:"Pagination"`
}
type ListRelaySourceV4ResResultListItem ¶
type ListRelaySourceV4ResResultListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 结束时间,StartTime 和 EndTime 同时缺省的情况下,表示永久回源。
EndTime int32 `json:"EndTime"`
// REQUIRED; 回源地址列表。
SrcAddrS []string `json:"SrcAddrS"`
// REQUIRED; 开始时间,StartTime 和 EndTime 同时缺省的情况下,表示永久回源。
StartTime int32 `json:"StartTime"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
}
type ListRelaySourceV4ResResultPagination ¶
type ListRelaySourceV4ResResultPagination struct {
// REQUIRED; 当前页码。
PageCur int32 `json:"PageCur"`
// REQUIRED; 单页数据量。
PageSize int32 `json:"PageSize"`
// REQUIRED; 总页数。
PageTotal int32 `json:"PageTotal"`
// REQUIRED; 总数据量。
TotalCount int32 `json:"TotalCount"`
}
ListRelaySourceV4ResResultPagination - 页码信息。
type ListTimeShiftPresetV2 ¶
type ListTimeShiftPresetV2 struct {
}
type ListTimeShiftPresetV2Query ¶
type ListTimeShiftPresetV2Query struct {
}
type ListTimeShiftPresetV2Req ¶
type ListTimeShiftPresetV2Req struct {
*ListTimeShiftPresetV2Query
*ListTimeShiftPresetV2Body
}
type ListTimeShiftPresetV2Res ¶
type ListTimeShiftPresetV2Res struct {
// REQUIRED
ResponseMetadata ListTimeShiftPresetV2ResResponseMetadata `json:"ResponseMetadata"`
Result *ListTimeShiftPresetV2ResResult `json:"Result,omitempty"`
}
type ListTimeShiftPresetV2ResResponseMetadata ¶
type ListTimeShiftPresetV2ResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListTimeShiftPresetV2ResResponseMetadataError `json:"Error,omitempty"`
}
type ListTimeShiftPresetV2ResResult ¶
type ListTimeShiftPresetV2ResResult struct {
// 模板列表。
List []*ListTimeShiftPresetV2ResResultListItem `json:"List,omitempty"`
}
type ListTimeShiftPresetV2ResResultListItem ¶
type ListTimeShiftPresetV2ResResultListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; ToS 存储目录。
Bucket string `json:"Bucket"`
// REQUIRED; 拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 最大时移时长,即观看时移的最长时间,单位为 s。
MaxShiftTime int32 `json:"MaxShiftTime"`
// REQUIRED; 模板名称。
Name string `json:"Name"`
// REQUIRED; 直播时移配置模版状态。
// * 0:配置中;
// * 1:已启用。
Status int32 `json:"Status"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 类型。默认类型为 VoD。
// * VoD
// * ToS
// * fcdn-ToS
Type string `json:"Type"`
// REQUIRED; 点播空间。
VODNamespace string `json:"VODNamespace"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type ListVhostRecordPresetV2 ¶
type ListVhostRecordPresetV2 struct {
}
type ListVhostRecordPresetV2Query ¶
type ListVhostRecordPresetV2Query struct {
}
type ListVhostRecordPresetV2Req ¶
type ListVhostRecordPresetV2Req struct {
*ListVhostRecordPresetV2Query
*ListVhostRecordPresetV2Body
}
type ListVhostRecordPresetV2Res ¶
type ListVhostRecordPresetV2Res struct {
// REQUIRED
ResponseMetadata ListVhostRecordPresetV2ResResponseMetadata `json:"ResponseMetadata"`
Result *ListVhostRecordPresetV2ResResult `json:"Result,omitempty"`
}
type ListVhostRecordPresetV2ResResponseMetadata ¶
type ListVhostRecordPresetV2ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *ListVhostRecordPresetV2ResResponseMetadataError `json:"Error,omitempty"`
}
type ListVhostRecordPresetV2ResResult ¶
type ListVhostRecordPresetV2ResResult struct {
// REQUIRED; 录制模板列表。
PresetList []ListVhostRecordPresetV2ResResultPresetListItem `json:"PresetList"`
}
type ListVhostRecordPresetV2ResResultPresetListItem ¶
type ListVhostRecordPresetV2ResResultPresetListItem struct {
// REQUIRED; 应用名称。
App string `json:"App"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 模板详细信息。
SlicePresetV2 *ListVhostRecordPresetV2ResResultPresetListItemSlicePresetV2 `json:"SlicePresetV2,omitempty"`
}
type ListVhostRecordPresetV2ResResultPresetListItemSlicePresetV2 ¶
type ListVhostRecordPresetV2ResResultPresetListItemSlicePresetV2 struct {
// 模板 ID。
ID *int32 `json:"ID,omitempty"`
// 模板名称。
Name *string `json:"Name,omitempty"`
// 录制模板详细配置。
RecordPresetConfig *ComponentsFuamuzSchemasListvhostrecordpresetv2ResPropertiesResultPropertiesPresetlistItemsPropertiesSlicepresetv2PropertiesRecordpresetconfig `json:"RecordPresetConfig,omitempty"`
}
ListVhostRecordPresetV2ResResultPresetListItemSlicePresetV2 - 模板详细信息。
type ListVhostSnapshotAuditPreset ¶
type ListVhostSnapshotAuditPreset struct {
}
type ListVhostSnapshotAuditPresetBody ¶
type ListVhostSnapshotAuditPresetBody struct {
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type ListVhostSnapshotAuditPresetQuery ¶
type ListVhostSnapshotAuditPresetQuery struct {
}
type ListVhostSnapshotAuditPresetReq ¶
type ListVhostSnapshotAuditPresetReq struct {
*ListVhostSnapshotAuditPresetQuery
*ListVhostSnapshotAuditPresetBody
}
type ListVhostSnapshotAuditPresetRes ¶
type ListVhostSnapshotAuditPresetRes struct {
// REQUIRED
ResponseMetadata ListVhostSnapshotAuditPresetResResponseMetadata `json:"ResponseMetadata"`
Result *ListVhostSnapshotAuditPresetResResult `json:"Result,omitempty"`
}
type ListVhostSnapshotAuditPresetResResponseMetadata ¶
type ListVhostSnapshotAuditPresetResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *ListVhostSnapshotAuditPresetResResponseMetadataError `json:"Error,omitempty"`
}
type ListVhostSnapshotAuditPresetResResult ¶
type ListVhostSnapshotAuditPresetResResult struct {
// REQUIRED; 截图审核模版列表。
PresetList []ListVhostSnapshotAuditPresetResResultPresetListItem `json:"PresetList"`
}
type ListVhostSnapshotAuditPresetResResultPresetListItem ¶
type ListVhostSnapshotAuditPresetResResultPresetListItem struct {
// REQUIRED; App 名称。
App string `json:"App"`
// REQUIRED; 审核模版详细信息。
AuditPreset ListVhostSnapshotAuditPresetResResultPresetListItemAuditPreset `json:"AuditPreset"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type ListVhostSnapshotAuditPresetResResultPresetListItemAuditPreset ¶
type ListVhostSnapshotAuditPresetResResultPresetListItemAuditPreset struct {
// REQUIRED; ToS 存储空间 bucket。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
Bucket string `json:"Bucket"`
// REQUIRED; 审核结果回调配置。
CallbackDetailList []ListVhostSnapshotAuditPresetResResultPresetListPropertiesItemsItem `json:"CallbackDetailList"`
// REQUIRED; 审核模板描述。
Description string `json:"Description"`
// REQUIRED; 截图间隔时间,单位秒,取值范围为[0.1,10],支持保留两位小数。
Interval float32 `json:"Interval"`
// REQUIRED; 审核标签名称,若为空,则默认请求所有基础模型。支持以下取值。
// * 301:涉黄;
// * 302:涉敏1;
// * 303:涉敏2;
// * 304:广告;
// * 305:引人不适;
// * 306:违禁;
// * 307:二维码;
// * 308:诈骗;
// * 309:不良画面;
// * 310:未成年相关;
// * 320:文字违规。
Label []string `json:"Label"`
// REQUIRED; 审核模板名称。
PresetName string `json:"PresetName"`
// REQUIRED; veimageX 的服务 ID。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
ServiceID string `json:"ServiceID"`
// REQUIRED; ToS 存储空间 bucket 下的存储目录。
StorageDir string `json:"StorageDir"`
// REQUIRED; 存储策略。支持以下取值。
// * 0:触发存储,只存储有风险图片;
// * 1:全部存储,存储全部图片。
StorageStrategy int32 `json:"StorageStrategy"`
// REQUIRED; 更新时间,RFC3339 格式的 UTC 时间,精度为 s。
UpdateTime string `json:"UpdateTime"`
}
ListVhostSnapshotAuditPresetResResultPresetListItemAuditPreset - 审核模版详细信息。
type ListVhostSnapshotPreset ¶
type ListVhostSnapshotPreset struct {
}
type ListVhostSnapshotPresetQuery ¶
type ListVhostSnapshotPresetQuery struct {
}
type ListVhostSnapshotPresetReq ¶
type ListVhostSnapshotPresetReq struct {
*ListVhostSnapshotPresetQuery
*ListVhostSnapshotPresetBody
}
type ListVhostSnapshotPresetRes ¶
type ListVhostSnapshotPresetRes struct {
// REQUIRED
ResponseMetadata ListVhostSnapshotPresetResResponseMetadata `json:"ResponseMetadata"`
Result *ListVhostSnapshotPresetResResult `json:"Result,omitempty"`
}
type ListVhostSnapshotPresetResResponseMetadata ¶
type ListVhostSnapshotPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListVhostSnapshotPresetResResponseMetadataError `json:"Error,omitempty"`
}
type ListVhostSnapshotPresetResResult ¶
type ListVhostSnapshotPresetResResult struct {
// 模版列表。
PresetList []*ListVhostSnapshotPresetResResultPresetListItem `json:"PresetList,omitempty"`
}
type ListVhostSnapshotPresetResResultPresetListItem ¶
type ListVhostSnapshotPresetResResultPresetListItem struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 截图模板名称。
SlicePreset *ListVhostSnapshotPresetResResultPresetListItemSlicePreset `json:"SlicePreset,omitempty"`
}
type ListVhostSnapshotPresetResResultPresetListItemSlicePreset ¶
type ListVhostSnapshotPresetResResultPresetListItemSlicePreset struct {
// 截图在 ToS 中的存储位置。
Bucket *string `json:"Bucket,omitempty"`
// 回调信息。
CallbackDetail []*ListVhostSnapshotPresetResResultPresetListPropertiesItemsItem `json:"CallbackDetail,omitempty"`
// 截图间隔时间。
Interval *int32 `json:"Interval,omitempty"`
// 截图模版名称。
Preset *string `json:"Preset,omitempty"`
// veImageX 的服务 ID。
ServiceID *string `json:"ServiceID,omitempty"`
// 截图模版状态。
// * 1:开启
// * 0:关闭
Status *int32 `json:"Status,omitempty"`
}
ListVhostSnapshotPresetResResultPresetListItemSlicePreset - 截图模板名称。
type ListVhostSnapshotPresetResResultPresetListPropertiesItemsItem ¶
type ListVhostSnapshotPresetResResultPresetListPropertiesItemsItem struct {
// REQUIRED; 回调地址。
URL string `json:"URL"`
// 回调类型。
// * http
// * nsq
// * kafka
// * rpc
CallbackType *string `json:"CallbackType,omitempty"`
}
ListVhostSnapshotPresetResResultPresetListPropertiesItemsItem - 回调信息
type ListVhostTransCodePreset ¶
type ListVhostTransCodePreset struct {
}
type ListVhostTransCodePresetBody ¶
type ListVhostTransCodePresetBody struct {
// REQUIRED; 域名空间。
Vhost string `json:"Vhost"`
}
type ListVhostTransCodePresetQuery ¶
type ListVhostTransCodePresetQuery struct {
}
type ListVhostTransCodePresetReq ¶
type ListVhostTransCodePresetReq struct {
*ListVhostTransCodePresetQuery
*ListVhostTransCodePresetBody
}
type ListVhostTransCodePresetRes ¶
type ListVhostTransCodePresetRes struct {
// REQUIRED
ResponseMetadata ListVhostTransCodePresetResResponseMetadata `json:"ResponseMetadata"`
Result *ListVhostTransCodePresetResResult `json:"Result,omitempty"`
}
type ListVhostTransCodePresetResResponseMetadata ¶
type ListVhostTransCodePresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListVhostTransCodePresetResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type ListVhostTransCodePresetResResult ¶
type ListVhostTransCodePresetResResult struct {
// REQUIRED; 全部转码配置列表
AllPresetList []ListVhostTransCodePresetResResultAllPresetListItem `json:"AllPresetList"`
// REQUIRED; 使用内置参数的转码配置列表
CommonPresetList []ListVhostTransCodePresetResResultCommonPresetListItem `json:"CommonPresetList"`
// REQUIRED; 使用自定义配置的转码配置列表
CustomizePresetList []ListVhostTransCodePresetResResultCustomizePresetListItem `json:"CustomizePresetList"`
}
type ListVhostTransCodePresetResResultAllPresetListItem ¶
type ListVhostTransCodePresetResResultAllPresetListItem struct {
// REQUIRED; 应用名称
App string `json:"App"`
// REQUIRED; 域名空间
Vhost string `json:"Vhost"`
// 转码配置具体信息
TranscodePreset *ListVhostTransCodePresetResResultAllPresetListItemTranscodePreset `json:"TranscodePreset,omitempty"`
}
type ListVhostTransCodePresetResResultAllPresetListItemTranscodePreset ¶
type ListVhostTransCodePresetResResultAllPresetListItemTranscodePreset struct {
// 音频编码格式。包括以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。
// * 0:关闭宽高自适应,按照Width和Height的取值进行拉伸;
// * 1:开启宽高自适应,按照ShortSide或LongSide等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之���的最大 B 帧数。BFrames取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 帧率,单位为 fps。帧率越大,画面越流畅
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 模板名称
Preset *string `json:"Preset,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 视频码率,单位为 kbps
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
ListVhostTransCodePresetResResultAllPresetListItemTranscodePreset - 转码配置具体信息
type ListVhostTransCodePresetResResultCommonPresetListItem ¶
type ListVhostTransCodePresetResResultCommonPresetListItem struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成
App string `json:"App"`
// REQUIRED; 域名空间
Vhost string `json:"Vhost"`
// 转码配置具体信息
TranscodePreset *ListVhostTransCodePresetResResultCommonPresetListItemTranscodePreset `json:"TranscodePreset,omitempty"`
}
type ListVhostTransCodePresetResResultCommonPresetListItemTranscodePreset ¶
type ListVhostTransCodePresetResResultCommonPresetListItemTranscodePreset struct {
// 音频编码格式。包括以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。
// * 0:关闭宽高自适应,按照Width和Height的取值进行拉伸;
// * 1:开启宽高自适应,按照ShortSide或LongSide等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。BFrames取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 帧率,单位为 fps。帧率越大,画面越流畅
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 转码配置名称
Preset *string `json:"Preset,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 视频码率,单位为 kbps
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
ListVhostTransCodePresetResResultCommonPresetListItemTranscodePreset - 转码配置具体信息
type ListVhostTransCodePresetResResultCustomizePresetListItem ¶
type ListVhostTransCodePresetResResultCustomizePresetListItem struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成
App string `json:"App"`
// REQUIRED; 域名空间
Vhost string `json:"Vhost"`
TranscodePreset *ListVhostTransCodePresetResResultCustomizePresetListItemTranscodePreset `json:"TranscodePreset,omitempty"`
}
type ListVhostTransCodePresetResResultCustomizePresetListItemTranscodePreset ¶
type ListVhostTransCodePresetResResultCustomizePresetListItemTranscodePreset struct {
// 音频编码格式。包括以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 宽高自适应模式开关。
// * 0:关闭宽高自适应,按照Width和Height的取值进行拉伸;
// * 1:开启宽高自适应,按照ShortSide或LongSide等比缩放。
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。BFrames取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 帧率,单位为 fps。帧率越大,画面越流畅
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 模板名称
Preset *string `json:"Preset,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。
Roi *bool `json:"Roi,omitempty"`
// 短边长度。 :::tip 当As的取值为 1 时,如果LongSide和ShortSide都取 0,表示保持源流尺寸。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 视频码率,单位为 kbps
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。 :::tip 当As的取值为 0 时,如果Width和Height任意取值为 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
type ListVhostWatermarkPreset ¶
type ListVhostWatermarkPreset struct {
}
type ListVhostWatermarkPresetBody ¶
type ListVhostWatermarkPresetBody struct {
// REQUIRED; 域名空间名称。由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost string `json:"Vhost"`
}
type ListVhostWatermarkPresetQuery ¶
type ListVhostWatermarkPresetQuery struct {
}
type ListVhostWatermarkPresetReq ¶
type ListVhostWatermarkPresetReq struct {
*ListVhostWatermarkPresetQuery
*ListVhostWatermarkPresetBody
}
type ListVhostWatermarkPresetRes ¶
type ListVhostWatermarkPresetRes struct {
// REQUIRED
ResponseMetadata ListVhostWatermarkPresetResResponseMetadata `json:"ResponseMetadata"`
Result *ListVhostWatermarkPresetResResult `json:"Result,omitempty"`
}
type ListVhostWatermarkPresetResResponseMetadata ¶
type ListVhostWatermarkPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListVhostWatermarkPresetResResponseMetadataError `json:"Error,omitempty"`
}
type ListVhostWatermarkPresetResResult ¶
type ListVhostWatermarkPresetResResult struct {
// 统计消息,提供查询成功和失败的数量。
StaticsMsg *string `json:"StaticsMsg,omitempty"`
// 获取模板失败的列表,返回获取失败的模版及获取失败的原因。
WatermarkErrMsgList []*ListVhostWatermarkPresetResResultWatermarkErrMsgListItem `json:"WatermarkErrMsgList,omitempty"`
// 水印模版列表。
WatermarkPresetList []*ListVhostWatermarkPresetResResultWatermarkPresetListItem `json:"WatermarkPresetList,omitempty"`
}
type ListVhostWatermarkPresetResResultWatermarkPresetListItem ¶
type ListVhostWatermarkPresetResResultWatermarkPresetListItem struct {
// 火山引擎账号 ID。
AccountID *string `json:"AccountID,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 水印模版 ID。
ID *int32 `json:"ID,omitempty"`
// 直播画面方向。
// * vertical:竖屏;
// * horizontal:横屏。
Orientation *string `json:"Orientation,omitempty"`
// 水印图片链接。
Picture *string `json:"Picture,omitempty"`
// 水印图片文件名。
PictureKey *string `json:"PictureKey,omitempty"`
// 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1]。
PosX *float32 `json:"PosX,omitempty"`
// 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1]。
PosY *float32 `json:"PosY,omitempty"`
// 水印相对宽度,水印宽度占直播转码流画面宽度的比例,取值范围为 [0,1],水印高度会随宽度等比缩放。
RelativeWidth *float32 `json:"RelativeWidth,omitempty"`
// 域名空间名称。
Vhost *string `json:"Vhost,omitempty"`
}
type ListVqosDimensionValues ¶
type ListVqosDimensionValues struct {
}
type ListVqosDimensionValuesReq ¶
type ListVqosDimensionValuesReq struct {
*ListVqosDimensionValuesQuery
*ListVqosDimensionValuesBody
}
type ListVqosDimensionValuesRes ¶
type ListVqosDimensionValuesRes struct {
// REQUIRED
ResponseMetadata ListVqosDimensionValuesResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result []ListVqosDimensionValuesResResultItem `json:"Result"`
}
type ListVqosDimensionValuesResResponseMetadata ¶
type ListVqosDimensionValuesResResponseMetadata struct {
// REQUIRED
RequestID string `json:"RequestId"`
}
type ListVqosMetricsDimensions ¶
type ListVqosMetricsDimensions struct {
}
type ListVqosMetricsDimensionsBody ¶
type ListVqosMetricsDimensionsBody struct {
}
type ListVqosMetricsDimensionsQuery ¶
type ListVqosMetricsDimensionsQuery struct {
// REQUIRED
VqosService string `json:"VqosService" query:"VqosService"`
}
type ListVqosMetricsDimensionsReq ¶
type ListVqosMetricsDimensionsReq struct {
*ListVqosMetricsDimensionsQuery
*ListVqosMetricsDimensionsBody
}
type ListVqosMetricsDimensionsRes ¶
type ListVqosMetricsDimensionsRes struct {
// REQUIRED
ResponseMetadata ListVqosMetricsDimensionsResResponseMetadata `json:"ResponseMetadata"`
// REQUIRED
Result []ListVqosMetricsDimensionsResResultItem `json:"Result"`
}
type ListVqosMetricsDimensionsResResponseMetadata ¶
type ListVqosMetricsDimensionsResResponseMetadata struct {
// REQUIRED
RequestID string `json:"RequestId"`
}
type ListVqosMetricsDimensionsResResultItem ¶
type ListVqosMetricsDimensionsResResultItem struct {
Dimensions []*ComponentsFceumsSchemasListvqosmetricsdimensionsresPropertiesResultItemsPropertiesDimensionsItems `json:"Dimensions,omitempty"`
Metrics []*ListVqosMetricsDimensionsResResultPropertiesItemsItem `json:"Metrics,omitempty"`
Service *string `json:"Service,omitempty"`
}
type ListVqosMetricsDimensionsResResultPropertiesItemsItem ¶
type ListVqosMetricsDimensionsResResultPropertiesItemsItem struct {
// REQUIRED
Alias string `json:"Alias"`
// REQUIRED
Attached string `json:"Attached"`
// REQUIRED
Attribute string `json:"Attribute"`
// REQUIRED
Desc string `json:"Desc"`
// REQUIRED
Name string `json:"Name"`
// REQUIRED
Type string `json:"Type"`
}
type ListWatermarkPreset ¶
type ListWatermarkPreset struct {
}
type ListWatermarkPresetBody ¶
type ListWatermarkPresetQuery ¶
type ListWatermarkPresetQuery struct {
}
type ListWatermarkPresetReq ¶
type ListWatermarkPresetReq struct {
*ListWatermarkPresetQuery
*ListWatermarkPresetBody
}
type ListWatermarkPresetRes ¶
type ListWatermarkPresetRes struct {
// REQUIRED
ResponseMetadata ListWatermarkPresetResResponseMetadata `json:"ResponseMetadata"`
Result *ListWatermarkPresetResResult `json:"Result,omitempty"`
}
type ListWatermarkPresetResResponseMetadata ¶
type ListWatermarkPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ListWatermarkPresetResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type ListWatermarkPresetResResult ¶
type ListWatermarkPresetResResult struct {
// REQUIRED; 水印模板。
Preset ListWatermarkPresetResResultPreset `json:"Preset"`
}
type ListWatermarkPresetResResultPreset ¶
type ListWatermarkPresetResResultPreset struct {
// 火山引擎账号 ID。
AccountID *string `json:"AccountID,omitempty"`
// 应用名称。
App *string `json:"App,omitempty"`
// 水印模版 ID。
ID *int32 `json:"ID,omitempty"`
// 直播画面方向。
// * vertical:竖屏;
// * horizontal:横屏。
Orientation *string `json:"Orientation,omitempty"`
// 水印图片链接。
Picture *string `json:"Picture,omitempty"`
// 水印图片文件名。
PictureKey *string `json:"PictureKey,omitempty"`
// 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1]。
PosX *float32 `json:"PosX,omitempty"`
// 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1]。
PosY *float32 `json:"PosY,omitempty"`
// 水印相对宽度,水印宽度占直播转码流画面宽度的比例,取值范围为 [0,1],水印高度会随宽度等比缩放。
RelativeWidth *float32 `json:"RelativeWidth,omitempty"`
// 域名空间名称。
Vhost *string `json:"Vhost,omitempty"`
}
ListWatermarkPresetResResultPreset - 水印模板。
type Live ¶
func NewInstance ¶
func NewInstance() *Live
func NewInstanceWithRegion ¶
func (*Live) BindCert ¶
func (c *Live) BindCert(ctx context.Context, arg *BindCertBody) (*BindCertRes, error)
func (*Live) CreateCert ¶
func (c *Live) CreateCert(ctx context.Context, arg *CreateCertBody) (*CreateCertRes, error)
func (*Live) CreateDomain ¶
func (c *Live) CreateDomain(ctx context.Context, arg *CreateDomainBody) (*CreateDomainRes, error)
func (*Live) CreateDomainV2 ¶
func (c *Live) CreateDomainV2(ctx context.Context, arg *CreateDomainV2Body) (*CreateDomainV2Res, error)
func (*Live) CreatePullRecordTask ¶
func (c *Live) CreatePullRecordTask(ctx context.Context, arg *CreatePullRecordTaskBody) (*CreatePullRecordTaskRes, error)
func (*Live) CreatePullToPushTask ¶
func (c *Live) CreatePullToPushTask(ctx context.Context, arg *CreatePullToPushTaskBody) (*CreatePullToPushTaskRes, error)
func (*Live) CreateRecordPresetV2 ¶
func (c *Live) CreateRecordPresetV2(ctx context.Context, arg *CreateRecordPresetV2Body) (*CreateRecordPresetV2Res, error)
func (*Live) CreateRelaySourceV4 ¶
func (c *Live) CreateRelaySourceV4(ctx context.Context, arg *CreateRelaySourceV4Body) (*CreateRelaySourceV4Res, error)
func (*Live) CreateSnapshotAuditPreset ¶
func (c *Live) CreateSnapshotAuditPreset(ctx context.Context, arg *CreateSnapshotAuditPresetBody) (*CreateSnapshotAuditPresetRes, error)
func (*Live) CreateSnapshotPreset ¶
func (c *Live) CreateSnapshotPreset(ctx context.Context, arg *CreateSnapshotPresetBody) (*CreateSnapshotPresetRes, error)
func (*Live) CreateTimeShiftPresetV3 ¶
func (c *Live) CreateTimeShiftPresetV3(ctx context.Context, arg *CreateTimeShiftPresetV3Body) (*CreateTimeShiftPresetV3Res, error)
func (*Live) CreateTranscodePreset ¶
func (c *Live) CreateTranscodePreset(ctx context.Context, arg *CreateTranscodePresetBody) (*CreateTranscodePresetRes, error)
func (*Live) CreateVerifyContent ¶
func (c *Live) CreateVerifyContent(ctx context.Context, arg *CreateVerifyContentBody) (*CreateVerifyContentRes, error)
func (*Live) CreateWatermarkPreset ¶
func (c *Live) CreateWatermarkPreset(ctx context.Context, arg *CreateWatermarkPresetBody) (*CreateWatermarkPresetRes, error)
func (*Live) DeleteCallback ¶
func (c *Live) DeleteCallback(ctx context.Context, arg *DeleteCallbackBody) (*DeleteCallbackRes, error)
func (*Live) DeleteCert ¶
func (c *Live) DeleteCert(ctx context.Context, arg *DeleteCertBody) (*DeleteCertRes, error)
func (*Live) DeleteDomain ¶
func (c *Live) DeleteDomain(ctx context.Context, arg *DeleteDomainBody) (*DeleteDomainRes, error)
func (*Live) DeletePullToPushTask ¶
func (c *Live) DeletePullToPushTask(ctx context.Context, arg *DeletePullToPushTaskBody) (*DeletePullToPushTaskRes, error)
func (*Live) DeleteRecordPreset ¶
func (c *Live) DeleteRecordPreset(ctx context.Context, arg *DeleteRecordPresetBody) (*DeleteRecordPresetRes, error)
func (*Live) DeleteReferer ¶
func (c *Live) DeleteReferer(ctx context.Context, arg *DeleteRefererBody) (*DeleteRefererRes, error)
func (*Live) DeleteRelaySourceV3 ¶
func (c *Live) DeleteRelaySourceV3(ctx context.Context, arg *DeleteRelaySourceV3Body) (*DeleteRelaySourceV3Res, error)
func (*Live) DeleteRelaySourceV4 ¶
func (c *Live) DeleteRelaySourceV4(ctx context.Context, arg *DeleteRelaySourceV4Body) (*DeleteRelaySourceV4Res, error)
func (*Live) DeleteSnapshotAuditPreset ¶
func (c *Live) DeleteSnapshotAuditPreset(ctx context.Context, arg *DeleteSnapshotAuditPresetBody) (*DeleteSnapshotAuditPresetRes, error)
func (*Live) DeleteSnapshotPreset ¶
func (c *Live) DeleteSnapshotPreset(ctx context.Context, arg *DeleteSnapshotPresetBody) (*DeleteSnapshotPresetRes, error)
func (*Live) DeleteStreamQuotaConfig ¶
func (c *Live) DeleteStreamQuotaConfig(ctx context.Context, arg *DeleteStreamQuotaConfigBody) (*DeleteStreamQuotaConfigRes, error)
func (*Live) DeleteTimeShiftPresetV3 ¶
func (c *Live) DeleteTimeShiftPresetV3(ctx context.Context, arg *DeleteTimeShiftPresetV3Body) (*DeleteTimeShiftPresetV3Res, error)
func (*Live) DeleteTranscodePreset ¶
func (c *Live) DeleteTranscodePreset(ctx context.Context, arg *DeleteTranscodePresetBody) (*DeleteTranscodePresetRes, error)
func (*Live) DeleteWatermarkPreset ¶
func (c *Live) DeleteWatermarkPreset(ctx context.Context, arg *DeleteWatermarkPresetBody) (*DeleteWatermarkPresetRes, error)
func (*Live) DescribeAuth ¶
func (c *Live) DescribeAuth(ctx context.Context, arg *DescribeAuthBody) (*DescribeAuthRes, error)
func (*Live) DescribeCDNSnapshotHistory ¶
func (c *Live) DescribeCDNSnapshotHistory(ctx context.Context, arg *DescribeCDNSnapshotHistoryBody) (*DescribeCDNSnapshotHistoryRes, error)
func (*Live) DescribeCallback ¶
func (c *Live) DescribeCallback(ctx context.Context, arg *DescribeCallbackBody) (*DescribeCallbackRes, error)
func (*Live) DescribeCertDetailSecretV2 ¶
func (c *Live) DescribeCertDetailSecretV2(ctx context.Context, arg *DescribeCertDetailSecretV2Body) (*DescribeCertDetailSecretV2Res, error)
func (*Live) DescribeClosedStreamInfoByPage ¶
func (c *Live) DescribeClosedStreamInfoByPage(ctx context.Context, arg *DescribeClosedStreamInfoByPageQuery) (*DescribeClosedStreamInfoByPageRes, error)
func (*Live) DescribeDenyConfig ¶
func (c *Live) DescribeDenyConfig(ctx context.Context, arg *DescribeDenyConfigBody) (*DescribeDenyConfigRes, error)
func (*Live) DescribeDomain ¶
func (c *Live) DescribeDomain(ctx context.Context, arg *DescribeDomainBody) (*DescribeDomainRes, error)
func (*Live) DescribeForbiddenStreamInfoByPage ¶
func (c *Live) DescribeForbiddenStreamInfoByPage(ctx context.Context, arg *DescribeForbiddenStreamInfoByPageQuery) (*DescribeForbiddenStreamInfoByPageRes, error)
func (*Live) DescribeIPInfo ¶
func (c *Live) DescribeIPInfo(ctx context.Context, arg *DescribeIPInfoBody) (*DescribeIPInfoRes, error)
func (*Live) DescribeLiveAuditData ¶
func (c *Live) DescribeLiveAuditData(ctx context.Context, arg *DescribeLiveAuditDataBody) (*DescribeLiveAuditDataRes, error)
func (*Live) DescribeLiveBandwidthData ¶
func (c *Live) DescribeLiveBandwidthData(ctx context.Context, arg *DescribeLiveBandwidthDataBody) (*DescribeLiveBandwidthDataRes, error)
func (*Live) DescribeLiveBatchPushStreamMetrics ¶
func (c *Live) DescribeLiveBatchPushStreamMetrics(ctx context.Context, arg *DescribeLiveBatchPushStreamMetricsBody) (*DescribeLiveBatchPushStreamMetricsRes, error)
func (*Live) DescribeLiveBatchSourceStreamMetrics ¶
func (c *Live) DescribeLiveBatchSourceStreamMetrics(ctx context.Context, arg *DescribeLiveBatchSourceStreamMetricsBody) (*DescribeLiveBatchSourceStreamMetricsRes, error)
func (*Live) DescribeLiveBatchStreamTrafficData ¶
func (c *Live) DescribeLiveBatchStreamTrafficData(ctx context.Context, arg *DescribeLiveBatchStreamTrafficDataBody) (*DescribeLiveBatchStreamTrafficDataRes, error)
func (*Live) DescribeLiveBatchStreamTranscodeData ¶
func (c *Live) DescribeLiveBatchStreamTranscodeData(ctx context.Context, arg *DescribeLiveBatchStreamTranscodeDataBody) (*DescribeLiveBatchStreamTranscodeDataRes, error)
func (*Live) DescribeLiveISPData ¶
func (c *Live) DescribeLiveISPData(ctx context.Context) (*DescribeLiveISPDataRes, error)
func (*Live) DescribeLiveMetricBandwidthData ¶
func (c *Live) DescribeLiveMetricBandwidthData(ctx context.Context, arg *DescribeLiveMetricBandwidthDataBody) (*DescribeLiveMetricBandwidthDataRes, error)
func (*Live) DescribeLiveMetricTrafficData ¶
func (c *Live) DescribeLiveMetricTrafficData(ctx context.Context, arg *DescribeLiveMetricTrafficDataBody) (*DescribeLiveMetricTrafficDataRes, error)
func (*Live) DescribeLiveP95PeakBandwidthData ¶
func (c *Live) DescribeLiveP95PeakBandwidthData(ctx context.Context, arg *DescribeLiveP95PeakBandwidthDataBody) (*DescribeLiveP95PeakBandwidthDataRes, error)
func (*Live) DescribeLivePlayStatusCodeData ¶
func (c *Live) DescribeLivePlayStatusCodeData(ctx context.Context, arg *DescribeLivePlayStatusCodeDataBody) (*DescribeLivePlayStatusCodeDataRes, error)
func (*Live) DescribeLivePullToPushBandwidthData ¶
func (c *Live) DescribeLivePullToPushBandwidthData(ctx context.Context, arg *DescribeLivePullToPushBandwidthDataBody) (*DescribeLivePullToPushBandwidthDataRes, error)
func (*Live) DescribeLivePullToPushData ¶
func (c *Live) DescribeLivePullToPushData(ctx context.Context, arg *DescribeLivePullToPushDataBody) (*DescribeLivePullToPushDataRes, error)
func (*Live) DescribeLivePushStreamCountData ¶
func (c *Live) DescribeLivePushStreamCountData(ctx context.Context, arg *DescribeLivePushStreamCountDataBody) (*DescribeLivePushStreamCountDataRes, error)
func (*Live) DescribeLivePushStreamMetrics ¶
func (c *Live) DescribeLivePushStreamMetrics(ctx context.Context, arg *DescribeLivePushStreamMetricsBody) (*DescribeLivePushStreamMetricsRes, error)
func (*Live) DescribeLiveRecordData ¶
func (c *Live) DescribeLiveRecordData(ctx context.Context, arg *DescribeLiveRecordDataBody) (*DescribeLiveRecordDataRes, error)
func (*Live) DescribeLiveRegionData ¶
func (c *Live) DescribeLiveRegionData(ctx context.Context) (*DescribeLiveRegionDataRes, error)
func (*Live) DescribeLiveSnapshotData ¶
func (c *Live) DescribeLiveSnapshotData(ctx context.Context, arg *DescribeLiveSnapshotDataBody) (*DescribeLiveSnapshotDataRes, error)
func (*Live) DescribeLiveSourceBandwidthData ¶
func (c *Live) DescribeLiveSourceBandwidthData(ctx context.Context, arg *DescribeLiveSourceBandwidthDataBody) (*DescribeLiveSourceBandwidthDataRes, error)
func (*Live) DescribeLiveSourceStreamMetrics ¶
func (c *Live) DescribeLiveSourceStreamMetrics(ctx context.Context, arg *DescribeLiveSourceStreamMetricsBody) (*DescribeLiveSourceStreamMetricsRes, error)
func (*Live) DescribeLiveSourceTrafficData ¶
func (c *Live) DescribeLiveSourceTrafficData(ctx context.Context, arg *DescribeLiveSourceTrafficDataBody) (*DescribeLiveSourceTrafficDataRes, error)
func (*Live) DescribeLiveStreamCountData ¶
func (c *Live) DescribeLiveStreamCountData(ctx context.Context, arg *DescribeLiveStreamCountDataBody) (*DescribeLiveStreamCountDataRes, error)
func (*Live) DescribeLiveStreamInfoByPage ¶
func (c *Live) DescribeLiveStreamInfoByPage(ctx context.Context, arg *DescribeLiveStreamInfoByPageQuery) (*DescribeLiveStreamInfoByPageRes, error)
func (*Live) DescribeLiveStreamSessionData ¶
func (c *Live) DescribeLiveStreamSessionData(ctx context.Context, arg *DescribeLiveStreamSessionDataBody) (*DescribeLiveStreamSessionDataRes, error)
func (*Live) DescribeLiveStreamState ¶
func (c *Live) DescribeLiveStreamState(ctx context.Context, arg *DescribeLiveStreamStateQuery) (*DescribeLiveStreamStateRes, error)
func (*Live) DescribeLiveTimeShiftData ¶
func (c *Live) DescribeLiveTimeShiftData(ctx context.Context, arg *DescribeLiveTimeShiftDataBody) (*DescribeLiveTimeShiftDataRes, error)
func (*Live) DescribeLiveTrafficData ¶
func (c *Live) DescribeLiveTrafficData(ctx context.Context, arg *DescribeLiveTrafficDataBody) (*DescribeLiveTrafficDataRes, error)
func (*Live) DescribeLiveTranscodeData ¶
func (c *Live) DescribeLiveTranscodeData(ctx context.Context, arg *DescribeLiveTranscodeDataBody) (*DescribeLiveTranscodeDataRes, error)
func (*Live) DescribeRecordTaskFileHistory ¶
func (c *Live) DescribeRecordTaskFileHistory(ctx context.Context, arg *DescribeRecordTaskFileHistoryBody) (*DescribeRecordTaskFileHistoryRes, error)
func (*Live) DescribeReferer ¶
func (c *Live) DescribeReferer(ctx context.Context, arg *DescribeRefererBody) (*DescribeRefererRes, error)
func (*Live) DescribeRelaySourceV3 ¶
func (c *Live) DescribeRelaySourceV3(ctx context.Context, arg *DescribeRelaySourceV3Body) (*DescribeRelaySourceV3Res, error)
func (*Live) DescribeStreamQuotaConfig ¶
func (c *Live) DescribeStreamQuotaConfig(ctx context.Context, arg *DescribeStreamQuotaConfigBody) (*DescribeStreamQuotaConfigRes, error)
func (*Live) DisableDomain ¶
func (c *Live) DisableDomain(ctx context.Context, arg *DisableDomainBody) (*DisableDomainRes, error)
func (*Live) EnableDomain ¶
func (c *Live) EnableDomain(ctx context.Context, arg *EnableDomainBody) (*EnableDomainRes, error)
func (*Live) ForbidStream ¶
func (c *Live) ForbidStream(ctx context.Context, arg *ForbidStreamBody) (*ForbidStreamRes, error)
func (*Live) GeneratePlayURL ¶
func (c *Live) GeneratePlayURL(ctx context.Context, arg *GeneratePlayURLBody) (*GeneratePlayURLRes, error)
func (*Live) GeneratePushURL ¶
func (c *Live) GeneratePushURL(ctx context.Context, arg *GeneratePushURLBody) (*GeneratePushURLRes, error)
func (*Live) GetVqosRawData ¶
func (c *Live) GetVqosRawData(ctx context.Context, arg *GetVqosRawDataReq) (*GetVqosRawDataRes, error)
func (*Live) KillStream ¶
func (c *Live) KillStream(ctx context.Context, arg *KillStreamBody) (*KillStreamRes, error)
func (*Live) ListCertV2 ¶
func (c *Live) ListCertV2(ctx context.Context, arg *ListCertV2Body) (*ListCertV2Res, error)
func (*Live) ListCommonTransPresetDetail ¶
func (c *Live) ListCommonTransPresetDetail(ctx context.Context, arg *ListCommonTransPresetDetailBody) (*ListCommonTransPresetDetailRes, error)
func (*Live) ListDomainDetail ¶
func (c *Live) ListDomainDetail(ctx context.Context, arg *ListDomainDetailBody) (*ListDomainDetailRes, error)
func (*Live) ListPullRecordTask ¶
func (c *Live) ListPullRecordTask(ctx context.Context, arg *ListPullRecordTaskBody) (*ListPullRecordTaskRes, error)
func (*Live) ListPullToPushTask ¶
func (c *Live) ListPullToPushTask(ctx context.Context, arg *ListPullToPushTaskQuery) (*ListPullToPushTaskRes, error)
func (*Live) ListRelaySourceV4 ¶
func (c *Live) ListRelaySourceV4(ctx context.Context, arg *ListRelaySourceV4Body) (*ListRelaySourceV4Res, error)
func (*Live) ListTimeShiftPresetV2 ¶
func (c *Live) ListTimeShiftPresetV2(ctx context.Context, arg *ListTimeShiftPresetV2Body) (*ListTimeShiftPresetV2Res, error)
func (*Live) ListVhostRecordPresetV2 ¶
func (c *Live) ListVhostRecordPresetV2(ctx context.Context, arg *ListVhostRecordPresetV2Body) (*ListVhostRecordPresetV2Res, error)
func (*Live) ListVhostSnapshotAuditPreset ¶
func (c *Live) ListVhostSnapshotAuditPreset(ctx context.Context, arg *ListVhostSnapshotAuditPresetBody) (*ListVhostSnapshotAuditPresetRes, error)
func (*Live) ListVhostSnapshotPreset ¶
func (c *Live) ListVhostSnapshotPreset(ctx context.Context, arg *ListVhostSnapshotPresetBody) (*ListVhostSnapshotPresetRes, error)
func (*Live) ListVhostTransCodePreset ¶
func (c *Live) ListVhostTransCodePreset(ctx context.Context, arg *ListVhostTransCodePresetBody) (*ListVhostTransCodePresetRes, error)
func (*Live) ListVhostWatermarkPreset ¶
func (c *Live) ListVhostWatermarkPreset(ctx context.Context, arg *ListVhostWatermarkPresetBody) (*ListVhostWatermarkPresetRes, error)
func (*Live) ListVqosDimensionValues ¶
func (c *Live) ListVqosDimensionValues(ctx context.Context, arg *ListVqosDimensionValuesReq) (*ListVqosDimensionValuesRes, error)
func (*Live) ListVqosMetricsDimensions ¶
func (c *Live) ListVqosMetricsDimensions(ctx context.Context, arg *ListVqosMetricsDimensionsQuery) (*ListVqosMetricsDimensionsRes, error)
func (*Live) ListWatermarkPreset ¶
func (c *Live) ListWatermarkPreset(ctx context.Context, arg *ListWatermarkPresetBody) (*ListWatermarkPresetRes, error)
func (*Live) RestartPullToPushTask ¶
func (c *Live) RestartPullToPushTask(ctx context.Context, arg *RestartPullToPushTaskBody) (*RestartPullToPushTaskRes, error)
func (*Live) ResumeStream ¶
func (c *Live) ResumeStream(ctx context.Context, arg *ResumeStreamBody) (*ResumeStreamRes, error)
func (*Live) StopPullRecordTask ¶
func (c *Live) StopPullRecordTask(ctx context.Context, arg *StopPullRecordTaskBody) (*StopPullRecordTaskRes, error)
func (*Live) StopPullToPushTask ¶
func (c *Live) StopPullToPushTask(ctx context.Context, arg *StopPullToPushTaskBody) (*StopPullToPushTaskRes, error)
func (*Live) UnbindCert ¶
func (c *Live) UnbindCert(ctx context.Context, arg *UnbindCertBody) (*UnbindCertRes, error)
func (*Live) UpdateAuthKey ¶
func (c *Live) UpdateAuthKey(ctx context.Context, arg *UpdateAuthKeyBody) (*UpdateAuthKeyRes, error)
func (*Live) UpdateCallback ¶
func (c *Live) UpdateCallback(ctx context.Context, arg *UpdateCallbackBody) (*UpdateCallbackRes, error)
func (*Live) UpdateDenyConfig ¶
func (c *Live) UpdateDenyConfig(ctx context.Context, arg *UpdateDenyConfigBody) (*UpdateDenyConfigRes, error)
func (*Live) UpdateDomainVhost ¶
func (c *Live) UpdateDomainVhost(ctx context.Context, arg *UpdateDomainVhostBody) (*UpdateDomainVhostRes, error)
func (*Live) UpdatePullToPushTask ¶
func (c *Live) UpdatePullToPushTask(ctx context.Context, arg *UpdatePullToPushTaskBody) (*UpdatePullToPushTaskRes, error)
func (*Live) UpdateRecordPresetV2 ¶
func (c *Live) UpdateRecordPresetV2(ctx context.Context, arg *UpdateRecordPresetV2Body) (*UpdateRecordPresetV2Res, error)
func (*Live) UpdateReferer ¶
func (c *Live) UpdateReferer(ctx context.Context, arg *UpdateRefererBody) (*UpdateRefererRes, error)
func (*Live) UpdateRelaySourceV3 ¶
func (c *Live) UpdateRelaySourceV3(ctx context.Context, arg *UpdateRelaySourceV3Body) (*UpdateRelaySourceV3Res, error)
func (*Live) UpdateRelaySourceV4 ¶
func (c *Live) UpdateRelaySourceV4(ctx context.Context, arg *UpdateRelaySourceV4Body) (*UpdateRelaySourceV4Res, error)
func (*Live) UpdateSnapshotAuditPreset ¶
func (c *Live) UpdateSnapshotAuditPreset(ctx context.Context, arg *UpdateSnapshotAuditPresetBody) (*UpdateSnapshotAuditPresetRes, error)
func (*Live) UpdateSnapshotPreset ¶
func (c *Live) UpdateSnapshotPreset(ctx context.Context, arg *UpdateSnapshotPresetBody) (*UpdateSnapshotPresetRes, error)
func (*Live) UpdateStreamQuotaConfig ¶
func (c *Live) UpdateStreamQuotaConfig(ctx context.Context, arg *UpdateStreamQuotaConfigBody) (*UpdateStreamQuotaConfigRes, error)
func (*Live) UpdateTimeShiftPresetV3 ¶
func (c *Live) UpdateTimeShiftPresetV3(ctx context.Context, arg *UpdateTimeShiftPresetV3Body) (*UpdateTimeShiftPresetV3Res, error)
func (*Live) UpdateTranscodePreset ¶
func (c *Live) UpdateTranscodePreset(ctx context.Context, arg *UpdateTranscodePresetBody) (*UpdateTranscodePresetRes, error)
func (*Live) UpdateWatermarkPreset ¶
func (c *Live) UpdateWatermarkPreset(ctx context.Context, arg *UpdateWatermarkPresetBody) (*UpdateWatermarkPresetRes, error)
func (*Live) VerifyDomainOwner ¶
func (c *Live) VerifyDomainOwner(ctx context.Context, arg *VerifyDomainOwnerBody) (*VerifyDomainOwnerRes, error)
type RestartPullToPushTask ¶
type RestartPullToPushTask struct {
}
type RestartPullToPushTaskBody ¶
type RestartPullToPushTaskBody struct {
// REQUIRED; 任务 ID,任务的唯一标识。
TaskID string `json:"TaskId"`
}
type RestartPullToPushTaskQuery ¶
type RestartPullToPushTaskQuery struct {
}
type RestartPullToPushTaskReq ¶
type RestartPullToPushTaskReq struct {
*RestartPullToPushTaskQuery
*RestartPullToPushTaskBody
}
type RestartPullToPushTaskRes ¶
type RestartPullToPushTaskRes struct {
// REQUIRED
ResponseMetadata RestartPullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
}
type RestartPullToPushTaskResResponseMetadata ¶
type RestartPullToPushTaskResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *RestartPullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
}
type ResumeStream ¶
type ResumeStream struct {
}
type ResumeStreamBody ¶
type ResumeStreamQuery ¶
type ResumeStreamQuery struct {
}
type ResumeStreamReq ¶
type ResumeStreamReq struct {
*ResumeStreamQuery
*ResumeStreamBody
}
type ResumeStreamRes ¶
type ResumeStreamRes struct {
// REQUIRED
ResponseMetadata ResumeStreamResResponseMetadata `json:"ResponseMetadata"`
}
type ResumeStreamResResponseMetadata ¶
type ResumeStreamResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *ResumeStreamResResponseMetadataError `json:"Error,omitempty"`
}
type StopPullRecordTask ¶
type StopPullRecordTask struct {
}
type StopPullRecordTaskBody ¶
type StopPullRecordTaskBody struct {
// REQUIRED; 停止任务的TaskId
TaskID string `json:"TaskId"`
}
type StopPullRecordTaskQuery ¶
type StopPullRecordTaskQuery struct {
}
type StopPullRecordTaskReq ¶
type StopPullRecordTaskReq struct {
*StopPullRecordTaskQuery
*StopPullRecordTaskBody
}
type StopPullRecordTaskRes ¶
type StopPullRecordTaskRes struct {
// REQUIRED
ResponseMetadata StopPullRecordTaskResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type StopPullRecordTaskResResponseMetadata ¶
type StopPullRecordTaskResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type StopPullToPushTask ¶
type StopPullToPushTask struct {
}
type StopPullToPushTaskBody ¶
type StopPullToPushTaskBody struct {
// REQUIRED; 任务 ID,任务的唯一标识。
TaskID string `json:"TaskId"`
}
type StopPullToPushTaskQuery ¶
type StopPullToPushTaskQuery struct {
}
type StopPullToPushTaskReq ¶
type StopPullToPushTaskReq struct {
*StopPullToPushTaskQuery
*StopPullToPushTaskBody
}
type StopPullToPushTaskRes ¶
type StopPullToPushTaskRes struct {
// REQUIRED
ResponseMetadata StopPullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
}
type StopPullToPushTaskResResponseMetadata ¶
type StopPullToPushTaskResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *StopPullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
}
type UnbindCert ¶
type UnbindCert struct {
}
type UnbindCertBody ¶
type UnbindCertBody struct {
// REQUIRED; 需要解绑证书的域名。
Domain string `json:"Domain"`
}
type UnbindCertQuery ¶
type UnbindCertQuery struct {
}
type UnbindCertReq ¶
type UnbindCertReq struct {
*UnbindCertQuery
*UnbindCertBody
}
type UnbindCertRes ¶
type UnbindCertRes struct {
// REQUIRED
ResponseMetadata UnbindCertResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UnbindCertResResponseMetadata ¶
type UnbindCertResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UnbindCertResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateAuthKey ¶
type UpdateAuthKey struct {
}
type UpdateAuthKeyBody ¶
type UpdateAuthKeyBody struct {
// REQUIRED; 鉴权详情,数量阈值为 100。
AuthDetailList []UpdateAuthKeyBodyAuthDetailListItem `json:"AuthDetailList"`
// REQUIRED; 鉴权场景类型。
// * push:推流鉴权;
// * pull:拉流鉴权;
SceneType string `json:"SceneType"`
// 应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty"`
// 推/拉流域名。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 鉴权状态。创建推拉流鉴权时,默认值为 false;更新推拉流鉴权时,缺省情况表示不修改推拉流鉴权状态。
// * false:关闭推拉流鉴权;
// * true:开启推拉流鉴权。
PushPullEnable *bool `json:"PushPullEnable,omitempty"`
// 有效时长,单位为 s,默认值为 604800,取值范围为 [60,2592000]。
ValidDuration *int32 `json:"ValidDuration,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type UpdateAuthKeyBodyAuthDetailListItem ¶
type UpdateAuthKeyBodyAuthDetailListItem struct {
// REQUIRED; 推/拉流鉴权时必选
EncryptionAlgorithm string `json:"EncryptionAlgorithm"`
// REQUIRED; 推/拉流鉴权时必选
SecretKey string `json:"SecretKey"`
// 推/拉流鉴权时必选
AuthField map[string]*string `json:"AuthField,omitempty"`
// 推/拉流鉴权时必选
EncryptField []*string `json:"EncryptField,omitempty"`
}
type UpdateAuthKeyQuery ¶
type UpdateAuthKeyQuery struct {
}
type UpdateAuthKeyReq ¶
type UpdateAuthKeyReq struct {
*UpdateAuthKeyQuery
*UpdateAuthKeyBody
}
type UpdateAuthKeyRes ¶
type UpdateAuthKeyRes struct {
// REQUIRED
ResponseMetadata UpdateAuthKeyResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UpdateAuthKeyResResponseMetadata ¶
type UpdateAuthKeyResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateAuthKeyResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateCallback ¶
type UpdateCallback struct {
}
type UpdateCallbackBody ¶
type UpdateCallbackBody struct {
// REQUIRED; 回调信息列表。
CallbackDetailList []UpdateCallbackBodyCallbackDetailListItem `json:"CallbackDetailList"`
// REQUIRED; 消息类型。包括以下类型。
// * push:推流开始回调;
// * push_end:推流结束回调;
// * snapshot:截图回调;
// * record:录制回调;
// * audit_snapshot:截图审核回调。
MessageType string `json:"MessageType"`
// domain / app 二选一必传
App *string `json:"App,omitempty"`
// 是否开启鉴权,默认为 false。取值及含义如下所示。
// * false:不开启;
// * true:开启。
AuthEnable *bool `json:"AuthEnable,omitempty"`
// 密钥。 :::tip 如果 AuthEnable 为 true,则密钥必填。 :::
AuthKeyPrimary *string `json:"AuthKeyPrimary,omitempty"`
// 推流域名。Vhost和Domain传且仅传一个。
Domain *string `json:"Domain,omitempty"`
// 是否开启转码流回调,默认为 0。取值及含义如下所示。
// * 0:false,不开启;
// * 1:true,开启。
TranscodeCallback *int32 `json:"TranscodeCallback,omitempty"`
// domain / app 二选一必传
Vhost *string `json:"Vhost,omitempty"`
}
type UpdateCallbackQuery ¶
type UpdateCallbackQuery struct {
}
type UpdateCallbackReq ¶
type UpdateCallbackReq struct {
*UpdateCallbackQuery
*UpdateCallbackBody
}
type UpdateCallbackRes ¶
type UpdateCallbackRes struct {
// REQUIRED
ResponseMetadata UpdateCallbackResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UpdateCallbackResResponseMetadata ¶
type UpdateCallbackResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateCallbackResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateDenyConfig ¶
type UpdateDenyConfig struct {
}
type UpdateDenyConfigBody ¶
type UpdateDenyConfigBody struct {
// REQUIRED; 黑白名单配置列表。
DenyConfigList []UpdateDenyConfigBodyDenyConfigListItem `json:"DenyConfigList"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 推/拉流域名。
Domain *string `json:"Domain,omitempty"`
}
type UpdateDenyConfigQuery ¶
type UpdateDenyConfigQuery struct {
}
type UpdateDenyConfigReq ¶
type UpdateDenyConfigReq struct {
*UpdateDenyConfigQuery
*UpdateDenyConfigBody
}
type UpdateDenyConfigRes ¶
type UpdateDenyConfigRes struct {
// REQUIRED
ResponseMetadata UpdateDenyConfigResResponseMetadata `json:"ResponseMetadata"`
}
type UpdateDenyConfigResResponseMetadata ¶
type UpdateDenyConfigResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateDenyConfigResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateDomainVhost ¶
type UpdateDomainVhost struct {
}
type UpdateDomainVhostBody ¶
type UpdateDomainVhostQuery ¶
type UpdateDomainVhostQuery struct {
}
type UpdateDomainVhostReq ¶
type UpdateDomainVhostReq struct {
*UpdateDomainVhostQuery
*UpdateDomainVhostBody
}
type UpdateDomainVhostRes ¶
type UpdateDomainVhostRes struct {
// REQUIRED
ResponseMetadata UpdateDomainVhostResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateDomainVhostResResponseMetadata ¶
type UpdateDomainVhostResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateDomainVhostResResponseMetadataError `json:"Error,omitempty"`
}
type UpdatePullToPushTask ¶
type UpdatePullToPushTask struct {
}
type UpdatePullToPushTaskBody ¶
type UpdatePullToPushTaskBody struct {
// REQUIRED; 结束时间,Unix 时间戳(秒)
EndTime int32 `json:"EndTime"`
// REQUIRED; 开始时间,Unix 时间戳,单位为 s
StartTime int32 `json:"StartTime"`
// REQUIRED; 任务 ID,任务的唯一标识
TaskID string `json:"TaskId"`
// REQUIRED; 拉流来源类型。支持以下 2 种取值。
// * 0:直播源;
// * 1:点播视频。
Type int32 `json:"Type"`
// 推流 App 名称,DstAddr为空时必传;反之,则该参数不生效
App *string `json:"App,omitempty"`
// 回调地址,最大长度为 512 个字符
CallbackURL *string `json:"CallbackURL,omitempty"`
// 续播策略,支持以下配置项。
// * 0:从断流处续播(默认值);
// * 1:从断流处+自然流逝时长处续播。
ContinueStrategy *int32 `json:"ContinueStrategy,omitempty"`
// 循环模式。当 "Type":1 时,为必选参数。当 "Type":0 时,该参数无效。参数取值及含义如下所示。
// * -1:表示无限循环,至任务结束;
// * ≥1:取值表示循环的次数。
CycleMode *int32 `json:"CycleMode,omitempty"`
// 推流域名,DstAddr为空时必传;反之,则该参数不生效
Domain *string `json:"Domain,omitempty"`
// 推流地址
DstAddr *string `json:"DstAddr,omitempty"`
// 点播文件启播时间偏移值,仅当 SrcAddr 不为空时生效。
Offset *float32 `json:"Offset,omitempty"`
// 点播文件启播时间偏移值, 单位秒;数量与 SrcAddrS 列表数量相等。
OffsetS []*float32 `json:"OffsetS,omitempty"`
// 播放次数,仅当 CycleMode 为 0 时生效。
PlayTimes *int32 `json:"PlayTimes,omitempty"`
// 是否开启点播预热,仅对点播地址生效。
// * 0:不开启;
// * 1: 开启(默认值)。
PreDownload *int32 `json:"PreDownload,omitempty"`
// 拉流地址,当Type 取值为 0,即拉流来源为直播源时,为必选项。 最大长度为 1000 个字符。
SrcAddr *string `json:"SrcAddr,omitempty"`
// 点播列表,当 Type 取值为 1,即拉流来源为点播视频时,为必选项
SrcAddrS []*string `json:"SrcAddrS,omitempty"`
// 转推的推流流名,DstAddr为空时必传;反之,则该参数不生效
Stream *string `json:"Stream,omitempty"`
// 标题,支持中英文字符、数字,最大长度为 10 个字符
Title *string `json:"Title,omitempty"`
// 水印信息
Watermark *UpdatePullToPushTaskBodyWatermark `json:"Watermark,omitempty"`
}
type UpdatePullToPushTaskBodyWatermark ¶
type UpdatePullToPushTaskBodyWatermark struct {
// REQUIRED; 水印图片字符串,图片最大 2MB,最小 100Bytes,最大分辨率为 1080×1080。图片 Data URL 格式为:data:[<mediatype>];[base64],<data>。
// * mediatype:图片类型,支持 png、jpg、jpeg 格式;
// * data:base64 编码的图片字符串。
// 例如,data:image/png;base64,iVBORw0KGg****mCC
Picture string `json:"Picture"`
// REQUIRED; 水印宽度,占直播原始画面宽度百分比,支持精度,小数点后两位
Ratio float32 `json:"Ratio"`
// REQUIRED; 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosX float32 `json:"RelativePosX"`
// REQUIRED; 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1)
RelativePosY float32 `json:"RelativePosY"`
}
UpdatePullToPushTaskBodyWatermark - 水印信息
type UpdatePullToPushTaskQuery ¶
type UpdatePullToPushTaskQuery struct {
}
type UpdatePullToPushTaskReq ¶
type UpdatePullToPushTaskReq struct {
*UpdatePullToPushTaskQuery
*UpdatePullToPushTaskBody
}
type UpdatePullToPushTaskRes ¶
type UpdatePullToPushTaskRes struct {
// REQUIRED
ResponseMetadata UpdatePullToPushTaskResResponseMetadata `json:"ResponseMetadata"`
}
type UpdatePullToPushTaskResResponseMetadata ¶
type UpdatePullToPushTaskResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdatePullToPushTaskResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateRecordPresetV2 ¶
type UpdateRecordPresetV2 struct {
}
type UpdateRecordPresetV2Body ¶
type UpdateRecordPresetV2Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 模版名称,由 1 到 50 位数字、字母、下划线及"-"和"."组成。可调用 ListVhostRecordPresetV2 [https://www.volcengine.com/docs/6469/1126858]
// 接口,查询模版名称。
Preset string `json:"Preset"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 录制模板详细配置。
RecordPresetConfig *UpdateRecordPresetV2BodyRecordPresetConfig `json:"RecordPresetConfig,omitempty"`
// 流名称。
Stream *string `json:"Stream,omitempty"`
}
type UpdateRecordPresetV2BodyRecordPresetConfig ¶
type UpdateRecordPresetV2BodyRecordPresetConfig struct {
// FLV 录制参数,开启 FLV 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
FlvParam *UpdateRecordPresetV2BodyRecordPresetConfigFlvParam `json:"FlvParam,omitempty"`
// HLS 录制参数,开启 HLS 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
HlsParam *UpdateRecordPresetV2BodyRecordPresetConfigHlsParam `json:"HlsParam,omitempty"`
// MP4 录制参数,开启 MP4 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
Mp4Param *UpdateRecordPresetV2BodyRecordPresetConfigMp4Param `json:"Mp4Param,omitempty"`
// 源流录制,默认值为 0。支持的取值如下所示。
// * 0:不录制;
// * 1:录制。
// :::tipTranscodeRecord和OriginRecord的取值至少一个为 1。 :::
OriginRecord *int32 `json:"OriginRecord,omitempty"`
// 录制 HLS 格式时,单个 TS 切片时长,单位为 s,默认值为 5,取值范围为 [5,30]。
SliceDuration *int32 `json:"SliceDuration,omitempty"`
// 转码流录制,默认值为 0。支持的取值如下所示。
// * 0:不录制;
// * 1:录制。
// :::tipTranscodeRecord和OriginRecord的取值至少一个为 1。 :::
TranscodeRecord *int32 `json:"TranscodeRecord,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfig - 录制模板详细配置。
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParam struct {
// 断流等待时长,取值范围[0, 3600]。
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对 HLS 生效。
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]。
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// * -1:一直拼接;
// * 0:不拼接;
// * 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置。 :::tipTOSParam和VODParam配置且配置其中一个。 :::
TOSParam *UpdateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置。 :::tipTOSParam和VODParam配置且配置其中一个。 :::
VODParam *UpdateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam `json:"VODParam,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigFlvParam - FLV 录制参数,开启 FLV 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket。 :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空。
StorageDir *string `json:"StorageDir,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigFlvParamTOSParam - TOS 存储相关配置。 :::tipTOSParam和VODParam配置且配置其中一个。 :::
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询。 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace
// 必填。 :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID。
WorkflowID *string `json:"WorkflowID,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigFlvParamVODParam - VOD 存储相关配置。 :::tipTOSParam和VODParam配置且配置其中一个。 :::
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParam struct {
// 断流等待时长,取值范围[0, 3600]
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对HLS生效
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// -1:一直拼接; 0:不拼接; 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
TOSParam *UpdateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
VODParam *UpdateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam `json:"VODParam,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigHlsParam - HLS 录制参数,开启 HLS 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空
StorageDir *string `json:"StorageDir,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigHlsParamTOSParam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace 必填。
// :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID
WorkflowID *string `json:"WorkflowID,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigHlsParamVODParam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type UpdateRecordPresetV2BodyRecordPresetConfigMp4Param ¶
type UpdateRecordPresetV2BodyRecordPresetConfigMp4Param struct {
// 断流等待时长,取值范围[0, 3600]
ContinueDuration *int32 `json:"ContinueDuration,omitempty"`
// 断流录制单文件录制时长,单位为 s,默认值为 7200,取值范围为 -1,[300,86400],-1表示一直录制,目前只对HLS生效
Duration *int32 `json:"Duration,omitempty"`
// 当前格式的录制是否开启,默认 false,取值及含义如下所示。
// * false:不开启;
// * true:开启。
Enable *bool `json:"Enable,omitempty"`
// 实时录制文件时长,单位为 s,取值范围为 [300,21600]
RealtimeRecordDuration *int32 `json:"RealtimeRecordDuration,omitempty"`
// 断流拼接间隔时长,对实时录制无效,单位为 s,默认值为 0。支持的取值如下所示。
// -1:一直拼接; 0:不拼接; 大于 0:断流拼接时间间隔,对 HLS 录制生效。
Splice *int32 `json:"Splice,omitempty"`
// TOS 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
TOSParam *UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam `json:"TOSParam,omitempty"`
// VOD 存储相关配置
// 说明
// TOSParam和VODParam配置且配置其中一个。
VODParam *UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam `json:"VODParam,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigMp4Param - MP4 录制参数,开启 MP4 录制时设置。 :::tipFlvParam、HlsParam、Mp4Param至少开启一个。 :::
type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam struct {
// TOS 存储空间,一般使用 CDN 对应的 Bucket :::tip 如果 TOSParam 中的 Enable 取值为 true,则 Bucket 必填。 :::
Bucket *string `json:"Bucket,omitempty"`
// 是否使用 TOS 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置。存储路径为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime}
ExactObject *string `json:"ExactObject,omitempty"`
// TOS 存储目录,默认为空
StorageDir *string `json:"StorageDir,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamTOSParam - TOS 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam ¶
type UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam struct {
// 直播录制文件存储到点播时的视频分类 ID,您可以通过视频点播的ListVideoClassifications [https://www.volcengine.com/docs/4/101661]接口查询视频分类 ID 等信息。
ClassificationID *int32 `json:"ClassificationID,omitempty"`
// 是否使用 VOD 存储,默认为 false,取值及含义如下所示。
// * false:不使用;
// * true:使用。
Enable *bool `json:"Enable,omitempty"`
// 录制文件的存储位置,最大长度为 200 个字符。默认的存储位置为record/{PubDomain}/{App}/{Stream}/{StartTime}_{EndTime},参数格式要求如下所示。
// * 支持删除固定路径,如 {App}/{Stream};
// * 不支持以正斜线(/)或者反斜线(\)开头;
// * 不支持 “//” 和 “/./” 等字符串;
// * 不支持 \b、\t、\n、\v、\f、\r 等字符;
// * 不支持 “..” 作为文件名;
// * 目录层级至少包含 2 级及以上,如live/{App}/{Stream}。
ExactObject *string `json:"ExactObject,omitempty"`
// 直播录制文件存储到点播时的存储类型。默认值为 1,支持的取值及含义如下所示。
// * 1:标准存储;
// * 2:归档存储。
StorageClass *int32 `json:"StorageClass,omitempty"`
// 视频点播(VOD)空间名称。可登录视频点播控制台 [https://console.volcengine.com/vod/]查询 :::tip 如果 VODParam 中的 Enable 取值为 true,则 VodNamespace 必填。
// :::
VodNamespace *string `json:"VodNamespace,omitempty"`
// 工作流模版 ID,对于存储在点播的录制文件,会使用该工作流模版对视频进行处理。可登录视频点播控制台 [https://console.volcengine.com/vod/]获取 ID
WorkflowID *string `json:"WorkflowID,omitempty"`
}
UpdateRecordPresetV2BodyRecordPresetConfigMp4ParamVODParam - VOD 存储相关配置 说明 TOSParam和VODParam配置且配置其中一个。
type UpdateRecordPresetV2Query ¶
type UpdateRecordPresetV2Query struct {
}
type UpdateRecordPresetV2Req ¶
type UpdateRecordPresetV2Req struct {
*UpdateRecordPresetV2Query
*UpdateRecordPresetV2Body
}
type UpdateRecordPresetV2Res ¶
type UpdateRecordPresetV2Res struct {
// REQUIRED
ResponseMetadata UpdateRecordPresetV2ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateRecordPresetV2ResResponseMetadata ¶
type UpdateRecordPresetV2ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateRecordPresetV2ResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateReferer ¶
type UpdateReferer struct {
}
type UpdateRefererBody ¶
type UpdateRefererBody struct {
// REQUIRED; Referer 防盗链信息列表。
RefererInfoList []UpdateRefererBodyRefererInfoListItem `json:"RefererInfoList"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。 :::tip 参数 Domain 和 App 传且仅传一个。 :::
App *string `json:"App,omitempty"`
// 拉流域名。 :::tip 参数 Domain 和 App 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
}
type UpdateRefererBodyRefererInfoListItem ¶
type UpdateRefererBodyRefererInfoListItem struct {
// REQUIRED; 用于标识 referer 防盗链的关键词默认取值为 referer。
Key string `json:"Key"`
// REQUIRED; 防盗链类型,支持如下取值。
// * deny:黑名单;
// * allow:白名单。
Type string `json:"Type"`
// 指定域名的优先级。默认值为 0,取值范围为 [0,100],数值越大,优先级越高。如果优先级相同,则越早加入列表的域名优先级越高。
Priority *int32 `json:"Priority,omitempty"`
// 防盗链规则,即设置的黑名单或白名单的域名,最大长度限制 300 个字符。
Value *string `json:"Value,omitempty"`
}
type UpdateRefererQuery ¶
type UpdateRefererQuery struct {
}
type UpdateRefererReq ¶
type UpdateRefererReq struct {
*UpdateRefererQuery
*UpdateRefererBody
}
type UpdateRefererRes ¶
type UpdateRefererRes struct {
// REQUIRED
ResponseMetadata UpdateRefererResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UpdateRefererResResponseMetadata ¶
type UpdateRefererResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateRefererResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateRelaySourceV3 ¶
type UpdateRelaySourceV3 struct {
}
type UpdateRelaySourceV3Body ¶
type UpdateRelaySourceV3Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 回源组配置详情。
GroupDetails []UpdateRelaySourceV3BodyGroupDetailsItem `json:"GroupDetails"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
}
type UpdateRelaySourceV3BodyGroupDetailsItem ¶
type UpdateRelaySourceV3BodyGroupDetailsItem struct {
// REQUIRED; 回源组名称。
Group string `json:"Group"`
// REQUIRED; 回源服务器配置列表。
Servers []UpdateRelaySourceV3BodyGroupDetailsPropertiesItemsItem `json:"Servers"`
}
type UpdateRelaySourceV3BodyGroupDetailsPropertiesItemsItem ¶
type UpdateRelaySourceV3BodyGroupDetailsPropertiesItemsItem struct {
// REQUIRED; 回源地址。
RelaySourceDomain string `json:"RelaySourceDomain"`
// REQUIRED; 回源协议,支持两种回源协议。
// * rtmp
// * flv
RelaySourceProtocol string `json:"RelaySourceProtocol"`
// 自定义回源参数,缺省情况下为空。格式为"Key":"Value",例如,"domain":"live.push.net"。
RelaySourceParams map[string]*string `json:"RelaySourceParams,omitempty"`
}
type UpdateRelaySourceV3Query ¶
type UpdateRelaySourceV3Query struct {
}
type UpdateRelaySourceV3Req ¶
type UpdateRelaySourceV3Req struct {
*UpdateRelaySourceV3Query
*UpdateRelaySourceV3Body
}
type UpdateRelaySourceV3Res ¶
type UpdateRelaySourceV3Res struct {
// REQUIRED
ResponseMetadata UpdateRelaySourceV3ResResponseMetadata `json:"ResponseMetadata"`
}
type UpdateRelaySourceV3ResResponseMetadata ¶
type UpdateRelaySourceV3ResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateRelaySourceV3ResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateRelaySourceV4 ¶
type UpdateRelaySourceV4 struct {
}
type UpdateRelaySourceV4Body ¶
type UpdateRelaySourceV4Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 推流域名。
Domain string `json:"Domain"`
// REQUIRED; 回源地址列表,支持输入 RTMP、FLV 和 HLS 协议的直播地址。
SrcAddrS []string `json:"SrcAddrS"`
// REQUIRED; 流名称。
Stream string `json:"Stream"`
// 结束时间,Unix 时间戳,单位为 s,结束时间需晚于 StartTime,且与 StartTime 的最大时间跨度为 7 天。 :::tipStartTime 与 EndTime 同时缺省,表示永久回源。 :::
EndTime *int32 `json:"EndTime,omitempty"`
// 开始时间,Unix 时间戳,单位为 s。 :::tipStartTime 与 EndTime 同时缺省,表示永久回源。 :::
StartTime *int32 `json:"StartTime,omitempty"`
}
type UpdateRelaySourceV4Query ¶
type UpdateRelaySourceV4Query struct {
}
type UpdateRelaySourceV4Req ¶
type UpdateRelaySourceV4Req struct {
*UpdateRelaySourceV4Query
*UpdateRelaySourceV4Body
}
type UpdateRelaySourceV4Res ¶
type UpdateRelaySourceV4Res struct {
// REQUIRED
ResponseMetadata UpdateRelaySourceV4ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateRelaySourceV4ResResponseMetadata ¶
type UpdateRelaySourceV4ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateRelaySourceV4ResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateSnapshotAuditPreset ¶
type UpdateSnapshotAuditPreset struct {
}
type UpdateSnapshotAuditPresetBody ¶
type UpdateSnapshotAuditPresetBody struct {
// REQUIRED; App 名称。
App string `json:"App"`
// REQUIRED; 审核模板名称。
PresetName string `json:"PresetName"`
// ToS 存储空间 bucket。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
Bucket *string `json:"Bucket,omitempty"`
// 审核结果回调配置。
CallbackDetailList []*UpdateSnapshotAuditPresetBodyCallbackDetailListItem `json:"CallbackDetailList,omitempty"`
// 审核模板描述。
Description *string `json:"Description,omitempty"`
// 推流域名。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Domain *string `json:"Domain,omitempty"`
// 截图间隔时间,单位秒,取值范围为[0.1,10],支持保留两位小数。
Interval *float32 `json:"Interval,omitempty"`
// 审核标签名称,若为空,则默认请求所有基础模型。支持以下取值。
// * 301:涉黄;
// * 302:涉敏1;
// * 303:涉敏2;
// * 304:广告;
// * 305:引人不适;
// * 306:违禁;
// * 307:二维码;
// * 308:诈骗;
// * 309:不良画面;
// * 310:未成年相关;
// * 320:文字违规。
Label []*string `json:"Label,omitempty"`
// veimageX 的服务 ID。 :::tip 参数 Bucket 和 ServiceID 传且仅传一个。 :::
ServiceID *string `json:"ServiceID,omitempty"`
// ToS 存储空间 bucket 下的存储目录。
StorageDir *string `json:"StorageDir,omitempty"`
// 存储策略。支持以下取值。
// * 0:触发存储,只存储有风险图片;
// * 1:全部存储,存储全部图片。
StorageStrategy *int32 `json:"StorageStrategy,omitempty"`
// 域名空间名称。 :::tip 参数 Domain 和 Vhost 传且仅传一个。 :::
Vhost *string `json:"Vhost,omitempty"`
}
type UpdateSnapshotAuditPresetQuery ¶
type UpdateSnapshotAuditPresetQuery struct {
}
type UpdateSnapshotAuditPresetReq ¶
type UpdateSnapshotAuditPresetReq struct {
*UpdateSnapshotAuditPresetQuery
*UpdateSnapshotAuditPresetBody
}
type UpdateSnapshotAuditPresetRes ¶
type UpdateSnapshotAuditPresetRes struct {
// REQUIRED
ResponseMetadata UpdateSnapshotAuditPresetResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateSnapshotAuditPresetResResponseMetadata ¶
type UpdateSnapshotAuditPresetResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateSnapshotAuditPresetResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateSnapshotPreset ¶
type UpdateSnapshotPreset struct {
}
type UpdateSnapshotPresetBody ¶
type UpdateSnapshotPresetBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 截图模板名称。
Preset string `json:"Preset"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// ToS 的存储 Bucket。 :::tipBucket 与 ServiceID 传且仅传一个。 :::
Bucket *string `json:"Bucket,omitempty"`
// 回调详情。
CallbackDetailList []*UpdateSnapshotPresetBodyCallbackDetailListItem `json:"CallbackDetailList,omitempty"`
// 截图间隔时间,单位为 s,默认值为 10,取值范围为正整数
Interval *int32 `json:"Interval,omitempty"`
// veImageX 的服务 ID。 :::tipBucket 与 ServiceID 传且仅传一个。 :::
ServiceID *string `json:"ServiceID,omitempty"`
// 截图格式。支持如下取值。
// * jpeg
// * png
SnapshotFormat *string `json:"SnapshotFormat,omitempty"`
// 存储规则。存储在 ToS 时传,格式为{PushDomain}/{App}/{Stream}/{UnixTimestamp}。
SnapshotObject *string `json:"SnapshotObject,omitempty"`
// 截图模版状态。
// * 1:开启
// * 0:关闭
Status *int32 `json:"Status,omitempty"`
// ToS 的存储目录,不传为空。
StorageDir *string `json:"StorageDir,omitempty"`
}
type UpdateSnapshotPresetQuery ¶
type UpdateSnapshotPresetQuery struct {
}
type UpdateSnapshotPresetReq ¶
type UpdateSnapshotPresetReq struct {
*UpdateSnapshotPresetQuery
*UpdateSnapshotPresetBody
}
type UpdateSnapshotPresetRes ¶
type UpdateSnapshotPresetRes struct {
// REQUIRED
ResponseMetadata UpdateSnapshotPresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UpdateSnapshotPresetResResponseMetadata ¶
type UpdateSnapshotPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateSnapshotPresetResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateStreamQuotaConfig ¶
type UpdateStreamQuotaConfig struct {
}
type UpdateStreamQuotaConfigBody ¶
type UpdateStreamQuotaConfigBody struct {
// REQUIRED; 需要配置限额的推流域名或拉流域名。
Domain string `json:"Domain"`
// REQUIRED; 限额配置详情。
QuotaDetailList []UpdateStreamQuotaConfigBodyQuotaDetailListItem `json:"QuotaDetailList"`
}
type UpdateStreamQuotaConfigBodyQuotaDetailListItem ¶
type UpdateStreamQuotaConfigBodyQuotaDetailListItem struct {
// 拉流域名的带宽限额配置。 :::tipDomain 为拉流域名时,本参数为必选参数。 :::
BandwidthConfig *UpdateStreamQuotaConfigBodyQuotaDetailListItemBandwidthConfig `json:"BandwidthConfig,omitempty"`
// 超过限额时返回的错误码,默认值为403。
ErrCode *int32 `json:"ErrCode,omitempty"`
// 超过限额时返回的错误信息,默认值为forbid。
ErrMsg *string `json:"ErrMsg,omitempty"`
// 推流域名的推流路数限额配置。 :::tipDomain 为推流域名时,本参数为必选参数。 :::
StreamConfig *UpdateStreamQuotaConfigBodyQuotaDetailListItemStreamConfig `json:"StreamConfig,omitempty"`
}
type UpdateStreamQuotaConfigBodyQuotaDetailListItemBandwidthConfig ¶
type UpdateStreamQuotaConfigBodyQuotaDetailListItemBandwidthConfig struct {
// REQUIRED; 带宽限额,取值[1~1000]。
Quota int32 `json:"Quota"`
// REQUIRED; 拉流带宽限额的计量单位,支持的取值如下所示。
// * Mbps
// * Gbps
// * Tbps
QuotaUnit string `json:"QuotaUnit"`
// 拉流带宽限额告警阈值,取值范围为 [1,1000],缺省情况表示不设置告警。 :::tip 该参数的取值需要小于等于拉流带宽限额Quota,否则会报错。 :::
AlarmThreshold *int32 `json:"AlarmThreshold,omitempty"`
// 拉流带宽限额告警的计量单位,缺省情况表示不设置告警。支持的取值如下所示。
// * Mbps
// * Gbps
// * Tbps
AlarmThresholdUnit *string `json:"AlarmThresholdUnit,omitempty"`
}
UpdateStreamQuotaConfigBodyQuotaDetailListItemBandwidthConfig - 拉流域名的带宽限额配置。 :::tipDomain 为拉流域名时,本参数为必选参数。 :::
type UpdateStreamQuotaConfigBodyQuotaDetailListItemStreamConfig ¶
type UpdateStreamQuotaConfigBodyQuotaDetailListItemStreamConfig struct {
// REQUIRED; 推流路数限额,取值[10~200000]。
Quota int32 `json:"Quota"`
// 推流路数限额告警阈值,缺省情况表示不设置告警。取值范围为 [10,200000]。 :::tip 该参数的取值需要小于等于推流路数限额Quota,否则会报错。 :::
AlarmThreshold *int32 `json:"AlarmThreshold,omitempty"`
}
UpdateStreamQuotaConfigBodyQuotaDetailListItemStreamConfig - 推流域名的推流路数限额配置。 :::tipDomain 为推流域名时,本参数为必选参数。 :::
type UpdateStreamQuotaConfigQuery ¶
type UpdateStreamQuotaConfigQuery struct {
}
type UpdateStreamQuotaConfigReq ¶
type UpdateStreamQuotaConfigReq struct {
*UpdateStreamQuotaConfigQuery
*UpdateStreamQuotaConfigBody
}
type UpdateStreamQuotaConfigRes ¶
type UpdateStreamQuotaConfigRes struct {
// REQUIRED
ResponseMetadata UpdateStreamQuotaConfigResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateStreamQuotaConfigResResponseMetadata ¶
type UpdateStreamQuotaConfigResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateStreamQuotaConfigResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateTimeShiftPresetV3 ¶
type UpdateTimeShiftPresetV3 struct {
}
type UpdateTimeShiftPresetV3Body ¶
type UpdateTimeShiftPresetV3Body struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 最大时移时长,即观看时移的最长时间,单位为 s。支持的取值如下所示。
// * 86400
// * 259200
// * 604800
// * 1296000
MaxShiftTime int32 `json:"MaxShiftTime"`
// REQUIRED; 域名空间名称。
Vhost string `json:"Vhost"`
// 开启时移的流名称,同一个 App 最多可指定 20 路。
Stream *string `json:"Stream,omitempty"`
}
type UpdateTimeShiftPresetV3Query ¶
type UpdateTimeShiftPresetV3Query struct {
}
type UpdateTimeShiftPresetV3Req ¶
type UpdateTimeShiftPresetV3Req struct {
*UpdateTimeShiftPresetV3Query
*UpdateTimeShiftPresetV3Body
}
type UpdateTimeShiftPresetV3Res ¶
type UpdateTimeShiftPresetV3Res struct {
// REQUIRED
ResponseMetadata UpdateTimeShiftPresetV3ResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result interface{} `json:"Result,omitempty"`
}
type UpdateTimeShiftPresetV3ResResponseMetadata ¶
type UpdateTimeShiftPresetV3ResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
Error *UpdateTimeShiftPresetV3ResResponseMetadataError `json:"Error,omitempty"`
}
type UpdateTranscodePreset ¶
type UpdateTranscodePreset struct {
}
type UpdateTranscodePresetBody ¶
type UpdateTranscodePresetBody struct {
// REQUIRED; 模板名称。
Preset string `json:"Preset"`
// 音频编码格式。支持以下 3 种类型。
// * aac:使用 aac 编码格式;
// * copy:不进行转码,所有音频编码参数不生效;
// * opus:使用 opus 编码格式。
Acodec *string `json:"Acodec,omitempty"`
// 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App *string `json:"App,omitempty"`
// 宽高自适应模式开关。支持两种取值。
// * 0:关闭宽高自适应,按照 Width 和 Height 的取值进行拉伸;
// * 1:开启宽高自适应,按照 ShortSide 或 LongSide 等比缩放。 :::warning
// * 修改 As 为 0 时,请确认 Width 和 Height 的取值是否超出阈值;
// * 修改 As 为 1 时,请确认 ShortSide 和 LongSide 的取值是否超出阈值。 :::
As *string `json:"As,omitempty"`
// 音频码率,单位为 kbps。
AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
// 2 个参考帧之间的最大 B 帧数。不同编码格式的取值存在差异。
// * H.264:取值范围为 [0,7];
// * H.265:取值范围为 [0,1,2,3,7,15];
// BFrames 取 0 时,表示去 B 帧。
BFrames *int32 `json:"BFrames,omitempty"`
// 视频帧率,单位为 fps,取值范围为 [0,60],帧率越大,画面越流畅
FPS *int32 `json:"FPS,omitempty"`
// IDR 帧之间的最大间隔,单位为 s,取值范围为 [0,1000]。
GOP *int32 `json:"GOP,omitempty"`
// 视频高度。取值范围为 [0,8192]。 :::tip
// * 当 As 的取值为 0 时,参数生效;反之则不生效;
// * 当 As 的取值为 0 时,如果 Width 和 Height 任意取值为 0,表示保持源流尺寸。 :::
Height *int32 `json:"Height,omitempty"`
// 长边长度。
// * Roi 取 false 时,取值范围为 [0,8192];
// * Roi 取 true 时,取值范围为 [0,1920]。 :::tip
// * 当 As 的取值为 1 时,参数生效,反之则不生效。
// * 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 同时取 0,表示保持源流尺寸。
// * 当 As 的取值为 1 时,如果同时配置 LongSide 和 ShortSide 的值,则按照 ShortSide 进行等比缩放。 :::
LongSide *int32 `json:"LongSide,omitempty"`
// 是否极智超清转码。
// * true:极智超清;
// * false:标准转码。 :::warning 修改 Roi 为 true,且 As 为 1 时,请确认 ShortSide 和 LongSide 的取值是否超出阈值。 :::
Roi *bool `json:"Roi,omitempty"`
// 短边长度。
// * Roi 取 false 时,取值范围为 [0,4096];
// * Roi 取 true 时,取值范围为 [0,1080]。 :::tip
// * 当 As 的取值为 1 时,参数生效,反之则不生效。
// * 当 As 的取值为 1 时,如果 LongSide 和 ShortSide 同时取 0,表示保持源流尺寸。
// * 当 As 的取值为 1 时,如果同时配置 LongSide 和 ShortSide 的值,则按照 ShortSide 进行等比缩放。 :::
ShortSide *int32 `json:"ShortSide,omitempty"`
// 转码流后缀名。支持 10 个字符以内的大小写字母、下划线与中划线,常见后缀包括:sd、hd���uhd。 例如,配置的转码流后缀名为hd,则拉转码流时转码的流名为 stream-123456789_hd。
SuffixName *string `json:"SuffixName,omitempty"`
// 视频编码格式。
// * h264:使用 H.264 编码格式;
// * h265:使用 H.265 编码格式;
// * copy:不进行转码,所有视频编码参数不生效。
Vcodec *string `json:"Vcodec,omitempty"`
// 域名空间名称。
Vhost *string `json:"Vhost,omitempty"`
// 视频码率,单位为 bps,取值范围为 [0,30000000];取值为 0 时,表示使用源流码率。
VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
// 视频宽度。取值范围为 [0,8192]。 :::tip
// * 当 As 的取值为 0 时,参数生效;反之则不生效;
// * 当 As 的取值为 0 时,如果 Width 和 Height 任意取值为 0,表示保持源流尺寸。 :::
Width *int32 `json:"Width,omitempty"`
}
type UpdateTranscodePresetQuery ¶
type UpdateTranscodePresetQuery struct {
}
type UpdateTranscodePresetReq ¶
type UpdateTranscodePresetReq struct {
*UpdateTranscodePresetQuery
*UpdateTranscodePresetBody
}
type UpdateTranscodePresetRes ¶
type UpdateTranscodePresetRes struct {
// REQUIRED
ResponseMetadata UpdateTranscodePresetResResponseMetadata `json:"ResponseMetadata"`
// Anything
Result interface{} `json:"Result,omitempty"`
}
type UpdateTranscodePresetResResponseMetadata ¶
type UpdateTranscodePresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateTranscodePresetResResponseMetadataError `json:"Error,omitempty"`
RequestID *string `json:"RequestID,omitempty"`
}
type UpdateWatermarkPreset ¶
type UpdateWatermarkPreset struct {
}
type UpdateWatermarkPresetBody ¶
type UpdateWatermarkPresetBody struct {
// REQUIRED; 应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。
App string `json:"App"`
// REQUIRED; 域名空间名称,由 1 到 60 位数字、字母、下划线及"-"和"."组成。
Vhost string `json:"Vhost"`
// 直播画面方向,支持 2 种取值。
// * vertical:竖屏;
// * horizontal:横屏。
Orientation *string `json:"Orientation,omitempty"`
// 水印图片链接,图片最大 2MB,最小 100Bytes,最大分辨率为 1080×1080。图片使用 data URI 协议,格式为:data:[<mediatype>];[base64],<data>。
// * mediatype:图片类型,支持 png、jpg、jpeg 格式;
// * data:base64 编码的图片字符串。
// 例如,data:image/png;base64,iVBORw0KGg****mCC:::warning 如果水印图片不更新,请勿传入该参数。否则会造成水印无法显示。 :::
Picture *string `json:"Picture,omitempty"`
// 水平偏移,表示水印左侧边与转码流画面左侧边之间的距离,使用相对比率,取值范围为 [0,1]。
PosX *float32 `json:"PosX,omitempty"`
// 垂直偏移,表示水印顶部边与转码流画面顶部边之间的距离,使用相对比率,取值范围为 [0,1]。
PosY *float32 `json:"PosY,omitempty"`
// 水印相对宽度,水印宽度占直播转码流画面宽度的比例,取值范围为 [0,1],水印高度会随宽度等比缩放。
RelativeWidth *float32 `json:"RelativeWidth,omitempty"`
}
type UpdateWatermarkPresetQuery ¶
type UpdateWatermarkPresetQuery struct {
}
type UpdateWatermarkPresetReq ¶
type UpdateWatermarkPresetReq struct {
*UpdateWatermarkPresetQuery
*UpdateWatermarkPresetBody
}
type UpdateWatermarkPresetRes ¶
type UpdateWatermarkPresetRes struct {
// REQUIRED
ResponseMetadata UpdateWatermarkPresetResResponseMetadata `json:"ResponseMetadata"`
}
type UpdateWatermarkPresetResResponseMetadata ¶
type UpdateWatermarkPresetResResponseMetadata struct {
// REQUIRED
Action string `json:"Action"`
// REQUIRED
Region string `json:"Region"`
// REQUIRED
RequestID string `json:"RequestId"`
// REQUIRED
Service string `json:"Service"`
// REQUIRED
Version string `json:"Version"`
Error *UpdateWatermarkPresetResResponseMetadataError `json:"Error,omitempty"`
}
type VerifyDomainOwner ¶
type VerifyDomainOwner struct {
}
type VerifyDomainOwnerBody ¶
type VerifyDomainOwnerQuery ¶
type VerifyDomainOwnerQuery struct {
}
type VerifyDomainOwnerReq ¶
type VerifyDomainOwnerReq struct {
*VerifyDomainOwnerQuery
*VerifyDomainOwnerBody
}
type VerifyDomainOwnerRes ¶
type VerifyDomainOwnerRes struct {
// REQUIRED
ResponseMetadata VerifyDomainOwnerResResponseMetadata `json:"ResponseMetadata"`
// 视请求的接口而定
Result *VerifyDomainOwnerResResult `json:"Result,omitempty"`
}
type VerifyDomainOwnerResResponseMetadata ¶
type VerifyDomainOwnerResResponseMetadata struct {
// REQUIRED; 请求的接口名,属于请求的公共参数。
Action string `json:"Action"`
// REQUIRED; 请求的Region,例如:cn-north-1
Region string `json:"Region"`
// REQUIRED; RequestID为每次API请求的唯一标识。
RequestID string `json:"RequestId"`
// REQUIRED; 请求的服务,属于请求的公共参数。
Service string `json:"Service"`
// REQUIRED; 请求的版本号,属于请求的公共参数。
Version string `json:"Version"`
}
type VerifyDomainOwnerResResult ¶
type VerifyDomainOwnerResResult struct {
// REQUIRED; 检查结果
CheckResult bool `json:"CheckResult"`
}
VerifyDomainOwnerResResult - 视请求的接口而定