 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- type AddBusinessID
- type AddBusinessIDBody
- type AddBusinessIDQuery
- type AddBusinessIDReq
- type AddBusinessIDRes
- type AddBusinessIDResResponseMetadata
- type AddBusinessIDResResponseMetadataError
- type BanRoomUser
- type BanRoomUserBody
- type BanRoomUserQuery
- type BanRoomUserReq
- type BanRoomUserRes
- type BanRoomUserResResponseMetadata
- type BanRoomUserResResponseMetadataError
- type BanRoomUserResResult
- type BanUserStream
- type BanUserStreamBody
- type BanUserStreamQuery
- type BanUserStreamReq
- type BanUserStreamRes
- type BanUserStreamResResponseMetadata
- type BanUserStreamResResponseMetadataError
- type BanUserStreamResResult
- type BatchSendRoomUnicast
- type BatchSendRoomUnicastBody
- type BatchSendRoomUnicastQuery
- type BatchSendRoomUnicastReq
- type BatchSendRoomUnicastRes
- type BatchSendRoomUnicastResResponseMetadata
- type BatchSendRoomUnicastResResponseMetadataError
- type BatchSendRoomUnicastResResult
- type CreateApp
- type CreateAppBody
- type CreateAppQuery
- type CreateAppReq
- type CreateAppRes
- type CreateAppResResponseMetadata
- type CreateAppResResponseMetadataError
- type CreateAppResResult
- type CreateByteplusApp
- type CreateByteplusAppBody
- type CreateByteplusAppQuery
- type CreateByteplusAppReq
- type CreateByteplusAppRes
- type CreateByteplusAppResResponseMetadata
- type CreateByteplusAppResResponseMetadataError
- type CreateByteplusAppResResult
- type CreateCallback
- type CreateCallbackBody
- type CreateCallbackQuery
- type CreateCallbackReq
- type CreateCallbackRes
- type CreateCallbackResResponseMetadata
- type CreateCallbackResResponseMetadataError
- type CreateFailRecoveryPolicy
- type CreateFailRecoveryPolicyBody
- type CreateFailRecoveryPolicyQuery
- type CreateFailRecoveryPolicyReq
- type CreateFailRecoveryPolicyRes
- type CreateFailRecoveryPolicyResResponseMetadata
- type CreateFailRecoveryPolicyResResponseMetadataError
- type CreateFailRecoveryPolicyResResult
- type CreateFailRecoveryPolicyResResultPolicy
- type CreateVendorPolicy
- type CreateVendorPolicyBody
- type CreateVendorPolicyQuery
- type CreateVendorPolicyReq
- type CreateVendorPolicyRes
- type CreateVendorPolicyResResponseMetadata
- type CreateVendorPolicyResResponseMetadataError
- type CreateVendorPolicyResResult
- type CreateVendorPolicyResResultPolicy
- type DeleteBusinessID
- type DeleteBusinessIDBody
- type DeleteBusinessIDQuery
- type DeleteBusinessIDReq
- type DeleteBusinessIDRes
- type DeleteBusinessIDResResponseMetadata
- type DeleteBusinessIDResResponseMetadataError
- type DeleteCallback
- type DeleteCallbackBody
- type DeleteCallbackQuery
- type DeleteCallbackReq
- type DeleteCallbackRes
- type DeleteCallbackResResponseMetadata
- type DeleteCallbackResResponseMetadataError
- type DeleteFailRecoveryPolicy
- type DeleteFailRecoveryPolicyBody
- type DeleteFailRecoveryPolicyQuery
- type DeleteFailRecoveryPolicyReq
- type DeleteFailRecoveryPolicyRes
- type DeleteFailRecoveryPolicyResResponseMetadata
- type DeleteFailRecoveryPolicyResResponseMetadataError
- type DismissRoom
- type DismissRoomBody
- type DismissRoomQuery
- type DismissRoomReq
- type DismissRoomRes
- type DismissRoomResResponseMetadata
- type DismissRoomResResponseMetadataError
- type DismissRoomResResult
- type Event20231101
- type Event20231101SubEventsItem
- type GetAllBusinessID
- type GetAllBusinessIDBody
- type GetAllBusinessIDQuery
- type GetAllBusinessIDReq
- type GetAllBusinessIDRes
- type GetAllBusinessIDResResponseMetadata
- type GetAllBusinessIDResResponseMetadataError
- type GetAllBusinessIDResResult
- type GetAllBusinessIDResResultBusinessRecordsItem
- type GetCallback
- type GetCallbackBody
- type GetCallbackQuery
- type GetCallbackReq
- type GetCallbackRes
- type GetCallbackResResponseMetadata
- type GetCallbackResResponseMetadataError
- type GetCallbackResResult
- type GetCallbackResResultCallbacksItem
- type GetFailRecoveryPolicies
- type GetFailRecoveryPoliciesBody
- type GetFailRecoveryPoliciesQuery
- type GetFailRecoveryPoliciesReq
- type GetFailRecoveryPoliciesRes
- type GetFailRecoveryPoliciesResResponseMetadata
- type GetFailRecoveryPoliciesResResponseMetadataError
- type GetFailRecoveryPoliciesResResult
- type GetFailRecoveryPoliciesResResultPoliciesItem
- type GetPushMixedStreamToCDNTask
- type GetPushMixedStreamToCDNTaskBody
- type GetPushMixedStreamToCDNTaskQuery
- type GetPushMixedStreamToCDNTaskReq
- type GetPushMixedStreamToCDNTaskRes
- type GetPushMixedStreamToCDNTaskResResponseMetadata
- type GetPushMixedStreamToCDNTaskResResponseMetadataError
- type GetPushMixedStreamToCDNTaskResResult
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTask
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControl
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfig
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfigAudienceSpatialOrientation
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskEncode
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreams
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreamsStreamListItem
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayout
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayout
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutCanvas
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItem
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItemSourceCrop
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutMainVideoStream
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreams
- type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreamsStreamListItem
- type GetPushSingleStreamToCDNTask
- type GetPushSingleStreamToCDNTaskBody
- type GetPushSingleStreamToCDNTaskQuery
- type GetPushSingleStreamToCDNTaskReq
- type GetPushSingleStreamToCDNTaskRes
- type GetPushSingleStreamToCDNTaskResResponseMetadata
- type GetPushSingleStreamToCDNTaskResResponseMetadataError
- type GetPushSingleStreamToCDNTaskResResult
- type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTask
- type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskControl
- type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskStream
- type GetRecordTask
- type GetRecordTaskBody
- type GetRecordTaskQuery
- type GetRecordTaskReq
- type GetRecordTaskRes
- type GetRecordTaskResResponseMetadata
- type GetRecordTaskResResponseMetadataError
- type GetRecordTaskResResult
- type GetRecordTaskResResultRecordTask
- type GetRecordTaskResResultRecordTaskRecordFileListItem
- type GetRecordTaskResResultRecordTaskRecordFileListPropertiesItemsItem
- type GetResourcePackNum
- type GetResourcePackNumBody
- type GetResourcePackNumQuery
- type GetResourcePackNumReq
- type GetResourcePackNumRes
- type GetResourcePackNumResResponseMetadata
- type GetResourcePackNumResResponseMetadataError
- type GetWebCastTask
- type GetWebCastTaskBody
- type GetWebCastTaskQuery
- type GetWebCastTaskReq
- type GetWebCastTaskRes
- type GetWebCastTaskResResponseMetadata
- type GetWebCastTaskResResponseMetadataError
- type GetWebCastTaskResResult
- type GetWebCastTaskResResultWebCastTask
- type GetWebCastTaskResResultWebCastTaskEventNotifyConfig
- type GetWebCastTaskResResultWebCastTaskMonitorConfig
- type GetWebCastTaskResResultWebCastTaskVideoSolutionsItem
- type IndicatorTag
- type IndicatorTag202201
- type IndicatorTag202201SubTagsItem
- type IndicatorTagSubTagsItem
- type KickUser
- type KickUserBody
- type KickUserQuery
- type KickUserReq
- type KickUserRes
- type KickUserResResponseMetadata
- type KickUserResResponseMetadataError
- type KickUserResResult
- type ListApps
- type ListAppsBody
- type ListAppsQuery
- type ListAppsReq
- type ListAppsRes
- type ListAppsResResponseMetadata
- type ListAppsResResponseMetadataError
- type ListAppsResResult
- type ListAppsResResultAppListItem
- type ListCallDetail
- type ListCallDetailBody
- type ListCallDetailQuery
- type ListCallDetailReq
- type ListCallDetailRes
- type ListCallDetailResResponseMetadata
- type ListCallDetailResResponseMetadataError
- type ListCallDetailResResult
- type ListCallDetailResResultUserCallDetailItem
- type ListCallDetailResResultUserCallDetailPropertiesItemsDataItem
- type ListCallDetailResResultUserCallDetailPropertiesItemsItem
- type ListDetectionTask
- type ListDetectionTaskBody
- type ListDetectionTaskQuery
- type ListDetectionTaskReq
- type ListDetectionTaskRes
- type ListDetectionTaskResResponseMetadata
- type ListDetectionTaskResResponseMetadataError
- type ListDetectionTaskResResult
- type ListDetectionTaskResResultEventDataItem
- type ListHotMusic
- type ListHotMusicBody
- type ListHotMusicQuery
- type ListHotMusicReq
- type ListHotMusicRes
- type ListHotMusicResResponseMetadata
- type ListHotMusicResResponseMetadataError
- type ListHotMusicResResult
- type ListHotMusicResResultHotListItem
- type ListHotMusicResResultHotListPropertiesItemsItem
- type ListMusics
- type ListMusicsBody
- type ListMusicsQuery
- type ListMusicsReq
- type ListMusicsRes
- type ListMusicsResResponseMetadata
- type ListMusicsResResponseMetadataError
- type ListMusicsResResult
- type ListMusicsResResultListItem
- type ListMusicsResResultListItemLyricURL
- type ListOperationData
- type ListOperationDataBody
- type ListOperationDataQuery
- type ListOperationDataReq
- type ListOperationDataRes
- type ListOperationDataResResponseMetadata
- type ListOperationDataResResponseMetadataError
- type ListOperationDataResResult
- type ListOperationDataResResultIndicatorsItem
- type ListOperationDataResResultIndicatorsItemOverview
- type ListOperationDataResResultIndicatorsPropertiesItemsItem
- type ListOperationDistribution
- type ListOperationDistributionBody
- type ListOperationDistributionQuery
- type ListOperationDistributionReq
- type ListOperationDistributionRes
- type ListOperationDistributionResResponseMetadata
- type ListOperationDistributionResResponseMetadataError
- type ListOperationDistributionResResult
- type ListOperationDistributionResResultDataItem
- type ListQuality
- type ListQualityBody
- type ListQualityDistribution
- type ListQualityDistributionBody
- type ListQualityDistributionQuery
- type ListQualityDistributionReq
- type ListQualityDistributionRes
- type ListQualityDistributionResResponseMetadata
- type ListQualityDistributionResResponseMetadataError
- type ListQualityDistributionResResult
- type ListQualityDistributionResResultIndicatorsItem
- type ListQualityDistributionResResultIndicatorsPropertiesItemsItem
- type ListQualityQuery
- type ListQualityReq
- type ListQualityRes
- type ListQualityResResponseMetadata
- type ListQualityResResponseMetadataError
- type ListQualityResResult
- type ListQualityResResultIndicatorsItem
- type ListQualityResResultIndicatorsItemOverview
- type ListQualityResResultIndicatorsPropertiesItemsItem
- type ListRealTimeOperationData
- type ListRealTimeOperationDataBody
- type ListRealTimeOperationDataQuery
- type ListRealTimeOperationDataReq
- type ListRealTimeOperationDataRes
- type ListRealTimeOperationDataResResponseMetadata
- type ListRealTimeOperationDataResResponseMetadataError
- type ListRealTimeOperationDataResResult
- type ListRealTimeOperationDataResResultIndicatorsItem
- type ListRealTimeOperationDataResResultIndicatorsItemOverview
- type ListRealTimeOperationDataResResultIndicatorsPropertiesItemsItem
- type ListRealTimeQuality
- type ListRealTimeQualityBody
- type ListRealTimeQualityDistribution
- type ListRealTimeQualityDistributionBody
- type ListRealTimeQualityDistributionQuery
- type ListRealTimeQualityDistributionReq
- type ListRealTimeQualityDistributionRes
- type ListRealTimeQualityDistributionResResponseMetadata
- type ListRealTimeQualityDistributionResResponseMetadataError
- type ListRealTimeQualityDistributionResResult
- type ListRealTimeQualityDistributionResResultIndicatorsItem
- type ListRealTimeQualityDistributionResResultIndicatorsPropertiesItemsItem
- type ListRealTimeQualityQuery
- type ListRealTimeQualityReq
- type ListRealTimeQualityRes
- type ListRealTimeQualityResResponseMetadata
- type ListRealTimeQualityResResponseMetadataError
- type ListRealTimeQualityResResult
- type ListRealTimeQualityResResultIndicatorsItem
- type ListRealTimeQualityResResultIndicatorsItemOverview
- type ListRealTimeQualityResResultIndicatorsPropertiesItemsItem
- type ListRelayStream
- type ListRelayStreamBody
- type ListRelayStreamQuery
- type ListRelayStreamReq
- type ListRelayStreamRes
- type ListRelayStreamResResponseMetadata
- type ListRelayStreamResResponseMetadataError
- type ListRelayStreamResResult
- type ListRelayStreamResResultTaskItem
- type ListResourcePackages
- type ListResourcePackagesBody
- type ListResourcePackagesQuery
- type ListResourcePackagesReq
- type ListResourcePackagesRes
- type ListResourcePackagesResResponseMetadata
- type ListResourcePackagesResResponseMetadataError
- type ListResourcePackagesResResultItem
- type ListResourcePackagesV2
- type ListResourcePackagesV2Body
- type ListResourcePackagesV2Query
- type ListResourcePackagesV2Req
- type ListResourcePackagesV2Res
- type ListResourcePackagesV2ResResponseMetadata
- type ListResourcePackagesV2ResResponseMetadataError
- type ListResourcePackagesV2ResResultItem
- type ListResourcePackagesV2ResResultPropertiesItemsItem
- type ListRoomInfo
- type ListRoomInfoBody
- type ListRoomInfoQuery
- type ListRoomInfoReq
- type ListRoomInfoRes
- type ListRoomInfoResResponseMetadata
- type ListRoomInfoResResponseMetadataError
- type ListRoomInfoResResult
- type ListRoomInfoResResultRoomListItem
- type ListUsages
- type ListUsagesBody
- type ListUsagesQuery
- type ListUsagesReq
- type ListUsagesRes
- type ListUsagesResResponseMetadata
- type ListUsagesResResponseMetadataError
- type ListUsagesResResult
- type ListUsagesResResultUsagesItem
- type ListUserInfo
- type ListUserInfoBody
- type ListUserInfoQuery
- type ListUserInfoReq
- type ListUserInfoRes
- type ListUserInfoResResponseMetadata
- type ListUserInfoResResponseMetadataError
- type ListUserInfoResResult
- type ListUserInfoResResultUserListItem
- type ListUserInfoResResultUserListPropertiesItemsItem
- type ModifyAppStatus
- type ModifyAppStatusBody
- type ModifyAppStatusQuery
- type ModifyAppStatusReq
- type ModifyAppStatusRes
- type ModifyAppStatusResResponseMetadata
- type ModifyAppStatusResResponseMetadataError
- type ModifyBusinessRemarks
- type ModifyBusinessRemarksBody
- type ModifyBusinessRemarksQuery
- type ModifyBusinessRemarksReq
- type ModifyBusinessRemarksRes
- type ModifyBusinessRemarksResResponseMetadata
- type ModifyBusinessRemarksResResponseMetadataError
- type Rtc
- func (c *Rtc) AddBusinessID(ctx context.Context, arg *AddBusinessIDBody) (*AddBusinessIDRes, int, error)
- func (c *Rtc) BanRoomUser(ctx context.Context, arg *BanRoomUserBody) (*BanRoomUserRes, int, error)
- func (c *Rtc) BanUserStream(ctx context.Context, arg *BanUserStreamBody) (*BanUserStreamRes, int, error)
- func (c *Rtc) BatchSendRoomUnicast(ctx context.Context, arg *BatchSendRoomUnicastBody) (*BatchSendRoomUnicastRes, int, error)
- func (c *Rtc) CreateApp(ctx context.Context, arg *CreateAppBody) (*CreateAppRes, int, error)
- func (c *Rtc) CreateByteplusApp(ctx context.Context) (*CreateByteplusAppRes, int, error)
- func (c *Rtc) CreateCallback(ctx context.Context, arg *CreateCallbackBody) (*CreateCallbackRes, int, error)
- func (c *Rtc) CreateFailRecoveryPolicy(ctx context.Context, arg *CreateFailRecoveryPolicyBody) (*CreateFailRecoveryPolicyRes, int, error)
- func (c *Rtc) CreateVendorPolicy(ctx context.Context, arg *CreateVendorPolicyBody) (*CreateVendorPolicyRes, int, error)
- func (c *Rtc) DeleteBusinessID(ctx context.Context, arg *DeleteBusinessIDBody) (*DeleteBusinessIDRes, int, error)
- func (c *Rtc) DeleteCallback(ctx context.Context, arg *DeleteCallbackQuery) (*DeleteCallbackRes, int, error)
- func (c *Rtc) DeleteFailRecoveryPolicy(ctx context.Context, arg *DeleteFailRecoveryPolicyBody) (*DeleteFailRecoveryPolicyRes, int, error)
- func (c *Rtc) DismissRoom(ctx context.Context, arg *DismissRoomBody) (*DismissRoomRes, int, error)
- func (c *Rtc) GetAllBusinessID(ctx context.Context, arg *GetAllBusinessIDBody) (*GetAllBusinessIDRes, int, error)
- func (c *Rtc) GetCallback(ctx context.Context, arg *GetCallbackQuery) (*GetCallbackRes, int, error)
- func (c *Rtc) GetFailRecoveryPolicies(ctx context.Context, arg *GetFailRecoveryPoliciesBody) (*GetFailRecoveryPoliciesRes, int, error)
- func (c *Rtc) GetPushMixedStreamToCDNTask(ctx context.Context, arg *GetPushMixedStreamToCDNTaskQuery) (*GetPushMixedStreamToCDNTaskRes, int, error)
- func (c *Rtc) GetPushSingleStreamToCDNTask(ctx context.Context, arg *GetPushSingleStreamToCDNTaskQuery) (*GetPushSingleStreamToCDNTaskRes, int, error)
- func (c *Rtc) GetRecordTask(ctx context.Context, arg *GetRecordTaskQuery) (*GetRecordTaskRes, int, error)
- func (c *Rtc) GetResourcePackNum(ctx context.Context) (*GetResourcePackNumRes, int, error)
- func (c *Rtc) GetWebCastTask(ctx context.Context, arg *GetWebCastTaskQuery) (*GetWebCastTaskRes, int, error)
- func (c *Rtc) KickUser(ctx context.Context, arg *KickUserBody) (*KickUserRes, int, error)
- func (c *Rtc) ListApps(ctx context.Context, arg *ListAppsBody) (*ListAppsRes, int, error)
- func (c *Rtc) ListCallDetail(ctx context.Context, arg *ListCallDetailQuery) (*ListCallDetailRes, int, error)
- func (c *Rtc) ListDetectionTask(ctx context.Context, arg *ListDetectionTaskQuery) (*ListDetectionTaskRes, int, error)
- func (c *Rtc) ListHotMusic(ctx context.Context, arg *ListHotMusicBody) (*ListHotMusicRes, int, error)
- func (c *Rtc) ListMusics(ctx context.Context, arg *ListMusicsBody) (*ListMusicsRes, int, error)
- func (c *Rtc) ListOperationData(ctx context.Context, arg *ListOperationDataBody) (*ListOperationDataRes, int, error)
- func (c *Rtc) ListOperationDistribution(ctx context.Context, arg *ListOperationDistributionBody) (*ListOperationDistributionRes, int, error)
- func (c *Rtc) ListQuality(ctx context.Context, arg *ListQualityBody) (*ListQualityRes, int, error)
- func (c *Rtc) ListQualityDistribution(ctx context.Context, arg *ListQualityDistributionBody) (*ListQualityDistributionRes, int, error)
- func (c *Rtc) ListRealTimeOperationData(ctx context.Context, arg *ListRealTimeOperationDataBody) (*ListRealTimeOperationDataRes, int, error)
- func (c *Rtc) ListRealTimeQuality(ctx context.Context, arg *ListRealTimeQualityBody) (*ListRealTimeQualityRes, int, error)
- func (c *Rtc) ListRealTimeQualityDistribution(ctx context.Context, arg *ListRealTimeQualityDistributionBody) (*ListRealTimeQualityDistributionRes, int, error)
- func (c *Rtc) ListRelayStream(ctx context.Context, arg *ListRelayStreamQuery) (*ListRelayStreamRes, int, error)
- func (c *Rtc) ListResourcePackages(ctx context.Context) (*ListResourcePackagesRes, int, error)
- func (c *Rtc) ListResourcePackagesV2(ctx context.Context) (*ListResourcePackagesV2Res, int, error)
- func (c *Rtc) ListRoomInfo(ctx context.Context, arg *ListRoomInfoQuery) (*ListRoomInfoRes, int, error)
- func (c *Rtc) ListUsages(ctx context.Context, arg *ListUsagesBody) (*ListUsagesRes, int, error)
- func (c *Rtc) ListUserInfo(ctx context.Context, arg *ListUserInfoQuery) (*ListUserInfoRes, int, error)
- func (c *Rtc) ModifyAppStatus(ctx context.Context, arg *ModifyAppStatusBody) (*ModifyAppStatusRes, int, error)
- func (c *Rtc) ModifyBusinessRemarks(ctx context.Context, arg *ModifyBusinessRemarksBody) (*ModifyBusinessRemarksRes, int, error)
- func (c *Rtc) SearchMusics(ctx context.Context, arg *SearchMusicsBody) (*SearchMusicsRes, int, error)
- func (c *Rtc) SendBroadcast(ctx context.Context, arg *SendBroadcastBody) (*SendBroadcastRes, int, error)
- func (c *Rtc) SendRoomUnicast(ctx context.Context, arg *SendRoomUnicastBody) (*SendRoomUnicastRes, int, error)
- func (c *Rtc) SendUnicast(ctx context.Context, arg *SendUnicastBody) (*SendUnicastRes, int, error)
- func (c *Rtc) StartDetection(ctx context.Context, arg *StartDetectionBody) (*StartDetectionRes, int, error)
- func (c *Rtc) StartPushMixedStreamToCDN(ctx context.Context, arg *StartPushMixedStreamToCDNBody) (*StartPushMixedStreamToCDNRes, int, error)
- func (c *Rtc) StartPushPublicStream(ctx context.Context, arg *StartPushPublicStreamBody) (*StartPushPublicStreamRes, int, error)
- func (c *Rtc) StartPushSingleStreamToCDN(ctx context.Context, arg *StartPushSingleStreamToCDNBody) (*StartPushSingleStreamToCDNRes, int, error)
- func (c *Rtc) StartRecord(ctx context.Context, arg *StartRecordBody) (*StartRecordRes, int, error)
- func (c *Rtc) StartRelayStream(ctx context.Context, arg *StartRelayStreamBody) (*StartRelayStreamRes, int, error)
- func (c *Rtc) StartSegment(ctx context.Context, arg *StartSegmentBody) (*StartSegmentRes, int, error)
- func (c *Rtc) StartSnapshot(ctx context.Context, arg *StartSnapshotBody) (*StartSnapshotRes, int, error)
- func (c *Rtc) StartWBRecord(ctx context.Context, arg *StartWBRecordBody) (*StartWBRecordRes, int, error)
- func (c *Rtc) StartWebcast(ctx context.Context, arg *StartWebcastBody) (*StartWebcastRes, int, error)
- func (c *Rtc) StopDetection(ctx context.Context, arg *StopDetectionBody) (*StopDetectionRes, int, error)
- func (c *Rtc) StopPushPublicStream(ctx context.Context, arg *StopPushPublicStreamBody) (*StopPushPublicStreamRes, int, error)
- func (c *Rtc) StopPushStreamToCDN(ctx context.Context, arg *StopPushStreamToCDNBody) (*StopPushStreamToCDNRes, int, error)
- func (c *Rtc) StopRecord(ctx context.Context, arg *StopRecordBody) (*StopRecordRes, int, error)
- func (c *Rtc) StopRelayStream(ctx context.Context, arg *StopRelayStreamBody) (*StopRelayStreamRes, int, error)
- func (c *Rtc) StopSegment(ctx context.Context, arg *StopSegmentBody) (*StopSegmentRes, int, error)
- func (c *Rtc) StopSnapshot(ctx context.Context, arg *StopSnapshotBody) (*StopSnapshotRes, int, error)
- func (c *Rtc) StopWBRecord(ctx context.Context, arg *StopWBRecordBody) (*StopWBRecordRes, int, error)
- func (c *Rtc) StopWebcast(ctx context.Context, arg *StopWebcastBody) (*StopWebcastRes, int, error)
- func (c *Rtc) UnbanUserStream(ctx context.Context, arg *UnbanUserStreamBody) (*UnbanUserStreamRes, int, error)
- func (c *Rtc) UpdateBanRoomUserRule(ctx context.Context, arg *UpdateBanRoomUserRuleBody) (*UpdateBanRoomUserRuleRes, int, error)
- func (c *Rtc) UpdateCallback(ctx context.Context, arg *UpdateCallbackBody) (*UpdateCallbackRes, int, error)
- func (c *Rtc) UpdateFailRecoveryPolicy(ctx context.Context, arg *UpdateFailRecoveryPolicyBody) (*UpdateFailRecoveryPolicyRes, int, error)
- func (c *Rtc) UpdatePublicStreamParam(ctx context.Context, arg *UpdatePublicStreamParamBody) (*UpdatePublicStreamParamRes, int, error)
- func (c *Rtc) UpdatePushMixedStreamToCDN(ctx context.Context, arg *UpdatePushMixedStreamToCDNBody) (*UpdatePushMixedStreamToCDNRes, int, error)
- func (c *Rtc) UpdateRecord(ctx context.Context, arg *UpdateRecordBody) (*UpdateRecordRes, int, error)
- func (c *Rtc) UpdateRelayStream(ctx context.Context, arg *UpdateRelayStreamBody) (*UpdateRelayStreamRes, int, error)
- func (c *Rtc) UpdateSegment(ctx context.Context, arg *UpdateSegmentBody) (*UpdateSegmentRes, int, error)
- func (c *Rtc) UpdateSnapshot(ctx context.Context, arg *UpdateSnapshotBody) (*UpdateSnapshotRes, int, error)
- func (c *Rtc) UpdateVendorPolicy(ctx context.Context, arg *UpdateVendorPolicyBody) (*UpdateVendorPolicyRes, int, error)
- func (c *Rtc) WbTranscodeCreate(ctx context.Context, arg *WbTranscodeCreateBody) (*WbTranscodeCreateRes, int, error)
- func (c *Rtc) WbTranscodeGet(ctx context.Context, arg *WbTranscodeGetQuery) (*WbTranscodeGetRes, int, error)
- func (c *Rtc) WbTranscodeQuery(ctx context.Context, arg *WbTranscodeQueryQuery) (*WbTranscodeQueryRes, int, error)
 
- type SearchMusics
- type SearchMusicsBody
- type SearchMusicsQuery
- type SearchMusicsReq
- type SearchMusicsRes
- type SearchMusicsResResponseMetadata
- type SearchMusicsResResponseMetadataError
- type SearchMusicsResResult
- type SearchMusicsResResultListItem
- type SearchMusicsResResultListItemLyricURL
- type SendBroadcast
- type SendBroadcastBody
- type SendBroadcastQuery
- type SendBroadcastReq
- type SendBroadcastRes
- type SendBroadcastResResponseMetadata
- type SendBroadcastResResponseMetadataError
- type SendBroadcastResResult
- type SendRoomUnicast
- type SendRoomUnicastBody
- type SendRoomUnicastQuery
- type SendRoomUnicastReq
- type SendRoomUnicastRes
- type SendRoomUnicastResResponseMetadata
- type SendRoomUnicastResResponseMetadataError
- type SendRoomUnicastResResult
- type SendUnicast
- type SendUnicastBody
- type SendUnicastQuery
- type SendUnicastReq
- type SendUnicastRes
- type SendUnicastResResponseMetadata
- type SendUnicastResResponseMetadataError
- type SendUnicastResResult
- type StartDetection
- type StartDetectionBody
- type StartDetectionQuery
- type StartDetectionReq
- type StartDetectionRes
- type StartDetectionResResponseMetadata
- type StartDetectionResResponseMetadataError
- type StartDetectionResResult
- type StartPushMixedStreamToCDN
- type StartPushMixedStreamToCDNBody
- type StartPushMixedStreamToCDNBodyControl
- type StartPushMixedStreamToCDNBodyControlSpatialConfig
- type StartPushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation
- type StartPushMixedStreamToCDNBodyEncode
- type StartPushMixedStreamToCDNBodyExcludeStreams
- type StartPushMixedStreamToCDNBodyExcludeStreamsStreamListItem
- type StartPushMixedStreamToCDNBodyLayout
- type StartPushMixedStreamToCDNBodyLayoutCustomLayout
- type StartPushMixedStreamToCDNBodyLayoutCustomLayoutCanvas
- type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem
- type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop
- type StartPushMixedStreamToCDNBodyLayoutMainVideoStream
- type StartPushMixedStreamToCDNBodyTargetStreams
- type StartPushMixedStreamToCDNBodyTargetStreamsStreamListItem
- type StartPushMixedStreamToCDNQuery
- type StartPushMixedStreamToCDNReq
- type StartPushMixedStreamToCDNRes
- type StartPushMixedStreamToCDNResResponseMetadata
- type StartPushMixedStreamToCDNResResponseMetadataError
- type StartPushPublicStream
- type StartPushPublicStreamBody
- type StartPushPublicStreamBodyControl
- type StartPushPublicStreamBodyEncode
- type StartPushPublicStreamBodyEncodeVideoConfig
- type StartPushPublicStreamBodyExcludeStreamsItem
- type StartPushPublicStreamBodyLayout
- type StartPushPublicStreamBodyLayoutCustomLayout
- type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItem
- type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItemSourceCrop
- type StartPushPublicStreamBodyLayoutVerticalLayout
- type StartPushPublicStreamBodyLayoutVerticalLayoutMainStream
- type StartPushPublicStreamBodyTargetStreamsItem
- type StartPushPublicStreamQuery
- type StartPushPublicStreamReq
- type StartPushPublicStreamRes
- type StartPushPublicStreamResResponseMetadata
- type StartPushPublicStreamResResponseMetadataError
- type StartPushSingleStreamToCDN
- type StartPushSingleStreamToCDNBody
- type StartPushSingleStreamToCDNBodyControl
- type StartPushSingleStreamToCDNBodyStream
- type StartPushSingleStreamToCDNQuery
- type StartPushSingleStreamToCDNReq
- type StartPushSingleStreamToCDNRes
- type StartPushSingleStreamToCDNResResponseMetadata
- type StartPushSingleStreamToCDNResResponseMetadataError
- type StartRecord
- type StartRecordBody
- type StartRecordBodyControl
- type StartRecordBodyControlSpatialConfig
- type StartRecordBodyControlSpatialConfigAudienceSpatialOrientation
- type StartRecordBodyEncode
- type StartRecordBodyExcludeStreams
- type StartRecordBodyExcludeStreamsStreamListItem
- type StartRecordBodyLayout
- type StartRecordBodyLayoutCustomLayout
- type StartRecordBodyLayoutCustomLayoutCanvas
- type StartRecordBodyLayoutCustomLayoutRegionsItem
- type StartRecordBodyLayoutCustomLayoutRegionsItemSourceCrop
- type StartRecordBodyLayoutMainVideoStream
- type StartRecordBodyTargetStreams
- type StartRecordBodyTargetStreamsStreamListItem
- type StartRecordBodyVod
- type StartRecordQuery
- type StartRecordReq
- type StartRecordRes
- type StartRecordResResponseMetadata
- type StartRecordResResponseMetadataError
- type StartRelayStream
- type StartRelayStreamBody
- type StartRelayStreamBodyControl
- type StartRelayStreamQuery
- type StartRelayStreamReq
- type StartRelayStreamRes
- type StartRelayStreamResResponseMetadata
- type StartRelayStreamResResponseMetadataError
- type StartSegment
- type StartSegmentBody
- type StartSegmentBodyControl
- type StartSegmentBodyTargetStreams
- type StartSegmentBodyTargetStreamsStreamListItem
- type StartSegmentBodyTosConfig
- type StartSegmentQuery
- type StartSegmentReq
- type StartSegmentRes
- type StartSegmentResResponseMetadata
- type StartSegmentResResponseMetadataError
- type StartSnapshot
- type StartSnapshotBody
- type StartSnapshotBodyImageConfig
- type StartSnapshotBodyTargetStreams
- type StartSnapshotBodyTargetStreamsStreamListItem
- type StartSnapshotBodyTosConfig
- type StartSnapshotQuery
- type StartSnapshotReq
- type StartSnapshotRes
- type StartSnapshotResResponseMetadata
- type StartSnapshotResResponseMetadataError
- type StartWBRecord
- type StartWBRecordBody
- type StartWBRecordQuery
- type StartWBRecordReq
- type StartWBRecordRes
- type StartWBRecordResResponseMetadata
- type StartWBRecordResResponseMetadataError
- type StartWebcast
- type StartWebcastBody
- type StartWebcastBodyEventNotifyConfig
- type StartWebcastBodyMonitorConfig
- type StartWebcastBodyVideoSolutionsItem
- type StartWebcastQuery
- type StartWebcastReq
- type StartWebcastRes
- type StartWebcastResResponseMetadata
- type StartWebcastResResponseMetadataError
- type StopDetection
- type StopDetectionBody
- type StopDetectionQuery
- type StopDetectionReq
- type StopDetectionRes
- type StopDetectionResResponseMetadata
- type StopDetectionResResponseMetadataError
- type StopDetectionResResult
- type StopPushPublicStream
- type StopPushPublicStreamBody
- type StopPushPublicStreamQuery
- type StopPushPublicStreamReq
- type StopPushPublicStreamRes
- type StopPushPublicStreamResResponseMetadata
- type StopPushPublicStreamResResponseMetadataError
- type StopPushStreamToCDN
- type StopPushStreamToCDNBody
- type StopPushStreamToCDNQuery
- type StopPushStreamToCDNReq
- type StopPushStreamToCDNRes
- type StopPushStreamToCDNResResponseMetadata
- type StopPushStreamToCDNResResponseMetadataError
- type StopRecord
- type StopRecordBody
- type StopRecordQuery
- type StopRecordReq
- type StopRecordRes
- type StopRecordResResponseMetadata
- type StopRecordResResponseMetadataError
- type StopRelayStream
- type StopRelayStreamBody
- type StopRelayStreamQuery
- type StopRelayStreamReq
- type StopRelayStreamRes
- type StopRelayStreamResResponseMetadata
- type StopRelayStreamResResponseMetadataError
- type StopSegment
- type StopSegmentBody
- type StopSegmentQuery
- type StopSegmentReq
- type StopSegmentRes
- type StopSegmentResResponseMetadata
- type StopSegmentResResponseMetadataError
- type StopSnapshot
- type StopSnapshotBody
- type StopSnapshotQuery
- type StopSnapshotReq
- type StopSnapshotRes
- type StopSnapshotResResponseMetadata
- type StopSnapshotResResponseMetadataError
- type StopWBRecord
- type StopWBRecordBody
- type StopWBRecordQuery
- type StopWBRecordReq
- type StopWBRecordRes
- type StopWBRecordResResponseMetadata
- type StopWBRecordResResponseMetadataError
- type StopWebcast
- type StopWebcastBody
- type StopWebcastQuery
- type StopWebcastReq
- type StopWebcastRes
- type StopWebcastResResponseMetadata
- type StopWebcastResResponseMetadataError
- type UnbanUserStream
- type UnbanUserStreamBody
- type UnbanUserStreamQuery
- type UnbanUserStreamReq
- type UnbanUserStreamRes
- type UnbanUserStreamResResponseMetadata
- type UnbanUserStreamResResponseMetadataError
- type UnbanUserStreamResResult
- type UpdateBanRoomUserRule
- type UpdateBanRoomUserRuleBody
- type UpdateBanRoomUserRuleQuery
- type UpdateBanRoomUserRuleReq
- type UpdateBanRoomUserRuleRes
- type UpdateBanRoomUserRuleResResponseMetadata
- type UpdateBanRoomUserRuleResResponseMetadataError
- type UpdateBanRoomUserRuleResResult
- type UpdateCallback
- type UpdateCallbackBody
- type UpdateCallbackQuery
- type UpdateCallbackReq
- type UpdateCallbackRes
- type UpdateCallbackResResponseMetadata
- type UpdateCallbackResResponseMetadataError
- type UpdateFailRecoveryPolicy
- type UpdateFailRecoveryPolicyBody
- type UpdateFailRecoveryPolicyQuery
- type UpdateFailRecoveryPolicyReq
- type UpdateFailRecoveryPolicyRes
- type UpdateFailRecoveryPolicyResResponseMetadata
- type UpdateFailRecoveryPolicyResResponseMetadataError
- type UpdateFailRecoveryPolicyResResult
- type UpdateFailRecoveryPolicyResResultPolicy
- type UpdatePublicStreamParam
- type UpdatePublicStreamParamBody
- type UpdatePublicStreamParamBodyControl
- type UpdatePublicStreamParamBodyEncode
- type UpdatePublicStreamParamBodyEncodeVideoConfig
- type UpdatePublicStreamParamBodyExcludeStreamsItem
- type UpdatePublicStreamParamBodyLayout
- type UpdatePublicStreamParamBodyLayoutCustomLayout
- type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItem
- type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItemSourceCrop
- type UpdatePublicStreamParamBodyLayoutVerticalLayout
- type UpdatePublicStreamParamBodyLayoutVerticalLayoutMainStream
- type UpdatePublicStreamParamBodyTargetStreamsItem
- type UpdatePublicStreamParamQuery
- type UpdatePublicStreamParamReq
- type UpdatePublicStreamParamRes
- type UpdatePublicStreamParamResResponseMetadata
- type UpdatePublicStreamParamResResponseMetadataError
- type UpdatePushMixedStreamToCDN
- type UpdatePushMixedStreamToCDNBody
- type UpdatePushMixedStreamToCDNBodyControl
- type UpdatePushMixedStreamToCDNBodyControlSpatialConfig
- type UpdatePushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation
- type UpdatePushMixedStreamToCDNBodyEncode
- type UpdatePushMixedStreamToCDNBodyLayout
- type UpdatePushMixedStreamToCDNBodyLayoutCustomLayout
- type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutCanvas
- type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem
- type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop
- type UpdatePushMixedStreamToCDNBodyLayoutMainVideoStream
- type UpdatePushMixedStreamToCDNBodyTargetStreams
- type UpdatePushMixedStreamToCDNBodyTargetStreamsStreamListItem
- type UpdatePushMixedStreamToCDNQuery
- type UpdatePushMixedStreamToCDNReq
- type UpdatePushMixedStreamToCDNRes
- type UpdatePushMixedStreamToCDNResResponseMetadata
- type UpdatePushMixedStreamToCDNResResponseMetadataError
- type UpdateRecord
- type UpdateRecordBody
- type UpdateRecordBodyLayout
- type UpdateRecordBodyLayoutCustomLayout
- type UpdateRecordBodyLayoutCustomLayoutCanvas
- type UpdateRecordBodyLayoutCustomLayoutRegionsItem
- type UpdateRecordBodyLayoutCustomLayoutRegionsItemSourceCrop
- type UpdateRecordBodyLayoutMainVideoStream
- type UpdateRecordBodyTargetStreams
- type UpdateRecordBodyTargetStreamsStreamListItem
- type UpdateRecordQuery
- type UpdateRecordReq
- type UpdateRecordRes
- type UpdateRecordResResponseMetadata
- type UpdateRecordResResponseMetadataError
- type UpdateRelayStream
- type UpdateRelayStreamBody
- type UpdateRelayStreamBodyControl
- type UpdateRelayStreamQuery
- type UpdateRelayStreamReq
- type UpdateRelayStreamRes
- type UpdateRelayStreamResResponseMetadata
- type UpdateRelayStreamResResponseMetadataError
- type UpdateSegment
- type UpdateSegmentBody
- type UpdateSegmentQuery
- type UpdateSegmentReq
- type UpdateSegmentRes
- type UpdateSegmentResResponseMetadata
- type UpdateSegmentResResponseMetadataError
- type UpdateSnapshot
- type UpdateSnapshotBody
- type UpdateSnapshotBodyImageConfig
- type UpdateSnapshotQuery
- type UpdateSnapshotReq
- type UpdateSnapshotRes
- type UpdateSnapshotResResponseMetadata
- type UpdateSnapshotResResponseMetadataError
- type UpdateVendorPolicy
- type UpdateVendorPolicyBody
- type UpdateVendorPolicyQuery
- type UpdateVendorPolicyReq
- type UpdateVendorPolicyRes
- type UpdateVendorPolicyResResponseMetadata
- type UpdateVendorPolicyResResponseMetadataError
- type UpdateVendorPolicyResResult
- type UpdateVendorPolicyResResultPolicy
- type WbTranscodeCreate
- type WbTranscodeCreateBody
- type WbTranscodeCreateBodyResourceAttr
- type WbTranscodeCreateBodyStorageConfig
- type WbTranscodeCreateBodyStorageConfigCustomConfig
- type WbTranscodeCreateBodyStorageConfigTosConfig
- type WbTranscodeCreateBodyTranscodeConfig
- type WbTranscodeCreateQuery
- type WbTranscodeCreateReq
- type WbTranscodeCreateRes
- type WbTranscodeCreateResResponseMetadata
- type WbTranscodeCreateResResponseMetadataError
- type WbTranscodeCreateResResult
- type WbTranscodeGet
- type WbTranscodeGetBody
- type WbTranscodeGetQuery
- type WbTranscodeGetReq
- type WbTranscodeGetRes
- type WbTranscodeGetResResponseMetadata
- type WbTranscodeGetResResponseMetadataError
- type WbTranscodeGetResResult
- type WbTranscodeGetResResultImagesItem
- type WbTranscodeQueryBody
- type WbTranscodeQueryQuery
- type WbTranscodeQueryReq
- type WbTranscodeQueryRes
- type WbTranscodeQueryResResponseMetadata
- type WbTranscodeQueryResResponseMetadataError
- type WbTranscodeQueryResResult
Constants ¶
const ( ServiceName = "rtc" DefaultTimeout = 10 * time.Second )
Variables ¶
var ( ServiceInfoMap = map[string]common.ServiceInfo{ "cn-north-1": { Timeout: DefaultTimeout, Scheme: "https", Host: "rtc.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: common.Credentials{ Region: "cn-north-1", Service: ServiceName, }, }, "ap-singapore-1": { Timeout: DefaultTimeout, Scheme: "https", Host: "open-ap-singapore-1.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: common.Credentials{ Region: "ap-singapore-1", Service: ServiceName, }, }, } ApiListInfo = map[string]*common.ApiInfo{ "BanRoomUser": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BanRoomUser"}, "Version": []string{"2020-12-01"}, }, }, "BanUserStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BanUserStream"}, "Version": []string{"2020-12-01"}, }, }, "UpdateBanRoomUserRule": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateBanRoomUserRule"}, "Version": []string{"2020-12-01"}, }, }, "KickUser": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"KickUser"}, "Version": []string{"2020-12-01"}, }, }, "UnbanUserStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbanUserStream"}, "Version": []string{"2020-12-01"}, }, }, "DismissRoom": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DismissRoom"}, "Version": []string{"2020-12-01"}, }, }, "StopPushPublicStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopPushPublicStream"}, "Version": []string{"2020-12-01"}, }, }, "StopRelayStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopRelayStream"}, "Version": []string{"2020-12-01"}, }, }, "StopSnapshot": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopSnapshot"}, "Version": []string{"2020-12-01"}, }, }, "StartPushPublicStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartPushPublicStream"}, "Version": []string{"2020-12-01"}, }, }, "StartWebcast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartWebcast"}, "Version": []string{"2020-12-01"}, }, }, "StartSnapshot": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartSnapshot"}, "Version": []string{"2020-12-01"}, }, }, "StartSegment": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartSegment"}, "Version": []string{"2020-12-01"}, }, }, "StartRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartRecord"}, "Version": []string{"2020-12-01"}, }, }, "StartPushSingleStreamToCDN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartPushSingleStreamToCDN"}, "Version": []string{"2020-12-01"}, }, }, "StartPushMixedStreamToCDN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartPushMixedStreamToCDN"}, "Version": []string{"2020-12-01"}, }, }, "StartRelayStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartRelayStream"}, "Version": []string{"2020-12-01"}, }, }, "UpdateRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRecord"}, "Version": []string{"2020-12-01"}, }, }, "UpdatePublicStreamParam": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePublicStreamParam"}, "Version": []string{"2020-12-01"}, }, }, "UpdatePushMixedStreamToCDN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePushMixedStreamToCDN"}, "Version": []string{"2020-12-01"}, }, }, "UpdateRelayStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRelayStream"}, "Version": []string{"2020-12-01"}, }, }, "UpdateSnapshot": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateSnapshot"}, "Version": []string{"2020-12-01"}, }, }, "UpdateSegment": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateSegment"}, "Version": []string{"2020-12-01"}, }, }, "GetWebCastTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetWebCastTask"}, "Version": []string{"2020-12-01"}, }, }, "GetPushSingleStreamToCDNTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPushSingleStreamToCDNTask"}, "Version": []string{"2020-12-01"}, }, }, "GetPushMixedStreamToCDNTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPushMixedStreamToCDNTask"}, "Version": []string{"2020-12-01"}, }, }, "GetRecordTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetRecordTask"}, "Version": []string{"2020-12-01"}, }, }, "ListRelayStream": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListRelayStream"}, "Version": []string{"2020-12-01"}, }, }, "StopWebcast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopWebcast"}, "Version": []string{"2020-12-01"}, }, }, "StopRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopRecord"}, "Version": []string{"2020-12-01"}, }, }, "StopPushStreamToCDN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopPushStreamToCDN"}, "Version": []string{"2020-12-01"}, }, }, "StopSegment": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopSegment"}, "Version": []string{"2020-12-01"}, }, }, "SendBroadcast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SendBroadcast"}, "Version": []string{"2020-12-01"}, }, }, "SendRoomUnicast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SendRoomUnicast"}, "Version": []string{"2020-12-01"}, }, }, "SendUnicast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SendUnicast"}, "Version": []string{"2020-12-01"}, }, }, "BatchSendRoomUnicast": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BatchSendRoomUnicast"}, "Version": []string{"2020-12-01"}, }, }, "CreateApp": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateApp"}, "Version": []string{"2020-12-01"}, }, }, "ModifyAppStatus": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ModifyAppStatus"}, "Version": []string{"2020-12-01"}, }, }, "ListApps": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListApps"}, "Version": []string{"2020-12-01"}, }, }, "ModifyBusinessRemarks": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ModifyBusinessRemarks"}, "Version": []string{"2020-12-01"}, }, }, "DeleteBusinessID": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteBusinessID"}, "Version": []string{"2020-12-01"}, }, }, "AddBusinessID": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddBusinessID"}, "Version": []string{"2020-12-01"}, }, }, "GetAllBusinessID": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetAllBusinessID"}, "Version": []string{"2020-12-01"}, }, }, "StartWBRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartWBRecord"}, "Version": []string{"2020-12-01"}, }, }, "WbTranscodeCreate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"WbTranscodeCreate"}, "Version": []string{"2020-12-01"}, }, }, "WbTranscodeQuery": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"WbTranscodeQuery"}, "Version": []string{"2020-12-01"}, }, }, "StopWBRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopWBRecord"}, "Version": []string{"2020-12-01"}, }, }, "WbTranscodeGet": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"WbTranscodeGet"}, "Version": []string{"2020-12-01"}, }, }, "ListRealTimeQualityDistribution": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListRealTimeQualityDistribution"}, "Version": []string{"2020-12-01"}, }, }, "ListRealTimeQuality": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListRealTimeQuality"}, "Version": []string{"2020-12-01"}, }, }, "ListRealTimeOperationData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListRealTimeOperationData"}, "Version": []string{"2020-12-01"}, }, }, "ListQualityDistribution": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListQualityDistribution"}, "Version": []string{"2020-12-01"}, }, }, "ListUserInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListUserInfo"}, "Version": []string{"2020-12-01"}, }, }, "ListQuality": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListQuality"}, "Version": []string{"2020-12-01"}, }, }, "ListOperationDistribution": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListOperationDistribution"}, "Version": []string{"2020-12-01"}, }, }, "ListOperationData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListOperationData"}, "Version": []string{"2020-12-01"}, }, }, "ListRoomInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListRoomInfo"}, "Version": []string{"2020-12-01"}, }, }, "ListCallDetail": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCallDetail"}, "Version": []string{"2020-12-01"}, }, }, "SearchMusics": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SearchMusics"}, "Version": []string{"2020-12-01"}, }, }, "ListMusics": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListMusics"}, "Version": []string{"2020-12-01"}, }, }, "ListHotMusic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListHotMusic"}, "Version": []string{"2020-12-01"}, }, }, "ListDetectionTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListDetectionTask"}, "Version": []string{"2020-12-01"}, }, }, "StopDetection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopDetection"}, "Version": []string{"2020-12-01"}, }, }, "StartDetection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartDetection"}, "Version": []string{"2020-12-01"}, }, }, "CreateFailRecoveryPolicy": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateFailRecoveryPolicy"}, "Version": []string{"2020-12-01"}, }, }, "CreateVendorPolicy": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateVendorPolicy"}, "Version": []string{"2020-12-01"}, }, }, "DeleteFailRecoveryPolicy": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteFailRecoveryPolicy"}, "Version": []string{"2020-12-01"}, }, }, "GetFailRecoveryPolicies": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetFailRecoveryPolicies"}, "Version": []string{"2020-12-01"}, }, }, "UpdateFailRecoveryPolicy": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateFailRecoveryPolicy"}, "Version": []string{"2020-12-01"}, }, }, "UpdateVendorPolicy": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateVendorPolicy"}, "Version": []string{"2020-12-01"}, }, }, "ListUsages": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListUsages"}, "Version": []string{"2020-12-01"}, }, }, "CreateByteplusApp": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateByteplusApp"}, "Version": []string{"2020-12-01"}, }, }, "GetResourcePackNum": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetResourcePackNum"}, "Version": []string{"2020-12-01"}, }, }, "ListResourcePackages": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListResourcePackages"}, "Version": []string{"2020-12-01"}, }, }, "ListResourcePackagesV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListResourcePackagesV2"}, "Version": []string{"2020-12-01"}, }, }, "CreateCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCallback"}, "Version": []string{"2020-12-01"}, }, }, "DeleteCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCallback"}, "Version": []string{"2020-12-01"}, }, }, "GetCallback": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetCallback"}, "Version": []string{"2020-12-01"}, }, }, "UpdateCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCallback"}, "Version": []string{"2020-12-01"}, }, }, } )
Functions ¶
This section is empty.
Types ¶
type AddBusinessID ¶
type AddBusinessID struct{}
    type AddBusinessIDBody ¶
type AddBusinessIDBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// REQUIRED; 业务 ID,同一个 AppId 下不允许重复。长度不超过 64 个字符,取值范围为:数字、字母、_、-、@。
	BusinessID string `json:"BusinessId"`
	// REQUIRED; 业务名称,同一个 AppId 下不允许重复。长度不超过 24 个字符,取值范围为:数字、中文字符、字母和下划线。
	Remarks string `json:"Remarks"`
}
    type AddBusinessIDQuery ¶
type AddBusinessIDQuery struct{}
    type AddBusinessIDReq ¶
type AddBusinessIDReq struct {
	*AddBusinessIDQuery
	*AddBusinessIDBody
}
    type AddBusinessIDRes ¶
type AddBusinessIDRes struct {
	// REQUIRED
	ResponseMetadata AddBusinessIDResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result string `json:"Result"`
}
    type AddBusinessIDResResponseMetadata ¶
type AddBusinessIDResResponseMetadata 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 *AddBusinessIDResResponseMetadataError `json:"Error,omitempty"`
}
    type AddBusinessIDResResponseMetadataError ¶
type AddBusinessIDResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    AddBusinessIDResResponseMetadataError - 仅在请求失败时返回。
type BanRoomUser ¶
type BanRoomUser struct{}
    type BanRoomUserBody ¶
type BanRoomUserBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// 封禁时长,取值范围为 {0,[10,604800]},单位为秒。 若传入值为空或 0 表示允许用户重新进房。 若传入值小于 10,自动修改为 10。 若传入值大于 604800,自动修改为 604800。
	ForbiddenInterval *int32 `json:"ForbiddenInterval,omitempty"`
	// 指定房间 ID
	RoomID *string `json:"RoomId,omitempty"`
	// 希望封禁用户的 ID
	UserID *string `json:"UserId,omitempty"`
}
    type BanRoomUserQuery ¶
type BanRoomUserQuery struct{}
    type BanRoomUserReq ¶
type BanRoomUserReq struct {
	*BanRoomUserQuery
	*BanRoomUserBody
}
    type BanRoomUserRes ¶
type BanRoomUserRes struct {
	// REQUIRED
	ResponseMetadata BanRoomUserResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result BanRoomUserResResult `json:"Result"`
}
    type BanRoomUserResResponseMetadata ¶
type BanRoomUserResResponseMetadata 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 *BanRoomUserResResponseMetadataError `json:"Error,omitempty"`
}
    type BanRoomUserResResponseMetadataError ¶
type BanRoomUserResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    BanRoomUserResResponseMetadataError - 仅在请求失败时返回。
type BanRoomUserResResult ¶
type BanRoomUserResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 "success", 失败时为空。
	Message string `json:"message"`
}
    type BanUserStream ¶
type BanUserStream struct{}
    type BanUserStreamBody ¶
type BanUserStreamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 需要封禁用户所属 Token
	Token string `json:"Token"`
	// REQUIRED; 你需要封禁音/视频流的用户的 ID
	UserID string `json:"UserId"`
	// 是否封禁音频流,置为 true 时,表示封禁音频流
	Audio *bool `json:"Audio,omitempty"`
	// 是否封禁视频流,置为 true 时,表示封禁视频流
	Video *bool `json:"Video,omitempty"`
}
    type BanUserStreamQuery ¶
type BanUserStreamQuery struct{}
    type BanUserStreamReq ¶
type BanUserStreamReq struct {
	*BanUserStreamQuery
	*BanUserStreamBody
}
    type BanUserStreamRes ¶
type BanUserStreamRes struct {
	// REQUIRED
	ResponseMetadata BanUserStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *BanUserStreamResResult          `json:"Result,omitempty"`
}
    type BanUserStreamResResponseMetadata ¶
type BanUserStreamResResponseMetadata 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 *BanUserStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type BanUserStreamResResponseMetadataError ¶
type BanUserStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    BanUserStreamResResponseMetadataError - 仅在请求失败时返回。
type BanUserStreamResResult ¶
type BanUserStreamResResult struct {
	// REQUIRED
	Message string `json:"message"`
}
    type BatchSendRoomUnicast ¶
type BatchSendRoomUnicast struct{}
    type BatchSendRoomUnicastBody ¶
type BatchSendRoomUnicastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 是否为二进制消息。
	Binary bool `json:"Binary"`
	// REQUIRED; 业务服务端的唯一标识。 命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}。 在一个 AppID 下,不能和真实用户用于实时消息通信的 user_ID 重复; 建议使用固定的 ID 的发送消息。
	From string `json:"From"`
	// REQUIRED; 点对点消息 。如果是二进制消息,需进行 base64 编码
	Message string `json:"Message"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 消息接收者的 user_ID
	To []string `json:"To"`
}
    type BatchSendRoomUnicastQuery ¶
type BatchSendRoomUnicastQuery struct{}
    type BatchSendRoomUnicastReq ¶
type BatchSendRoomUnicastReq struct {
	*BatchSendRoomUnicastQuery
	*BatchSendRoomUnicastBody
}
    type BatchSendRoomUnicastRes ¶
type BatchSendRoomUnicastRes struct {
	// REQUIRED
	ResponseMetadata BatchSendRoomUnicastResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 返回值 Result 仅在请求成功时返回消息 success ,表示服务端成功接收到消息,失败时为空。
	Result BatchSendRoomUnicastResResult `json:"Result"`
}
    type BatchSendRoomUnicastResResponseMetadata ¶
type BatchSendRoomUnicastResResponseMetadata 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 *BatchSendRoomUnicastResResponseMetadataError `json:"Error,omitempty"`
}
    type BatchSendRoomUnicastResResponseMetadataError ¶
type BatchSendRoomUnicastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    BatchSendRoomUnicastResResponseMetadataError - 仅在请求失败时返回。
type BatchSendRoomUnicastResResult ¶
type BatchSendRoomUnicastResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 Success,失败时为空。
	Message string `json:"Message"`
}
    BatchSendRoomUnicastResResult - 返回值 Result 仅在请求成功时返回消息 success ,表示服务端成功接收到消息,失败时为空。
type CreateAppBody ¶
type CreateAppBody struct {
	// REQUIRED; * 应用名称
	// * 命名规则:字符串中只能包含中文字符、英文大小写字符、数字和下划线;长度不能超过24个字符。
	AppName string `json:"AppName"`
}
    type CreateAppQuery ¶
type CreateAppQuery struct{}
    type CreateAppReq ¶
type CreateAppReq struct {
	*CreateAppQuery
	*CreateAppBody
}
    type CreateAppRes ¶
type CreateAppRes struct {
	// REQUIRED
	ResponseMetadata CreateAppResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result CreateAppResResult `json:"Result"`
}
    type CreateAppResResponseMetadata ¶
type CreateAppResResponseMetadata 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 *CreateAppResResponseMetadataError `json:"Error,omitempty"`
}
    type CreateAppResResponseMetadataError ¶
type CreateAppResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    CreateAppResResponseMetadataError - 仅在请求失败时返回。
type CreateAppResResult ¶
type CreateAppResResult struct {
	// REQUIRED; 应用 ID
	AppID string `json:"AppId"`
	// REQUIRED; 主 AppKey,用于生成 Token
	AppKey string `json:"AppKey"`
	// REQUIRED; 创建时间
	CreateDate string `json:"CreateDate"`
	// REQUIRED; 计费实例 ID
	InstanceID string `json:"InstanceId"`
	// REQUIRED; * 服务状态。枚举值为:
	// * 0: 创建中——指 AppID 在初始化
	// * 1: 运行中——指当前 AppID 为正常服务状态
	// * 6: 欠费关停
	// * 98: 已停用——指调用服务端停用接口,当前 AppID 被设置为不可用状态
	InstanceStatus int32 `json:"InstanceStatus"`
	// REQUIRED; 应用名称
	Name string `json:"Name"`
	// REQUIRED; 应用所属的账号 ID
	Owner string `json:"Owner"`
	// REQUIRED; 副 AppKey,启用后可用于生成 Token
	SecondaryAppKey string `json:"SecondaryAppKey"`
}
    type CreateByteplusApp ¶
type CreateByteplusApp struct{}
    type CreateByteplusAppBody ¶
type CreateByteplusAppBody struct{}
    type CreateByteplusAppQuery ¶
type CreateByteplusAppQuery struct{}
    type CreateByteplusAppReq ¶
type CreateByteplusAppReq struct {
	*CreateByteplusAppQuery
	*CreateByteplusAppBody
}
    type CreateByteplusAppRes ¶
type CreateByteplusAppRes struct {
	// REQUIRED
	ResponseMetadata CreateByteplusAppResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result CreateByteplusAppResResult `json:"Result"`
}
    type CreateByteplusAppResResponseMetadata ¶
type CreateByteplusAppResResponseMetadata 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 *CreateByteplusAppResResponseMetadataError `json:"Error,omitempty"`
}
    type CreateByteplusAppResResponseMetadataError ¶
type CreateByteplusAppResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    CreateByteplusAppResResponseMetadataError - 仅在请求失败时返回。
type CreateByteplusAppResResult ¶
type CreateByteplusAppResResult struct {
	// REQUIRED
	AppID string `json:"AppId"`
	// REQUIRED
	AppKey string `json:"AppKey"`
	// REQUIRED
	CreateDate string `json:"CreateDate"`
	// REQUIRED
	Enabled bool `json:"Enabled"`
	// REQUIRED
	InstanceID string `json:"InstanceId"`
	// REQUIRED
	InstanceStatus int32 `json:"InstanceStatus"`
	// REQUIRED
	LicenseStatus int32 `json:"LicenseStatus"`
	// REQUIRED
	LicenseType int32 `json:"LicenseType"`
	// REQUIRED
	Name string `json:"Name"`
	// REQUIRED
	Owner string `json:"Owner"`
	// REQUIRED
	SecondaryAppKey string `json:"SecondaryAppKey"`
	// REQUIRED
	Status int32 `json:"Status"`
}
    type CreateCallback ¶
type CreateCallback struct{}
    type CreateCallbackBody ¶
type CreateCallbackQuery ¶
type CreateCallbackQuery struct{}
    type CreateCallbackReq ¶
type CreateCallbackReq struct {
	*CreateCallbackQuery
	*CreateCallbackBody
}
    type CreateCallbackRes ¶
type CreateCallbackRes struct {
	// REQUIRED
	ResponseMetadata CreateCallbackResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result string `json:"Result"`
}
    type CreateCallbackResResponseMetadata ¶
type CreateCallbackResResponseMetadata 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 *CreateCallbackResResponseMetadataError `json:"Error,omitempty"`
}
    type CreateCallbackResResponseMetadataError ¶
type CreateCallbackResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    CreateCallbackResResponseMetadataError - 仅在请求失败时返回。
type CreateFailRecoveryPolicy ¶
type CreateFailRecoveryPolicy struct{}
    type CreateFailRecoveryPolicyQuery ¶
type CreateFailRecoveryPolicyQuery struct{}
    type CreateFailRecoveryPolicyReq ¶
type CreateFailRecoveryPolicyReq struct {
	*CreateFailRecoveryPolicyQuery
	*CreateFailRecoveryPolicyBody
}
    type CreateFailRecoveryPolicyRes ¶
type CreateFailRecoveryPolicyRes struct {
	// REQUIRED
	ResponseMetadata CreateFailRecoveryPolicyResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *CreateFailRecoveryPolicyResResult `json:"Result,omitempty"`
}
    type CreateFailRecoveryPolicyResResponseMetadata ¶
type CreateFailRecoveryPolicyResResponseMetadata 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 *CreateFailRecoveryPolicyResResponseMetadataError `json:"Error,omitempty"`
}
    type CreateFailRecoveryPolicyResResponseMetadataError ¶
type CreateFailRecoveryPolicyResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    CreateFailRecoveryPolicyResResponseMetadataError - 仅在请求失败时返回。
type CreateFailRecoveryPolicyResResult ¶
type CreateFailRecoveryPolicyResResult struct {
	// REQUIRED; 创建的策略的详细信息
	Policy CreateFailRecoveryPolicyResResultPolicy `json:"Policy"`
}
    CreateFailRecoveryPolicyResResult - 视请求的接口而定
type CreateFailRecoveryPolicyResResultPolicy ¶
type CreateFailRecoveryPolicyResResultPolicy struct {
	// REQUIRED; RTC应用ID
	AppID string `json:"AppID"`
	// REQUIRED; 创建时间(毫秒)
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 故障线路
	FromVendor string `json:"FromVendor"`
	// REQUIRED; 数据条目的ID。后面删除和修改都需要指定该ID
	ID int32 `json:"ID"`
	// REQUIRED; 0~100的整数,故障线路恢复的百分比
	RecoveryPercentage int32 `json:"RecoveryPercentage"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 切换至线路
	ToVendor string `json:"ToVendor"`
	// REQUIRED; 更新时间(毫秒)
	UpdateTime string `json:"UpdateTime"`
}
    CreateFailRecoveryPolicyResResultPolicy - 创建的策略的详细信息
type CreateVendorPolicy ¶
type CreateVendorPolicy struct{}
    type CreateVendorPolicyBody ¶
type CreateVendorPolicyQuery ¶
type CreateVendorPolicyQuery struct{}
    type CreateVendorPolicyReq ¶
type CreateVendorPolicyReq struct {
	*CreateVendorPolicyQuery
	*CreateVendorPolicyBody
}
    type CreateVendorPolicyRes ¶
type CreateVendorPolicyRes struct {
	// REQUIRED
	ResponseMetadata CreateVendorPolicyResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *CreateVendorPolicyResResult `json:"Result,omitempty"`
}
    type CreateVendorPolicyResResponseMetadata ¶
type CreateVendorPolicyResResponseMetadata 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 *CreateVendorPolicyResResponseMetadataError `json:"Error,omitempty"`
}
    type CreateVendorPolicyResResponseMetadataError ¶
type CreateVendorPolicyResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    CreateVendorPolicyResResponseMetadataError - 仅在请求失败时返回。
type CreateVendorPolicyResResult ¶
type CreateVendorPolicyResResult struct {
	// REQUIRED; 创建的策略详情
	Policy CreateVendorPolicyResResultPolicy `json:"Policy"`
}
    CreateVendorPolicyResResult - 视请求的接口而定
type CreateVendorPolicyResResultPolicy ¶
type CreateVendorPolicyResResultPolicy struct {
	// REQUIRED; 应用ID
	AppID string `json:"AppID"`
	// REQUIRED; 应用标识
	BusinessID string `json:"BusinessID"`
	// REQUIRED; 创建时间(毫秒)
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 数据条目的ID。后面删除和修改都需要指定该ID
	ID int32 `json:"ID"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 更新时间(毫秒)
	UpdateTime int32 `json:"UpdateTime"`
	// REQUIRED; 各线路放量比例
	VendorProportion string `json:"VendorProportion"`
}
    CreateVendorPolicyResResultPolicy - 创建的策略详情
type DeleteBusinessID ¶
type DeleteBusinessID struct{}
    type DeleteBusinessIDBody ¶
type DeleteBusinessIDQuery ¶
type DeleteBusinessIDQuery struct{}
    type DeleteBusinessIDReq ¶
type DeleteBusinessIDReq struct {
	*DeleteBusinessIDQuery
	*DeleteBusinessIDBody
}
    type DeleteBusinessIDRes ¶
type DeleteBusinessIDRes struct {
	// REQUIRED
	ResponseMetadata DeleteBusinessIDResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result string `json:"Result"`
}
    type DeleteBusinessIDResResponseMetadata ¶
type DeleteBusinessIDResResponseMetadata 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 *DeleteBusinessIDResResponseMetadataError `json:"Error,omitempty"`
}
    type DeleteBusinessIDResResponseMetadataError ¶
type DeleteBusinessIDResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    DeleteBusinessIDResResponseMetadataError - 仅在请求失败时返回。
type DeleteCallback ¶
type DeleteCallback struct{}
    type DeleteCallbackBody ¶
type DeleteCallbackBody struct{}
    type DeleteCallbackQuery ¶
type DeleteCallbackReq ¶
type DeleteCallbackReq struct {
	*DeleteCallbackQuery
	*DeleteCallbackBody
}
    type DeleteCallbackRes ¶
type DeleteCallbackRes struct {
	// REQUIRED
	ResponseMetadata DeleteCallbackResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 结果
	Result string `json:"Result"`
}
    type DeleteCallbackResResponseMetadata ¶
type DeleteCallbackResResponseMetadata struct {
	// REQUIRED; 接口名称
	Action string `json:"Action"`
	// REQUIRED; 区域
	Region string `json:"Region"`
	// REQUIRED; 请求ID
	RequestID string `json:"RequestId"`
	// REQUIRED; 服务Provider
	Service string `json:"Service"`
	// REQUIRED; 接口版本
	Version string `json:"Version"`
	// 仅在请求失败时返回。
	Error *DeleteCallbackResResponseMetadataError `json:"Error,omitempty"`
}
    type DeleteCallbackResResponseMetadataError ¶
type DeleteCallbackResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    DeleteCallbackResResponseMetadataError - 仅在请求失败时返回。
type DeleteFailRecoveryPolicy ¶
type DeleteFailRecoveryPolicy struct{}
    type DeleteFailRecoveryPolicyBody ¶
type DeleteFailRecoveryPolicyBody struct {
	// REQUIRED
	ID int32 `json:"ID"`
}
    type DeleteFailRecoveryPolicyQuery ¶
type DeleteFailRecoveryPolicyQuery struct{}
    type DeleteFailRecoveryPolicyReq ¶
type DeleteFailRecoveryPolicyReq struct {
	*DeleteFailRecoveryPolicyQuery
	*DeleteFailRecoveryPolicyBody
}
    type DeleteFailRecoveryPolicyRes ¶
type DeleteFailRecoveryPolicyRes struct {
	// REQUIRED
	ResponseMetadata DeleteFailRecoveryPolicyResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result interface{} `json:"Result,omitempty"`
}
    type DeleteFailRecoveryPolicyResResponseMetadata ¶
type DeleteFailRecoveryPolicyResResponseMetadata 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 *DeleteFailRecoveryPolicyResResponseMetadataError `json:"Error,omitempty"`
}
    type DeleteFailRecoveryPolicyResResponseMetadataError ¶
type DeleteFailRecoveryPolicyResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    DeleteFailRecoveryPolicyResResponseMetadataError - 仅在请求失败时返回。
type DismissRoom ¶
type DismissRoom struct{}
    type DismissRoomBody ¶
type DismissRoomBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
}
    type DismissRoomQuery ¶
type DismissRoomQuery struct{}
    type DismissRoomReq ¶
type DismissRoomReq struct {
	*DismissRoomQuery
	*DismissRoomBody
}
    type DismissRoomRes ¶
type DismissRoomRes struct {
	// REQUIRED
	ResponseMetadata DismissRoomResResponseMetadata `json:"ResponseMetadata"`
	Result           *DismissRoomResResult          `json:"Result,omitempty"`
}
    type DismissRoomResResponseMetadata ¶
type DismissRoomResResponseMetadata 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 *DismissRoomResResponseMetadataError `json:"Error,omitempty"`
}
    type DismissRoomResResponseMetadataError ¶
type DismissRoomResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    DismissRoomResResponseMetadataError - 仅在请求失败时返回。
type DismissRoomResResult ¶
type DismissRoomResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 "success", 失败时为空。
	Message string `json:"message"`
}
    type Event20231101 ¶
type Event20231101 struct {
	// 原因,只有error事件有
	Cause *string `json:"Cause,omitempty"`
	// 事件描述
	Description *string `json:"Description,omitempty"`
	// 原始日志信息,这一期不做在前端展示
	Detail *string `json:"Detail,omitempty"`
	// 展示名
	DisplayName *string `json:"DisplayName,omitempty"`
	// 事件级别 Info、Warning、Error
	Level *int64 `json:"Level,omitempty"`
	// 事件名,英文
	Name *string `json:"Name,omitempty"`
	// 子事件,构成该聚合事件的事件,这一期不做在前端展示
	SubEvents []*Event20231101SubEventsItem `json:"SubEvents,omitempty"`
	// 标签
	Tags []*string `json:"Tags,omitempty"`
	// 事件时间,若为聚合类事件,取最大时间
	Time *int64 `json:"Time,omitempty"`
}
    type Event20231101SubEventsItem ¶
type Event20231101SubEventsItem struct {
	// 原因,只有error事件有
	Cause *string `json:"Cause,omitempty"`
	// 事件描述
	Description *string `json:"Description,omitempty"`
	// 原始日志信息,这一期不做在前端展示
	Detail *string `json:"Detail,omitempty"`
	// 展示名
	DisplayName *string `json:"DisplayName,omitempty"`
	// 事件级别 Info、Warning、Error
	Level *int64 `json:"Level,omitempty"`
	// 事件名,英文
	Name *string `json:"Name,omitempty"`
	// 子事件,构成该聚合事件的事件,这一期不做在前端展示
	SubEvents []*Event20231101 `json:"SubEvents,omitempty"`
	// 标签
	Tags []*string `json:"Tags,omitempty"`
	// 事件时间,若为聚合类事件,取最大时间
	Time *int64 `json:"Time,omitempty"`
}
    type GetAllBusinessID ¶
type GetAllBusinessID struct{}
    type GetAllBusinessIDBody ¶
type GetAllBusinessIDQuery ¶
type GetAllBusinessIDQuery struct{}
    type GetAllBusinessIDReq ¶
type GetAllBusinessIDReq struct {
	*GetAllBusinessIDQuery
	*GetAllBusinessIDBody
}
    type GetAllBusinessIDRes ¶
type GetAllBusinessIDRes struct {
	// REQUIRED
	ResponseMetadata GetAllBusinessIDResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result GetAllBusinessIDResResult `json:"Result"`
}
    type GetAllBusinessIDResResponseMetadata ¶
type GetAllBusinessIDResResponseMetadata 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 *GetAllBusinessIDResResponseMetadataError `json:"Error,omitempty"`
}
    type GetAllBusinessIDResResponseMetadataError ¶
type GetAllBusinessIDResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetAllBusinessIDResResponseMetadataError - 仅在请求失败时返回。
type GetAllBusinessIDResResult ¶
type GetAllBusinessIDResResult struct {
	// REQUIRED; 业务标识相关信息
	BusinessRecords []GetAllBusinessIDResResultBusinessRecordsItem `json:"BusinessRecords"`
	// REQUIRED; 该 AppId 下业务标识总数
	TotalSize int32 `json:"TotalSize"`
}
    type GetCallback ¶
type GetCallback struct{}
    type GetCallbackBody ¶
type GetCallbackBody struct{}
    type GetCallbackQuery ¶
type GetCallbackQuery struct {
	// REQUIRED
	AppID string `json:"AppId" query:"AppId"`
}
    type GetCallbackReq ¶
type GetCallbackReq struct {
	*GetCallbackQuery
	*GetCallbackBody
}
    type GetCallbackRes ¶
type GetCallbackRes struct {
	// REQUIRED
	ResponseMetadata GetCallbackResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result GetCallbackResResult `json:"Result"`
}
    type GetCallbackResResponseMetadata ¶
type GetCallbackResResponseMetadata struct {
	// REQUIRED; 接口名称
	Action string `json:"Action"`
	// REQUIRED; 区域
	Region string `json:"Region"`
	// REQUIRED; 请求ID
	RequestID string `json:"RequestId"`
	// REQUIRED; 服务Provider
	Service string `json:"Service"`
	// REQUIRED; 接口版本
	Version string `json:"Version"`
	// 仅在请求失败时返回。
	Error *GetCallbackResResponseMetadataError `json:"Error,omitempty"`
}
    type GetCallbackResResponseMetadataError ¶
type GetCallbackResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetCallbackResResponseMetadataError - 仅在请求失败时返回。
type GetCallbackResResult ¶
type GetCallbackResResult struct {
	// REQUIRED
	AccountID string `json:"AccountId"`
	// REQUIRED
	AppID string `json:"AppId"`
	// REQUIRED
	BusinessID string `json:"BusinessId"`
	// REQUIRED
	Callbacks []GetCallbackResResultCallbacksItem `json:"Callbacks"`
	// REQUIRED
	CreatedAt string `json:"CreatedAt"`
	// REQUIRED
	EventList string `json:"EventList"`
	// REQUIRED
	Region string `json:"Region"`
	// REQUIRED
	SecretKey string `json:"SecretKey"`
	// REQUIRED
	URL string `json:"URL"`
	// REQUIRED
	UpdatedAt string `json:"UpdatedAt"`
}
    type GetCallbackResResultCallbacksItem ¶
type GetCallbackResResultCallbacksItem struct {
	AccountID  *string   `json:"AccountId,omitempty"`
	AppID      *string   `json:"AppId,omitempty"`
	BusinessID *string   `json:"BusinessId,omitempty"`
	CreatedAt  *string   `json:"CreatedAt,omitempty"`
	EventList  []*string `json:"EventList,omitempty"`
	Region     *string   `json:"Region,omitempty"`
	SecretKey  *string   `json:"SecretKey,omitempty"`
	URL        *string   `json:"URL,omitempty"`
	UpdatedAt  *string   `json:"UpdatedAt,omitempty"`
}
    type GetFailRecoveryPolicies ¶
type GetFailRecoveryPolicies struct{}
    type GetFailRecoveryPoliciesBody ¶
type GetFailRecoveryPoliciesBody struct {
	// REQUIRED; RTC应用id
	AppID string `json:"AppID"`
	// REQUIRED; 故障线路
	FromVendor string `json:"FromVendor"`
	// REQUIRED; 排序方式,可从"createTime", "updateTime", "priority"中取值,默认为"updateTime"
	OrderBy string `json:"OrderBy"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 目标线路
	ToVendor string `json:"ToVendor"`
}
    type GetFailRecoveryPoliciesQuery ¶
type GetFailRecoveryPoliciesQuery struct{}
    type GetFailRecoveryPoliciesReq ¶
type GetFailRecoveryPoliciesReq struct {
	*GetFailRecoveryPoliciesQuery
	*GetFailRecoveryPoliciesBody
}
    type GetFailRecoveryPoliciesRes ¶
type GetFailRecoveryPoliciesRes struct {
	// REQUIRED
	ResponseMetadata GetFailRecoveryPoliciesResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *GetFailRecoveryPoliciesResResult `json:"Result,omitempty"`
}
    type GetFailRecoveryPoliciesResResponseMetadata ¶
type GetFailRecoveryPoliciesResResponseMetadata 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 *GetFailRecoveryPoliciesResResponseMetadataError `json:"Error,omitempty"`
}
    type GetFailRecoveryPoliciesResResponseMetadataError ¶
type GetFailRecoveryPoliciesResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetFailRecoveryPoliciesResResponseMetadataError - 仅在请求失败时返回。
type GetFailRecoveryPoliciesResResult ¶
type GetFailRecoveryPoliciesResResult struct {
	// REQUIRED; 切线策略列表
	Policies []GetFailRecoveryPoliciesResResultPoliciesItem `json:"Policies"`
}
    GetFailRecoveryPoliciesResResult - 视请求的接口而定
type GetFailRecoveryPoliciesResResultPoliciesItem ¶
type GetFailRecoveryPoliciesResResultPoliciesItem struct {
	// REQUIRED; RTC应用ID
	AppID string `json:"AppID"`
	// REQUIRED; 创建时间(毫秒)
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 故障线路
	FromVendor string `json:"FromVendor"`
	// REQUIRED; 数据条目的ID。后面删除和修改都需要指定该ID
	ID int32 `json:"ID"`
	// REQUIRED; 0~100的整数,故障线路恢复的百分比
	RecoveryPercentage int32 `json:"RecoveryPercentage"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 切换至线路
	ToVendor string `json:"ToVendor"`
	// REQUIRED; 更新时间(毫秒)
	UpdateTime string `json:"UpdateTime"`
}
    type GetPushMixedStreamToCDNTask ¶
type GetPushMixedStreamToCDNTask struct{}
    type GetPushMixedStreamToCDNTaskBody ¶
type GetPushMixedStreamToCDNTaskBody struct{}
    type GetPushMixedStreamToCDNTaskQuery ¶
type GetPushMixedStreamToCDNTaskQuery struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId" query:"RoomId"`
	// 要查询的转推直播任务 ID。通过服务端发起时,该值为调用 OpenAPI 时传入的 TaskId。通过客户端 SDK 发起时,TaskId 是按照 userId@@taskId 格式拼接而成的字符串;当传入的 taskId 为空时,这里的
	// TaskId 为 userId。
	// TaskId和UserId均为非必填参数,但是你需要至少填一个参数以保证可以正常发起请求。
	TaskID *string `json:"TaskId,omitempty" query:"TaskId"`
	// 客户端发起转推任务的用户 ID。
	// 你在客户端发起多个任务,当使用该接口进行查询时:
	// * 查询第一个任务时,UserId 可以传入发起转推任务的用户 UserId,TaskId 传入空字符串;或直接将该用户的 UserId 传入 TaskId。
	// * 查询第二个以上任务时,UserId 和 TaskId 为发起转推任务的用户 UserId 和 TaskId。
	UserID *string `json:"UserId,omitempty" query:"UserId"`
}
    type GetPushMixedStreamToCDNTaskReq ¶
type GetPushMixedStreamToCDNTaskReq struct {
	*GetPushMixedStreamToCDNTaskQuery
	*GetPushMixedStreamToCDNTaskBody
}
    type GetPushMixedStreamToCDNTaskRes ¶
type GetPushMixedStreamToCDNTaskRes struct {
	// REQUIRED
	ResponseMetadata GetPushMixedStreamToCDNTaskResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result GetPushMixedStreamToCDNTaskResResult `json:"Result"`
}
    type GetPushMixedStreamToCDNTaskResResponseMetadata ¶
type GetPushMixedStreamToCDNTaskResResponseMetadata 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 *GetPushMixedStreamToCDNTaskResResponseMetadataError `json:"Error,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResponseMetadataError ¶
type GetPushMixedStreamToCDNTaskResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetPushMixedStreamToCDNTaskResResponseMetadataError - 仅在请求失败时返回。
type GetPushMixedStreamToCDNTaskResResult ¶
type GetPushMixedStreamToCDNTaskResResult struct {
	// 合流转推任务信息
	PushMixedStreamToCDNTask *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTask `json:"PushMixedStreamToCDNTask,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTask ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTask struct {
	// 控制选项
	Control *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControl `json:"Control,omitempty"`
	Encode  *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskEncode  `json:"Encode,omitempty"`
	// 任务结束时间戳,Unix 时间,单位为毫秒。0 表示任务未结束
	EndTime        *int64                                                                      `json:"EndTime,omitempty"`
	ExcludeStreams *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreams `json:"ExcludeStreams,omitempty"`
	Layout         *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayout         `json:"Layout,omitempty"`
	// 推流状态
	// * 0:运行中,未获取到任务状态,建议稍后重新查询
	// * 1:未开始推流
	// * 2:首次连接 CDN 服务
	// * 3:正在重连 CDN 服务
	// * 4:连接 CDN 服务成功,正在尝试推流。
	// * 5:连接 CDN 服务成功,推流成功
	// * 6:已停止推流。
	// 仅当Status=2 时,PushStreamState 有实际意义;当Status=3 时,PushStreamState=6; status 为其他值时,PushStreamState 均为0。
	PushStreamState *int32 `json:"PushStreamState,omitempty"`
	// 推流 CDN 地址。仅支持 RTMP 协议。
	PushURL *string `json:"PushURL,omitempty"`
	// 任务开始时间戳,Unix 时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitempty"`
	// 任务状态。
	// * 0:未知异常状态
	// * 1:未开始
	// * 2: 运行中
	// * 3: 已结束
	// * 4: 任务运行失败
	Status *int64 `json:"Status,omitempty"`
	// 任务停止的原因
	// * 返回为空:表示任务未结束
	// * UnknownStopReason:未知停止原因
	// * StopByAPI:用户主动调用 服务端 OpenAPI 停止
	// * StartTaskFailed:任务启动失败
	// * IdleTimeOut:任务超过最大空闲时间
	// * UserDisconnect:客户端用户主动退房/调用停止转推接口
	StopReason    *string                                                                    `json:"StopReason,omitempty"`
	TargetStreams *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreams `json:"TargetStreams,omitempty"`
}
    GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTask - 合流转推任务信息
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControl ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControl struct {
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系:
	// 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10, 86400], 默认值为 180。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// (仅对录制有效)最大录制时长,单位为秒。默认值为 0。0 表示不限制录制时长。
	MaxRecordTime *int32 `json:"MaxRecordTime,omitempty"`
	// 流的类型,用于全局控制订阅的流的类型。默认值为0,可以取0和1。0表示音视频,1表示纯音频,暂不支持纯视频。值不合法时,自动调整为默认值。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 转推直播推流模式,用于控制触发推流的时机。取值为0或1。默认值为0。
	// * 0:房间内有用户推 RTC 流时即触发 CDN 推流。
	// * 1:调用接口发起推流任务后,无论房间内是否有用户推 RTC 流,均可触发 CDN 推流。 值不合法时,自动调整为默认值。
	// 任务超时逻辑不变,依然是无用户推流即判定为超时。
	PushStreamMode *int32                                                                            `json:"PushStreamMode,omitempty"`
	SpatialConfig  *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfig `json:"SpatialConfig,omitempty"`
	// (仅对转推直播有效)有效说话音量大小。取值范围为[0,255],默认值为0。
	TalkVolume *int32 `json:"TalkVolume,omitempty"`
	// (仅对转推直播有效)用户说话音量的回调间隔,单位为秒,取值范围为[1,∞],默认值为 2。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// (仅对转推直播有效)是否开启音量指示模式。默认值为 false。
	// 若 VolumeIndicationMode = true 的同时设置 MediaType = 1,该流推向 CDN 地址时,服务端会补黑帧。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControl - 控制选项
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfig ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfig struct {
	// 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
	AudienceSpatialOrientation *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfigAudienceSpatialOrientation `json:"AudienceSpatialOrientation,omitempty"`
	// 观众所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	AudienceSpatialPosition []*int32 `json:"AudienceSpatialPosition,omitempty"`
	// 是否开启空间音频处理功能。
	// * false:关闭。
	// * true:开启
	EnableSpatialRender *bool `json:"EnableSpatialRender,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfigAudienceSpatialOrientation ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfigAudienceSpatialOrientation struct {
	// 头顶朝向
	Forward []*float32 `json:"Forward,omitempty"`
	// 右边朝向
	Right []*float32 `json:"Right,omitempty"`
	// 前方朝向
	Up []*float32 `json:"Up,omitempty"`
}
    GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskControlSpatialConfigAudienceSpatialOrientation - 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskEncode ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskEncode struct {
	// 音频码率。取值范围为 [32,192],单位为 Kbps,默认值为 64,值不合法时,自动调整为默认值。 当AudioProfile=0时: 若输入参数取值范围为 [32,192],编码码率等于输入码率。
	// 当AudioProfile=1且 AudioChannels = 1 时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	// 当AudioProfile=1且 AudioChannels = 2 时:
	// * 若输入参数取值范围为 [32,128],编码码率等于输入码率。
	// * 若输入参数取值范围为 [128,192],编码码率固定为128。
	// 当AudioProfile=2时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
	// 音频声道数。
	// * 1:单声道
	// * 2:双声道。 默认值为 2。值不合法时,自动调整为默认值。
	AudioChannels *int32 `json:"AudioChannels,omitempty"`
	// 音频编码协议。默认值为 0,此时使用 aac 编码协议。目前只支持 aac。值不合法时,自动调整为默认值。
	AudioCodec *int32 `json:"AudioCodec,omitempty"`
	// 音频配置文件类型,在使用 aac 编码时生效。取值范围为 {0, 1, 2}。- 0 :采用 LC 规格;
	// * 1: 采用 HE-AAC v1 规格;
	// * 2: 采用 HE-AAC v2 规格。取 2 时,只支持输出流音频声道数为双声道。 默认值为 0。
	AudioProfile *int32 `json:"AudioProfile,omitempty"`
	// 音频采样率。默认值 48000,取值为 [32000,44100,48000],单位是 Hz。值不合法时,自动调整为默认值。
	AudioSampleRate *int32 `json:"AudioSampleRate,omitempty"`
	// 输出视频码率。取值范围 [1,10000],单位为 Kbps,默认值为自适应。值不合法时,自动调整为默认值。 自适应码率模式下,RTC 默认不会设置超高码率。如果订阅屏幕流,建议自行设置高码率。不同场景下设置码率等视频发布参数,请参考设置视频发布参数
	// [70122#videoprofiles]。
	VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
	// 视频编码协议。默认值为 0,可以取 0 或 1。取 0 时使用 H.264,取 1 时使用 ByteVC1 编码器。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出视频帧率。默认为 15,取值范围为 [1,60]。值不合法时,自动调整为默认值。
	VideoFps *int32 `json:"VideoFps,omitempty"`
	// 输出视频 GOP。默认为 4,取值范围为 [1,5],单位为秒。值不合法时,自动调整为默认值。
	VideoGop *int32 `json:"VideoGop,omitempty"`
	// 输出画面的高度,范围为[2, 1920],必须是偶数,默认值为480。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面高度以 canvas 中的 Height 为主。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 输出画面的宽度。默认值为640,范围为 [2, 1920],必须是偶数。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面宽度以 canvas 中的 Width 为主。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreams ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreamsStreamListItem ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskExcludeStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayout ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayout struct {
	CustomLayout *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayout `json:"CustomLayout,omitempty"`
	// 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [1167930#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [1167930#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [1167930#horizontal]
	LayoutMode      *int32                                                                             `json:"LayoutMode,omitempty"`
	MainVideoStream *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutMainVideoStream `json:"MainVideoStream,omitempty"`
	// 在垂直布局模式下生效,指定主画面流的属性。如果此参数为空,则主画面为随机的一路流。该参数已废弃,当前版本 MainVideoStreamIndex 依然可用,但我们强烈建议你使用 MainVideoStream 参数。如果你同时指定了 MainVideoStream
	// 和 MainVideoStreamIndex 的值,此时只有 MainVideoStream 生效。
	MainVideoStreamIndex *int32 `json:"MainVideoStreamIndex,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayout ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayout struct {
	Canvas *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutCanvas `json:"Canvas,omitempty"`
	// 在自定义布局模式下,你可以使用 Regions 对每一路视频流进行画面布局设置。其中,每个 Region 对一路视频流进行画面布局设置。 自定义布局模式下,对于 StreamList 中的每个 Stream,Regions 中都需要给出对应的布局信息,否则会返回请求不合法的错误。即
	// Regions.Region.StreamIndex 要与
	// TargetStreams.StreamList.Stream.Index 的值一一对应,否则自定义布局设置失败,返回 InvalidParameter 错误码。
	// > 当传入的必填参数值不合法时,返回错误码 InvalidParameter 。 当传入的选填参数值不合法时,自动调整为默认值。
	Regions []*GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItem `json:"Regions,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutCanvas ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutCanvas struct {
	// 整体屏幕(画布)的背景色,用十六进制颜色码(HEX)表示。例如,#FFFFFF 表示纯白,#000000 表示纯黑。默认值为 #000000。值不合法时,自动调整为默认值。
	Background *string `json:"Background,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 整体屏幕(画布)的高度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 480。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 整体屏幕(画布)的宽度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 640。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItem ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流的标识。这个标志应和 TargetStreams.StreamList.Stream.Index 对应。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为 (0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。值不合法时,自动调整为默认值。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 补位图片的 url。长度不超过 1024 个字符串。
	// * 在 Region.StreamIndex 对应的视频流没有发布,或被暂停采集时,AlternateImage 对应的图片会填充 Region 对应的画布空间。当视频流被采集并发布时,AlternateImage 不造成任何影响。
	// * 可以传入的图片的格式包括:JPG, JPEG, PNG。
	// * 当图片和画布尺寸不一致时,图片根据 RenderMode 的设置,在画布中进行渲染。
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 画面的渲染模式。
	// * 0:按照用户原始视频帧比例进行缩放
	// * 1:保持图片原有比例
	// 默认值为 0。值不合法时,自动调整为默认值。
	AlternateImageFillMode *int32 `json:"AlternateImageFillMode,omitempty"`
	// 该路流对应的用户是否开启空间音频效果。
	// * true:开启空间音频效果。
	// * false:关闭空间音频效果。
	// 默认值为 true
	ApplySpatialAudio *bool `json:"ApplySpatialAudio,omitempty"`
	// 转推直播下边框圆角半径与画布宽度的比例值,取值范围为 (0,1]。圆角半径的像素位不能超过 Region 宽高最小值的一半,否则不会出现圆角效果。
	CornerRadius *float32 `json:"CornerRadius,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, Canvas.Width)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	// 视频流对应区域左上角的实际坐标是通过画面尺寸和相对位置比例相乘,并四舍五入取整得到的。假如,画布尺寸为1920, 视频流对应区域左上角的横坐标相对整体画面的比例为 0.33,那么该画布左上角的横坐标为 634(1920*0.33=633.6,四舍五入取整)。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面左上角原点的纵向位移,取值的范围为 [0.0, Canvas.Height)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 该路流参与混流的媒体类型。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	// 默认值为 0。值不合法时,自动调整为默认值。
	// 假如该路流为音视频流,MediaType设为1,则只混入音频内容。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:
	// * 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 值不合法时,自动调整为默认值。
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	// 不同渲染模式下,效果如下:
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 空间音频下,房间内指定用户所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	SpatialPosition []*int32 `json:"SpatialPosition,omitempty"`
	// 当多个流的画面有重叠时,使用此参数设置指定画面的图层顺序。取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。值不合法时,自动调整为默认值。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItemSourceCrop ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutMainVideoStream ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskLayoutMainVideoStream struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreams ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreamsStreamListItem ¶
type GetPushMixedStreamToCDNTaskResResultPushMixedStreamToCDNTaskTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type GetPushSingleStreamToCDNTask ¶
type GetPushSingleStreamToCDNTask struct{}
    type GetPushSingleStreamToCDNTaskBody ¶
type GetPushSingleStreamToCDNTaskBody struct{}
    type GetPushSingleStreamToCDNTaskQuery ¶
type GetPushSingleStreamToCDNTaskQuery struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId" query:"RoomId"`
	// 要查询的转推直播任务 ID。通过服务端发起时,该值为调用 OpenAPI 时传入的 TaskId。通过客户端 SDK 发起时,TaskId 是按照 userId@@taskId 格式拼接而成的字符串;当传入的 taskId 为空时,这里的
	// TaskId 为 userId。
	// TaskId和UserId均为非必填参数,但是你需要至少填一个参数以保证可以正常发起请求。
	TaskID *string `json:"TaskId,omitempty" query:"TaskId"`
	// 客户端发起转推任务的用户 ID。
	// 你在客户端发起多个任务,当使用该接口进行查询时:
	// * 查询第一个任务时,UserId 可以传入发起转推任务的用户 UserId,TaskId 传入空字符串;或直接将该用户的 UserId 传入 TaskId。
	// * 查询第二个以上任务时,UserId 和 TaskId 为发起转推任务的用户 UserId 和 TaskId。
	UserID *string `json:"UserId,omitempty" query:"UserId"`
}
    type GetPushSingleStreamToCDNTaskReq ¶
type GetPushSingleStreamToCDNTaskReq struct {
	*GetPushSingleStreamToCDNTaskQuery
	*GetPushSingleStreamToCDNTaskBody
}
    type GetPushSingleStreamToCDNTaskRes ¶
type GetPushSingleStreamToCDNTaskRes struct {
	// REQUIRED
	ResponseMetadata GetPushSingleStreamToCDNTaskResResponseMetadata `json:"ResponseMetadata"`
	Result           *GetPushSingleStreamToCDNTaskResResult          `json:"Result,omitempty"`
}
    type GetPushSingleStreamToCDNTaskResResponseMetadata ¶
type GetPushSingleStreamToCDNTaskResResponseMetadata 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 *GetPushSingleStreamToCDNTaskResResponseMetadataError `json:"Error,omitempty"`
}
    type GetPushSingleStreamToCDNTaskResResponseMetadataError ¶
type GetPushSingleStreamToCDNTaskResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetPushSingleStreamToCDNTaskResResponseMetadataError - 仅在请求失败时返回。
type GetPushSingleStreamToCDNTaskResResult ¶
type GetPushSingleStreamToCDNTaskResResult struct {
	PushSingleStreamToCDNTask *GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTask `json:"PushSingleStreamToCDNTask,omitempty"`
}
    type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTask ¶
type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTask struct {
	Control *GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskControl `json:"Control,omitempty"`
	// 任务结束时间戳,Unix 时间,单位为毫秒。0 表示任务未结束
	EndTime *int64 `json:"EndTime,omitempty"`
	// 推流状态
	// * 0:未获取到任务状态。建议稍后重新查询
	// * 1:未开始推流
	// * 2:首次连接 CDN 服务
	// * 3:正在重连 CDN 服务
	// * 4:连接 CDN 服务成功,正在尝试推流。
	// * 5:连接 CDN 服务成功,推流成功
	// * 6:已停止推流。
	// 仅当Status=2 时,PushStreamState 有实际意义;当Status=3 时,PushStreamState=6; status 为其他值时,PushStreamState 均为0。
	PushStreamState *int32 `json:"PushStreamState,omitempty"`
	// 推流地址。目前仅支持 rtmp 协议
	PushURL *string `json:"PushURL,omitempty"`
	// 任务开始时间戳,Unix 时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitempty"`
	// 任务状态。- 0: 未知异常状态
	// * 1: 未开始
	// * 2: 运行中
	// * 3: 已结束
	// * 4: 任务运行失败
	Status *int64 `json:"Status,omitempty"`
	// 任务停止的原因
	// * 返回为空:表示任务未结束
	// * UnknownStopReason:未知停止原因
	// * StopByAPI:用户主动调用 服务端 OpenAPI 停止
	// * StartTaskFailed:任务启动失败
	// * IdleTimeOut:任务超过最大空闲时间
	// * UserDisconnect:客户端用户主动退房/调用停止转推接口
	StopReason *string                                                               `json:"StopReason,omitempty"`
	Stream     *GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskStream `json:"Stream,omitempty"`
}
    type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskControl ¶
type GetPushSingleStreamToCDNTaskResResultPushSingleStreamToCDNTaskControl struct {
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10, 86400], 默认值为 180。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// 流的类型,用于全局控制订阅的流的类型。默认值为 0,可以取0和1。0表示音视频,1表示纯音频,暂不支持纯视频。值不合法时,自动调整为默认值。
	MediaType *int32 `json:"MediaType,omitempty"`
}
    type GetRecordTask ¶
type GetRecordTask struct{}
    type GetRecordTaskBody ¶
type GetRecordTaskBody struct{}
    type GetRecordTaskQuery ¶
type GetRecordTaskReq ¶
type GetRecordTaskReq struct {
	*GetRecordTaskQuery
	*GetRecordTaskBody
}
    type GetRecordTaskRes ¶
type GetRecordTaskRes struct {
	// REQUIRED
	ResponseMetadata GetRecordTaskResResponseMetadata `json:"ResponseMetadata"`
	Result           *GetRecordTaskResResult          `json:"Result,omitempty"`
}
    type GetRecordTaskResResponseMetadata ¶
type GetRecordTaskResResponseMetadata 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 *GetRecordTaskResResponseMetadataError `json:"Error,omitempty"`
}
    type GetRecordTaskResResponseMetadataError ¶
type GetRecordTaskResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetRecordTaskResResponseMetadataError - 仅在请求失败时返回。
type GetRecordTaskResResult ¶
type GetRecordTaskResResult struct {
	// REQUIRED; 录制任务信息
	RecordTask GetRecordTaskResResultRecordTask `json:"RecordTask"`
}
    type GetRecordTaskResResultRecordTask ¶
type GetRecordTaskResResultRecordTask struct {
	// 任务结束的时间,为 Unix 时间戳,单位毫秒。0 表示任务未结束
	EndTime *int64 `json:"EndTime,omitempty"`
	// 录制生成的文件列表。
	RecordFileList []*GetRecordTaskResResultRecordTaskRecordFileListItem `json:"RecordFileList,omitempty"`
	// 任务开始的时间,为 Unix 时间戳,单位毫秒。
	StartTime *int64 `json:"StartTime,omitempty"`
	// 任务状态:
	// * 0: 未知异常状态
	// * 1: 未开始
	// * 2: 运行中
	// * 3: 已结束
	// * 4: 任务运行失败
	Status *int32 `json:"Status,omitempty"`
	// 任务停止的原因:空:表示任务未结束UnknownStopReason:未知停止原因StopByAPI:用户主动通过 API 停止StartTaskFailed:任务启动失败IdleTimeOut:超过了最大空闲时间
	StopReason *string `json:"StopReason,omitempty"`
}
    GetRecordTaskResResultRecordTask - 录制任务信息
type GetRecordTaskResResultRecordTaskRecordFileListItem ¶
type GetRecordTaskResResultRecordTaskRecordFileListItem struct {
	// REQUIRED; 当前录制文件创建的时间,为 Unix 时间戳,单位毫秒。
	StartTime int64 `json:"StartTime"`
	// 音频录制编码器
	AudioCodec *string `json:"AudioCodec,omitempty"`
	// 文件时长,单位毫秒。
	Duration *int64 `json:"Duration,omitempty"`
	// 文件在对象存储平台中的完整路径,如abc/efg/123.mp4。仅在你选择配置存储到对象存储平台时,此参数有效。
	ObjectKey *string `json:"ObjectKey,omitempty"`
	// 文件大小,单位字节。
	Size *int64 `json:"Size,omitempty"`
	// 由Stream组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*GetRecordTaskResResultRecordTaskRecordFileListPropertiesItemsItem `json:"StreamList,omitempty"`
	// 文件在点播平台的唯一标识。你可以根据 vid 可以在点播平台上找到对应的文件。仅在你选择配置存储到 Vod 平台时,此参数有效。
	Vid *string `json:"Vid,omitempty"`
	// 视频录制编码协议
	VideoCodec *string `json:"VideoCodec,omitempty"`
	// 录制视频高度,单位像素。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 录制视频宽度,单位像素。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type GetRecordTaskResResultRecordTaskRecordFileListPropertiesItemsItem ¶
type GetRecordTaskResResultRecordTaskRecordFileListPropertiesItemsItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type GetResourcePackNum ¶
type GetResourcePackNum struct{}
    type GetResourcePackNumBody ¶
type GetResourcePackNumBody struct{}
    type GetResourcePackNumQuery ¶
type GetResourcePackNumQuery struct{}
    type GetResourcePackNumReq ¶
type GetResourcePackNumReq struct {
	*GetResourcePackNumQuery
	*GetResourcePackNumBody
}
    type GetResourcePackNumRes ¶
type GetResourcePackNumRes struct {
	// REQUIRED
	ResponseMetadata GetResourcePackNumResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result int32 `json:"Result"`
}
    type GetResourcePackNumResResponseMetadata ¶
type GetResourcePackNumResResponseMetadata 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 *GetResourcePackNumResResponseMetadataError `json:"Error,omitempty"`
}
    type GetResourcePackNumResResponseMetadataError ¶
type GetResourcePackNumResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetResourcePackNumResResponseMetadataError - 仅在请求失败时返回。
type GetWebCastTask ¶
type GetWebCastTask struct{}
    type GetWebCastTaskBody ¶
type GetWebCastTaskBody struct{}
    type GetWebCastTaskQuery ¶
type GetWebCastTaskReq ¶
type GetWebCastTaskReq struct {
	*GetWebCastTaskQuery
	*GetWebCastTaskBody
}
    type GetWebCastTaskRes ¶
type GetWebCastTaskRes struct {
	// REQUIRED
	ResponseMetadata GetWebCastTaskResResponseMetadata `json:"ResponseMetadata"`
	Result           *GetWebCastTaskResResult          `json:"Result,omitempty"`
}
    type GetWebCastTaskResResponseMetadata ¶
type GetWebCastTaskResResponseMetadata 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 *GetWebCastTaskResResponseMetadataError `json:"Error,omitempty"`
}
    type GetWebCastTaskResResponseMetadataError ¶
type GetWebCastTaskResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    GetWebCastTaskResResponseMetadataError - 仅在请求失败时返回。
type GetWebCastTaskResResult ¶
type GetWebCastTaskResResult struct {
	// 云录屏任务信息
	WebCastTask *GetWebCastTaskResResultWebCastTask `json:"WebCastTask,omitempty"`
}
    type GetWebCastTaskResResultWebCastTask ¶
type GetWebCastTaskResResultWebCastTask struct {
	// 任务结束时间戳,Unix 时间,单位为毫秒。0 表示任务未结束
	EndTime           *int64                                               `json:"EndTime,omitempty"`
	EventNotifyConfig *GetWebCastTaskResResultWebCastTaskEventNotifyConfig `json:"EventNotifyConfig,omitempty"`
	// 最大运行时间,超过此时间后,任务自动终止。单位为秒。取值范围为[10,86400],默认值为 86400。不填时自动调整为默认值。
	MaxRunningTime *int32                                           `json:"MaxRunningTime,omitempty"`
	MonitorConfig  *GetWebCastTaskResResultWebCastTaskMonitorConfig `json:"MonitorConfig,omitempty"`
	// 需要转推的网页地址,可以携带自定义的 queryParams 来鉴权等,总体长度不超过 1024。
	SourceURL *string `json:"SourceURL,omitempty"`
	// 任务开始时间戳,Unix 时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitempty"`
	// 任务状态。
	// * 0: 未知异常状态
	// * 1: 未开始
	// * 2: 运行中
	// * 3: 已结束
	// * 4: 任务运行失败
	Status *int64 `json:"Status,omitempty"`
	// 任务停止的原因
	// * 返回为空:表示任务未结束
	// * UnknownStopReason:未知停止原因
	// * StopByAPI:用户主动调用 服务端 OpenAPI 停止
	// * StartTaskFailed:任务启动失败
	// * ExceedMaxRunningTime:任务超过最大运行时间
	StopReason *string `json:"StopReason,omitempty"`
	// 推送网页音视频内容的用户对应的 UserId
	UserID *string `json:"UserId,omitempty"`
	// 输出的视频参数,最多支持2路,以大小流的方式支持接收端按需订阅,将以最大的视频流分辨率作为网页渲染分辨率,为空时按默认值填充一路
	VideoSolutions []*GetWebCastTaskResResultWebCastTaskVideoSolutionsItem `json:"VideoSolutions,omitempty"`
}
    GetWebCastTaskResResultWebCastTask - 云录屏任务信息
type GetWebCastTaskResResultWebCastTaskEventNotifyConfig ¶
type GetWebCastTaskResResultWebCastTaskEventNotifyConfig struct {
	// 是否启用页面主动事件通知, 默认值为false。
	// * false:页面在打开后就会开始采集,在收到 StopWebCast openAPI 请求后结束采集。
	// * true:在页面中注入两个 JS 函数:onWebcastStart()和 onWebcastEnd()。
	// 当页面判断资源加载完成之后调用onWebcastStart(),控制程序才会开始进行页面内容的采集。当页面判断本次任务内容已完成时调用onWebcastEnd() 通知控制程序结束本次任务。StopWebCast openAPI 效果不变,业务可提前结束任务。其他页面内容、JS
	// 线程的检测(若启用),将在收到 onWebcastStart()事件后才开始。
	// 当启用页面主动事件通知后,你可以参考以下示例代码来通知采集开始。
	// <script>
	// if (ready() && typeof onWebcastStart === 'function')
	// onWebcastStart();
	// </script>
	EnableEventNotify *bool `json:"EnableEventNotify,omitempty"`
	// 启用页面主动事件通知后,等待开始事件的超时时间。取值范围为[0,60],单位为秒。默认值为0,表示不启用。仅当 EnableEventNotify 为 true 时,此参数有效。
	// * 当在超时时间内收到开始事件,采集功能正常运行,用户将收到 Status=1的回调。
	// * 当超时时间内未收到开始事件,将进行刷新,等待时间被重置,再次发生超时后将进行任务重调度。刷新时将回调 Status=4,Reason=" StartEventTimeout"。重调度时将回调 Status=5,Reason="StartEventTimeout"。
	StartTimeout *int32 `json:"StartTimeout,omitempty"`
}
    type GetWebCastTaskResResultWebCastTaskMonitorConfig ¶
type GetWebCastTaskResResultWebCastTaskMonitorConfig struct {
	// 对页面是否白屏的检测间隔。取值范围为[2,30],单位为秒。默认值为0,表示不启用。
	// * 当连续两次出现检测命中时,将对页面进行刷新,并回调Status=4,Reason="PageBlank" 。
	// * 再次出现连续两次检测命中时将进行任务重调度,并回调Status=5,Reason="PageBlank"。
	// 注意:页面全白可能是您业务的正常场景,请谨慎评估页面实际内容情况后再开启此功能,以免任务提前退出。
	BlankCheckInterval *int32 `json:"BlankCheckInterval,omitempty"`
	// 对页面 JS 线程是否崩溃/卡死的检测间隔。 取值范围为[0,30],单位为秒。默认值为0,表示不启用。
	// 当出现检测命中时将进行任务重调度,并回调 Status=5,Reason="PageCrash"。
	CrashCheckInterval *int32 `json:"CrashCheckInterval,omitempty"`
	// 对页面内容是否无变化的检测间隔。取值范围为[2,30],单位为秒。默认值为0,表示不启用。
	// * 当连续两次出现检测命中时,将对页面进行刷新,并回调Status=4,Reason="PageFreeze"。
	// * 再次出现连续两次检测命中时,将进行任务重调度,并回调Status=5,Reason="PageFreeze"。
	// 注意:页面无变化可能是您业务的正常场景,请谨慎评估页面实际内容情况后再开启此功能,以免任务提前退出。
	FreezeCheckInterval *int32 `json:"FreezeCheckInterval,omitempty"`
}
    type GetWebCastTaskResResultWebCastTaskVideoSolutionsItem ¶
type GetWebCastTaskResResultWebCastTaskVideoSolutionsItem struct {
	// 最大发送码率,取值范围为[0,10000],单位为 Kbps,默认值 0,为 0 时表示自适应码率。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 发送帧率,单位为 帧/秒,范围为[1,60],默认值为 15。帧率和码率设置建议参照视频发布参数对照表 [70122#param]以获取最佳体验。
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 视频高度,单位为像素,范围为 [50,1080],默认值为 720。必须是偶数,值为奇数时自动调整为偶数。
	Height *int32 `json:"Height,omitempty"`
	// 视频宽度,单位为像素,范围为 [50,1920],默认值为 1280。必须是偶数,值为奇数时自动调整为偶数。
	Width *int32 `json:"Width,omitempty"`
}
    type IndicatorTag ¶
type IndicatorTag struct {
	Alias *string `json:"Alias,omitempty"`
	// 是否隐藏掉地域分布信息,注意这个参数只有在质量概览模块有效
	HidenDistribution *bool   `json:"HidenDistribution,omitempty"`
	IsPositive        *bool   `json:"IsPositive,omitempty"`
	Name              *string `json:"Name,omitempty"`
	// 可以使用采样归因功能
	SampleAvailable *bool                      `json:"SampleAvailable,omitempty"`
	SubTags         []*IndicatorTagSubTagsItem `json:"SubTags,omitempty"`
	// 是否支持用户分析
	SupportDetailAnalysis *bool `json:"SupportDetailAnalysis,omitempty"`
	// 用量统计是否支持切换新旧展示类型
	SupportSwitchDisplayType *bool `json:"SupportSwitchDisplayType,omitempty"`
	// 是否支持用户占比统计
	SupportUserProportion *bool `json:"SupportUserProportion,omitempty"`
	// 分布统计中取topN
	TopN *int64 `json:"TopN,omitempty"`
	// 分布统计中只取在这里面的值
	ValueDict []*string `json:"ValueDict,omitempty"`
	// 是否在控制台可见,若是,则在后面加🌟
	VisibleOnConsole *bool `json:"VisibleOnConsole,omitempty"`
}
    type IndicatorTag202201 ¶
type IndicatorTag202201 struct {
	Alias *string `json:"Alias,omitempty"`
	// 是否隐藏掉地域分布信息,注意这个参数只有在质量概览模块有效
	HidenDistribution *bool   `json:"HidenDistribution,omitempty"`
	IsPositive        *bool   `json:"IsPositive,omitempty"`
	Name              *string `json:"Name,omitempty"`
	// 可以使用采样归因功能
	SampleAvailable *bool                            `json:"SampleAvailable,omitempty"`
	SubTags         []*IndicatorTag202201SubTagsItem `json:"SubTags,omitempty"`
	// 是否支持用户分析
	SupportDetailAnalysis *bool `json:"SupportDetailAnalysis,omitempty"`
	// 用量统计是否支持切换新旧展示类型
	SupportSwitchDisplayType *bool `json:"SupportSwitchDisplayType,omitempty"`
	// 是否支持用户占比统计
	SupportUserProportion *bool `json:"SupportUserProportion,omitempty"`
	// 分布统计中取topN
	TopN *int64 `json:"TopN,omitempty"`
	// 分布统计中只取在这里面的值
	ValueDict []*string `json:"ValueDict,omitempty"`
	// 是否在控制台可见,若是,则在后面加🌟
	VisibleOnConsole *bool `json:"VisibleOnConsole,omitempty"`
}
    type IndicatorTag202201SubTagsItem ¶
type IndicatorTag202201SubTagsItem struct {
	Alias *string `json:"Alias,omitempty"`
	// 是否隐藏掉地域分布信息,注意这个参数只有在质量概览模块有效
	HidenDistribution *bool   `json:"HidenDistribution,omitempty"`
	IsPositive        *bool   `json:"IsPositive,omitempty"`
	Name              *string `json:"Name,omitempty"`
	// 可以使用采样归因功能
	SampleAvailable *bool                 `json:"SampleAvailable,omitempty"`
	SubTags         []*IndicatorTag202201 `json:"SubTags,omitempty"`
	// 是否支持用户分析
	SupportDetailAnalysis *bool `json:"SupportDetailAnalysis,omitempty"`
	// 用量统计是否支持切换新旧展示类型
	SupportSwitchDisplayType *bool `json:"SupportSwitchDisplayType,omitempty"`
	// 是否支持用户占比统计
	SupportUserProportion *bool `json:"SupportUserProportion,omitempty"`
	// 分布统计中取topN
	TopN *int64 `json:"TopN,omitempty"`
	// 分布统计中只取在这里面的值
	ValueDict []*string `json:"ValueDict,omitempty"`
	// 是否在控制台可见,若是,则在后面加🌟
	VisibleOnConsole *bool `json:"VisibleOnConsole,omitempty"`
}
    type IndicatorTagSubTagsItem ¶
type IndicatorTagSubTagsItem struct {
	Alias *string `json:"Alias,omitempty"`
	// 是否隐藏掉地域分布信息,注意这个参数只有在质量概览模块有效
	HidenDistribution *bool   `json:"HidenDistribution,omitempty"`
	IsPositive        *bool   `json:"IsPositive,omitempty"`
	Name              *string `json:"Name,omitempty"`
	// 可以使用采样归因功能
	SampleAvailable *bool           `json:"SampleAvailable,omitempty"`
	SubTags         []*IndicatorTag `json:"SubTags,omitempty"`
	// 是否支持用户分析
	SupportDetailAnalysis *bool `json:"SupportDetailAnalysis,omitempty"`
	// 用量统计是否支持切换新旧展示类型
	SupportSwitchDisplayType *bool `json:"SupportSwitchDisplayType,omitempty"`
	// 是否支持用户占比统计
	SupportUserProportion *bool `json:"SupportUserProportion,omitempty"`
	// 分布统计中取topN
	TopN *int64 `json:"TopN,omitempty"`
	// 分布统计中只取在这里面的值
	ValueDict []*string `json:"ValueDict,omitempty"`
	// 是否在控制台可见,若是,则在后面加🌟
	VisibleOnConsole *bool `json:"VisibleOnConsole,omitempty"`
}
    type KickUserBody ¶
type KickUserBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 你希望移出用户的 ID
	UserID string `json:"UserId"`
}
    type KickUserQuery ¶
type KickUserQuery struct{}
    type KickUserReq ¶
type KickUserReq struct {
	*KickUserQuery
	*KickUserBody
}
    type KickUserRes ¶
type KickUserRes struct {
	// REQUIRED
	ResponseMetadata KickUserResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *KickUserResResult `json:"Result,omitempty"`
}
    type KickUserResResponseMetadata ¶
type KickUserResResponseMetadata 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 *KickUserResResponseMetadataError `json:"Error,omitempty"`
}
    type KickUserResResponseMetadataError ¶
type KickUserResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    KickUserResResponseMetadataError - 仅在请求失败时返回。
type KickUserResResult ¶
type KickUserResResult struct {
	// REQUIRED
	Message string `json:"message"`
}
    KickUserResResult - 视请求的接口而定
type ListAppsBody ¶
type ListAppsBody struct {
	// 已创建的应用的 ID
	AppID *string `json:"AppId,omitempty"`
	// 返回条目数的上限,默认为 50,最大为 100
	Limit *string `json:"Limit,omitempty"`
	// * 偏移量,单位为条;
	// * 因单次查询返回结果数量有限,如果需要大量查询,需要借助偏移量实现分页查询;
	Offset *string `json:"Offset,omitempty"`
	// * 默认按照 App 创建时间升序返回;
	// * 设置为 1 时,降序返回;
	Reverse *int32 `json:"Reverse,omitempty"`
}
    type ListAppsQuery ¶
type ListAppsQuery struct{}
    type ListAppsReq ¶
type ListAppsReq struct {
	*ListAppsQuery
	*ListAppsBody
}
    type ListAppsRes ¶
type ListAppsRes struct {
	// REQUIRED
	ResponseMetadata ListAppsResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 查询的指定 AppId 的信息在 Result 中显示。
	Result ListAppsResResult `json:"Result"`
}
    type ListAppsResResponseMetadata ¶
type ListAppsResResponseMetadata 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 *ListAppsResResponseMetadataError `json:"Error,omitempty"`
}
    type ListAppsResResponseMetadataError ¶
type ListAppsResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListAppsResResponseMetadataError - 仅在请求失败时返回。
type ListAppsResResult ¶
type ListAppsResResult struct {
	// REQUIRED
	AppList []ListAppsResResultAppListItem `json:"AppList"`
	// REQUIRED; 返回条目数的限制
	Limit int32 `json:"Limit"`
	// REQUIRED; 偏移量,单位为条
	Offset int32 `json:"Offset"`
	// REQUIRED; 当前条件查询到的 App 数量
	Total int32 `json:"Total"`
}
    ListAppsResResult - 查询的指定 AppId 的信息在 Result 中显示。
type ListAppsResResultAppListItem ¶
type ListAppsResResultAppListItem struct {
	// 应用 ID
	AppID *string `json:"AppId,omitempty"`
	// 主 AppKey,用于生成 Token
	AppKey *string `json:"AppKey,omitempty"`
	// 应用名称
	AppName *string `json:"AppName,omitempty"`
	// 创建时间
	CreateAt *string `json:"CreateAt,omitempty"`
	// 副 AppKey,启用后可用于生成 Token
	SecondaryAppKey *string `json:"SecondaryAppKey,omitempty"`
	// 服务状态。枚举值为:
	// * 0: 创建中——指 AppID 在初始化
	// * 1: 运行中——指当前 AppID 为正常服务状态
	// * 6: 欠费关停
	// * 98: 已停用——指调用服务端停用接口,当前 AppID 被设置为不可用状态
	Status *int32 `json:"Status,omitempty"`
}
    type ListCallDetail ¶
type ListCallDetail struct{}
    type ListCallDetailBody ¶
type ListCallDetailBody struct{}
    type ListCallDetailQuery ¶
type ListCallDetailQuery struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 房间结束时间,格式为RFC3339,单位秒
	EndTime string `json:"EndTime" query:"EndTime"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId" query:"RoomId"`
	// REQUIRED; 房间开始时间,格式为RFC3339,单位秒
	StartTime string `json:"StartTime" query:"StartTime"`
	// REQUIRED; 查询的用户ID列表,多个用户ID用逗号隔开,最多可以指定 20 个。值不合法时默认剔除。
	UserID string `json:"UserId" query:"UserId"`
	// 获取数据的传输方向。值可取0,1,2。
	// * 0:上下行
	// * 1:上行
	// * 2: 下行。 默认值为0。不传时自动调整为默认值。
	Direction *string `json:"Direction,omitempty" query:"Direction"`
}
    type ListCallDetailReq ¶
type ListCallDetailReq struct {
	*ListCallDetailQuery
	*ListCallDetailBody
}
    type ListCallDetailRes ¶
type ListCallDetailRes struct {
	// REQUIRED
	ResponseMetadata ListCallDetailResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListCallDetailResResult          `json:"Result,omitempty"`
}
    type ListCallDetailResResponseMetadata ¶
type ListCallDetailResResponseMetadata 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 *ListCallDetailResResponseMetadataError `json:"Error,omitempty"`
}
    type ListCallDetailResResponseMetadataError ¶
type ListCallDetailResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListCallDetailResResponseMetadataError - 仅在请求失败时返回。
type ListCallDetailResResult ¶
type ListCallDetailResResult struct {
	// REQUIRED; 用户通话质量指标信息,仅在请求成功时返回。
	UserCallDetail []ListCallDetailResResultUserCallDetailItem `json:"UserCallDetail"`
}
    type ListCallDetailResResultUserCallDetailItem ¶
type ListCallDetailResResultUserCallDetailItem struct {
	// REQUIRED; 通话质量指标数据详情。本接口支持的通话质量指标参看指标列表 [1167931#list]。
	CallDetail []ListCallDetailResResultUserCallDetailPropertiesItemsItem `json:"CallDetail"`
	// REQUIRED; 获取数据的传输方向。
	Direction string `json:"Direction"`
	// REQUIRED; 对端用户 Id,只有UserId用户处于下行时存在
	PeerID string `json:"PeerId"`
	// REQUIRED; 查询房间 Id
	RoomID string `json:"RoomId"`
	// REQUIRED; 查询用户 Id
	UserID string `json:"UserId"`
}
    type ListCallDetailResResultUserCallDetailPropertiesItemsDataItem ¶
type ListCallDetailResResultUserCallDetailPropertiesItemsDataItem struct {
	// REQUIRED; 该指标数据点的 Unix 时间戳,单位为毫秒。
	Time int64 `json:"Time"`
	// REQUIRED; 该指标数据点的数据值
	Value float32 `json:"Value"`
}
    ListCallDetailResResultUserCallDetailPropertiesItemsDataItem - 指标数据详情
type ListCallDetailResResultUserCallDetailPropertiesItemsItem ¶
type ListCallDetailResResultUserCallDetailPropertiesItemsItem struct {
	// REQUIRED; 指标数据详情
	Data []ListCallDetailResResultUserCallDetailPropertiesItemsDataItem `json:"Data"`
	// REQUIRED; 该指标中文名称
	Desc string `json:"Desc"`
	// REQUIRED; 该项指标字段名称
	Name string `json:"Name"`
	// REQUIRED; 指标单位
	Unit string `json:"Unit"`
}
    ListCallDetailResResultUserCallDetailPropertiesItemsItem - 通话质量指标数据详情。本接口支持的通话质量指标参看指标列表 [1167931#list]。
type ListDetectionTask ¶
type ListDetectionTask struct{}
    type ListDetectionTaskBody ¶
type ListDetectionTaskBody struct{}
    type ListDetectionTaskQuery ¶
type ListDetectionTaskReq ¶
type ListDetectionTaskReq struct {
	*ListDetectionTaskQuery
	*ListDetectionTaskBody
}
    type ListDetectionTaskRes ¶
type ListDetectionTaskRes struct {
	// REQUIRED
	ResponseMetadata ListDetectionTaskResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *ListDetectionTaskResResult `json:"Result,omitempty"`
}
    type ListDetectionTaskResResponseMetadata ¶
type ListDetectionTaskResResponseMetadata 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 *ListDetectionTaskResResponseMetadataError `json:"Error,omitempty"`
}
    type ListDetectionTaskResResponseMetadataError ¶
type ListDetectionTaskResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListDetectionTaskResResponseMetadataError - 仅在请求失败时返回。
type ListDetectionTaskResResult ¶
type ListDetectionTaskResResult struct {
	// REQUIRED; 任务状态信息。如果从未对指定的用户发起审核,查询其审核状态时,返回的 EventData 值为空列表。
	EventData []ListDetectionTaskResResultEventDataItem `json:"EventData"`
	// REQUIRED; 仅在请求成功时返回success。
	Message string `json:"Message"`
}
    ListDetectionTaskResResult - 视请求的接口而定
type ListDetectionTaskResResultEventDataItem ¶
type ListDetectionTaskResResultEventDataItem struct {
	// REQUIRED; 用户审核发起时间戳,unix 时间,单位为秒。
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 进行审核的内容类型: 1:视频截图; 2:音频切片; 3:视频截图+音频切片(默认值)
	MediaType int32 `json:"MediaType"`
	// REQUIRED; 审核房间 ID
	RoomID string `json:"RoomId"`
	// REQUIRED; 审核状态: 1:运行中: 2:已完成;
	Status int32 `json:"Status"`
	// REQUIRED; 若开始审核接口填入 UserId,此处返回填入 UserId。若开始审核接口未填入 UserId,此处返回房间内触发过审核任务的用户的 UserId。
	UserID string `json:"UserId"`
}
    type ListHotMusic ¶
type ListHotMusic struct{}
    type ListHotMusicBody ¶
type ListHotMusicBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// 自定义热歌榜ID 列表
	CustomHotListID []*string `json:"CustomHotListId,omitempty"`
	// 热歌榜类型。
	// * [1]:火山内容中心热歌榜。
	// * [2]:项目热歌榜。
	// * [1,2]:全部热歌榜。 默认值为[1,2]。
	HotTypes []*int32 `json:"HotTypes,omitempty"`
}
    type ListHotMusicQuery ¶
type ListHotMusicQuery struct{}
    type ListHotMusicReq ¶
type ListHotMusicReq struct {
	*ListHotMusicQuery
	*ListHotMusicBody
}
    type ListHotMusicRes ¶
type ListHotMusicRes struct {
	// REQUIRED
	ResponseMetadata ListHotMusicResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListHotMusicResResult          `json:"Result,omitempty"`
}
    type ListHotMusicResResponseMetadata ¶
type ListHotMusicResResponseMetadata 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 *ListHotMusicResResponseMetadataError `json:"Error,omitempty"`
}
    type ListHotMusicResResponseMetadataError ¶
type ListHotMusicResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListHotMusicResResponseMetadataError - 仅在请求失败时返回。
type ListHotMusicResResult ¶
type ListHotMusicResResult struct {
	// 热歌榜单详情
	HotList []*ListHotMusicResResultHotListItem `json:"HotList,omitempty"`
}
    type ListHotMusicResResultHotListItem ¶
type ListHotMusicResResultHotListItem struct {
	// REQUIRED; 自定义热歌榜 ID
	CustomHotListID string `json:"CustomHotListId"`
	// REQUIRED; 自定义热歌榜名
	CustomHotListName string `json:"CustomHotListName"`
	// REQUIRED; 热歌榜单名称
	HotName string `json:"HotName"`
	// REQUIRED; 歌曲详情
	HotSong []ListHotMusicResResultHotListPropertiesItemsItem `json:"HotSong"`
	// REQUIRED; 热歌榜单 ID
	HotType int32 `json:"HotType"`
}
    type ListHotMusicResResultHotListPropertiesItemsItem ¶
type ListHotMusicResResultHotListPropertiesItemsItem struct {
	// 歌曲是否支持伴唱原唱切换。
	// * 0: 不支持。
	// * 1: 声道切换
	// * 2: 音轨切换
	BgmType *int32 `json:"BgmType,omitempty"`
	// 歌曲时长,单位为秒
	Duration *int32 `json:"Duration,omitempty"`
	// 歌词类型
	// * [0]: krc
	// * [1]: lrc
	// * [0,1]: 两种歌词均有。 若为空,则表示为无歌词。
	LyricType []*int32 `json:"LyricType,omitempty"`
	// 歌曲是否支持打分。
	// * 0: 不支持
	// * 1: 支持
	PitchType *int32 `json:"PitchType,omitempty"`
	// 歌曲封面地址
	PosterURL *string `json:"PosterUrl,omitempty"`
	// 歌曲排名
	Rank *int32 `json:"Rank,omitempty"`
	// 歌曲是否支持录制。
	// * 0: 不支持
	// * 1: 支持
	RecordType *int32 `json:"RecordType,omitempty"`
	// 歌曲授权范围。
	// * 0:中国大陆
	// * 1:全球
	RegionType *int32 `json:"RegionType,omitempty"`
	// 场景类型:
	// * 0:所有。
	// * 1:BGM
	// * 2:k 歌
	SceneType *int32 `json:"SceneType,omitempty"`
	// 歌曲高潮部分
	Segment *string `json:"Segment,omitempty"`
	// 歌曲歌手名
	Singer *string `json:"Singer,omitempty"`
	// 歌曲 ID
	SongID *string `json:"SongId,omitempty"`
	// 歌曲名称
	Songname *string `json:"Songname,omitempty"`
	// 供应商 ID
	VendorID *int32 `json:"VendorId,omitempty"`
	// 供应商名称
	VendorName *string `json:"VendorName,omitempty"`
}
    type ListMusics ¶
type ListMusics struct{}
    type ListMusicsBody ¶
type ListMusicsBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// 过滤选项。支持取值及含义如下:
	// * 1:过滤没有歌词的歌曲
	// * 2:过滤不支持打分的歌曲
	// * 3:过滤不支持伴唱切换的歌曲
	// * 4:过滤没有高潮片段的歌曲。
	// 不填则不设置过滤条件。
	Filters []*int32 `json:"Filters,omitempty"`
	// 歌曲更新或新增时间戳,Unix 时间,单位为秒。表示筛选更新或新增时间大于等于 LastUpdateTime 的有效歌曲
	LastUpdateTime *int32 `json:"LastUpdateTime,omitempty"`
	// 分页序号,默认值为1
	PageNum *int32 `json:"PageNum,omitempty"`
	// 每页歌曲数量,取值范围为 (0,100],默认值为 10
	PageSize *int32 `json:"PageSize,omitempty"`
	// 查询歌曲 ID,最多可以指定 200 个
	SongIDs []*string `json:"SongIds,omitempty"`
}
    type ListMusicsQuery ¶
type ListMusicsQuery struct{}
    type ListMusicsReq ¶
type ListMusicsReq struct {
	*ListMusicsQuery
	*ListMusicsBody
}
    type ListMusicsRes ¶
type ListMusicsRes struct {
	// REQUIRED
	ResponseMetadata ListMusicsResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result ListMusicsResResult `json:"Result"`
}
    type ListMusicsResResponseMetadata ¶
type ListMusicsResResponseMetadata 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 *ListMusicsResResponseMetadataError `json:"Error,omitempty"`
}
    type ListMusicsResResponseMetadataError ¶
type ListMusicsResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListMusicsResResponseMetadataError - 仅在请求失败时返回。
type ListMusicsResResult ¶
type ListMusicsResResult struct {
	// REQUIRED; 返回歌曲详情
	List []ListMusicsResResultListItem `json:"List"`
	// REQUIRED; 返回歌曲总数
	Total int32 `json:"Total"`
}
    type ListMusicsResResultListItem ¶
type ListMusicsResResultListItem struct {
	// 歌曲是否支持伴唱原唱切换。支持取值及含义如下:
	// * 0: 不支持。
	// * 1: 声道切换
	// * 2: 音轨切换
	BgmType *int32 `json:"BgmType,omitempty"`
	// 歌曲时长,单位为秒
	Duration *int32 `json:"Duration,omitempty"`
	// 歌词类型。支持取值及含义如下:
	// * 0: krc
	// * 1: lrc
	// * [0,1]: 两种歌词均有。 若为空,则表示为无歌词。
	LyricType []*int32                             `json:"LyricType,omitempty"`
	LyricURL  *ListMusicsResResultListItemLyricURL `json:"LyricUrl,omitempty"`
	// 歌曲是否支持打分。支持取值及含义如下:
	// * 0: 不支持
	// * 1: 支持
	PitchType *int32 `json:"PitchType,omitempty"`
	// 歌曲封面地址
	PosterURL *string `json:"PosterUrl,omitempty"`
	// 歌曲是否支持录制。支持取值及含义如下:
	// * 0: 不支持
	// * 1: 支持
	RecordType *int32 `json:"RecordType,omitempty"`
	// 歌曲高潮部分
	Segment *string `json:"Segment,omitempty"`
	// 歌曲歌手名
	Singer *string `json:"Singer,omitempty"`
	// 歌曲 ID
	SongID *string `json:"SongId,omitempty"`
	// 歌曲名称
	Songname *string `json:"Songname,omitempty"`
	// 歌曲更新时间戳,unix 时间,单位为秒
	UpdateAt *int32 `json:"UpdateAt,omitempty"`
	// 供应商 ID
	VendorID *int32 `json:"VendorId,omitempty"`
	// 供应商名称
	VendorName *string `json:"VendorName,omitempty"`
}
    type ListOperationData ¶
type ListOperationData struct{}
    type ListOperationDataBody ¶
type ListOperationDataBody struct {
	// REQUIRED; 返回聚合时间的粒度,支持设为以下值:
	// * 1d:粒度为 1 天
	// * 1h:粒度为 1 小时
	AggregateGranularity string `json:"AggregateGranularity"`
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。可同时查询多个指标。Indicator 可选值,参看离线运营数据相关 indicator [1167931#indicator]。
	Indicator []string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
}
    type ListOperationDataQuery ¶
type ListOperationDataQuery struct{}
    type ListOperationDataReq ¶
type ListOperationDataReq struct {
	*ListOperationDataQuery
	*ListOperationDataBody
}
    type ListOperationDataRes ¶
type ListOperationDataRes struct {
	// REQUIRED
	ResponseMetadata ListOperationDataResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListOperationDataResResult          `json:"Result,omitempty"`
}
    type ListOperationDataResResponseMetadata ¶
type ListOperationDataResResponseMetadata 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 *ListOperationDataResResponseMetadataError `json:"Error,omitempty"`
}
    type ListOperationDataResResponseMetadataError ¶
type ListOperationDataResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListOperationDataResResponseMetadataError - 仅在请求失败时返回。
type ListOperationDataResResult ¶
type ListOperationDataResResult struct {
	// 返回聚合时间的粒度
	AggregateGranularity *string `json:"AggregateGranularity,omitempty"`
	// 具体指标数据
	Indicators []*ListOperationDataResResultIndicatorsItem `json:"Indicators,omitempty"`
}
    type ListOperationDataResResultIndicatorsItem ¶
type ListOperationDataResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListOperationDataResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name     *string                                           `json:"Name,omitempty"`
	Overview *ListOperationDataResResultIndicatorsItemOverview `json:"overview,omitempty"`
	Unit     *string                                           `json:"Unit,omitempty"`
}
    type ListOperationDataResResultIndicatorsItemOverview ¶
type ListOperationDataResResultIndicatorsItemOverview struct {
	// 指标中文名
	Alias     *string `json:"Alias,omitempty"`
	ExtraInfo *string `json:"ExtraInfo,omitempty"`
	// hover时提醒信息
	HoverInfo *string `json:"HoverInfo,omitempty"`
	MaxValue  *string `json:"MaxValue,omitempty"`
	MinValue  *string `json:"MinValue,omitempty"`
	// 指标名
	Name *string `json:"Name,omitempty"`
	// 单位
	Unit *string `json:"Unit,omitempty"`
	// 值
	Value *string `json:"Value,omitempty"`
}
    type ListOperationDistribution ¶
type ListOperationDistribution struct{}
    type ListOperationDistributionBody ¶
type ListOperationDistributionBody struct {
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询维度。目前仅支持查询:
	// * 一级行政区(包括港澳台地区)
	// * 国家
	Dimension string `json:"Dimension"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。
	// 目前仅支持查询 user_num,即此 AppId 在所选日期的通话总人数。通话人数按用户 id 去重。
	Indicator string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
}
    type ListOperationDistributionQuery ¶
type ListOperationDistributionQuery struct{}
    type ListOperationDistributionReq ¶
type ListOperationDistributionReq struct {
	*ListOperationDistributionQuery
	*ListOperationDistributionBody
}
    type ListOperationDistributionRes ¶
type ListOperationDistributionRes struct {
	// REQUIRED
	ResponseMetadata ListOperationDistributionResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListOperationDistributionResResult          `json:"Result,omitempty"`
}
    type ListOperationDistributionResResponseMetadata ¶
type ListOperationDistributionResResponseMetadata 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 *ListOperationDistributionResResponseMetadataError `json:"Error,omitempty"`
}
    type ListOperationDistributionResResponseMetadataError ¶
type ListOperationDistributionResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListOperationDistributionResResponseMetadataError - 仅在请求失败时返回。
type ListOperationDistributionResResult ¶
type ListOperationDistributionResResult struct {
	// 具体的指标值以及对应时间
	Data []*ListOperationDistributionResResultDataItem `json:"Data,omitempty"`
	// 查询维度
	Dimension *string `json:"Dimension,omitempty"`
	// 指标名称
	Name *string `json:"Name,omitempty"`
}
    type ListQuality ¶
type ListQuality struct{}
    type ListQualityBody ¶
type ListQualityBody struct {
	// REQUIRED; 返回聚合时间的粒度,支持设为以下值:
	// * 1d:粒度为 1 天
	// * 5min:粒度为 5 分钟
	AggregateGranularity string `json:"AggregateGranularity"`
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。可同时查询多个指标。Indicator 可选值,参看质量数据相关 indicator [1167931#listquality]。
	Indicator []string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
	// 网络类型,枚举值为:2g、3g、4g、5g、wifi
	// ProductType = web 时该参数不生效
	Access []*string `json:"Access,omitempty"`
	// 枚举值为:android、iOS、linux、mac、windows
	// ProductType = web 时该参数不生效
	OS []*string `json:"OS,omitempty"`
	// 要查询的产品类型,枚举值为 native 和 web。
	// * native:指 android、iOS、linux、mac或 windows 平台的 veRTC SDK。
	// * web:指 Web 平台的veRTC SDK。 默认值为native
	ProductType *string `json:"ProductType,omitempty"`
	// 房间 ID。如果不填,代表查询该 AppId 的整体离线指标。
	RoomID *string `json:"RoomId,omitempty"`
	// 查询的用户 ID 列表,最多可以指定 20 个。值不合法时默认剔除。此字段仅在 RoomId 不为空时生效。
	UserID []*string `json:"UserId,omitempty"`
}
    type ListQualityDistribution ¶
type ListQualityDistribution struct{}
    type ListQualityDistributionBody ¶
type ListQualityDistributionBody struct {
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询维度,一次仅支持查询一个维度。
	// 支持设为以下值:
	// * Province:一级行政区(包括港澳台地区)
	// * Country:国家
	// * OS:用户设备平台 包括:android、ios、linux、mac、windows
	// * Access:用户网络类型 包括:2g、3g、4g、5g、wifi
	Dimension string `json:"Dimension"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称,一次仅支持查询一个指标。Indicator 可选值,参看质量数据相关 indicator [1167931#listquality]。
	Indicator string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
	// 要查询的数据所属设备端,支持设为以下值:
	// * native:指 Android、iOS、Linux、Mac、Windows 端。
	// * web:指 Web 端。 默认值为 native。
	Platform    *string `json:"Platform,omitempty"`
	ProductType *string `json:"ProductType,omitempty"`
}
    type ListQualityDistributionQuery ¶
type ListQualityDistributionQuery struct{}
    type ListQualityDistributionReq ¶
type ListQualityDistributionReq struct {
	*ListQualityDistributionQuery
	*ListQualityDistributionBody
}
    type ListQualityDistributionRes ¶
type ListQualityDistributionRes struct {
	// REQUIRED
	ResponseMetadata ListQualityDistributionResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListQualityDistributionResResult          `json:"Result,omitempty"`
}
    type ListQualityDistributionResResponseMetadata ¶
type ListQualityDistributionResResponseMetadata 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 *ListQualityDistributionResResponseMetadataError `json:"Error,omitempty"`
}
    type ListQualityDistributionResResponseMetadataError ¶
type ListQualityDistributionResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListQualityDistributionResResponseMetadataError - 仅在请求失败时返回。
type ListQualityDistributionResResult ¶
type ListQualityDistributionResResult struct {
	// 具体指标数据。
	Indicators []*ListQualityDistributionResResultIndicatorsItem `json:"Indicators,omitempty"`
}
    type ListQualityDistributionResResultIndicatorsItem ¶
type ListQualityDistributionResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListQualityDistributionResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name *string `json:"Name,omitempty"`
}
    type ListQualityQuery ¶
type ListQualityQuery struct{}
    type ListQualityReq ¶
type ListQualityReq struct {
	*ListQualityQuery
	*ListQualityBody
}
    type ListQualityRes ¶
type ListQualityRes struct {
	// REQUIRED
	ResponseMetadata ListQualityResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListQualityResResult          `json:"Result,omitempty"`
}
    type ListQualityResResponseMetadata ¶
type ListQualityResResponseMetadata 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 *ListQualityResResponseMetadataError `json:"Error,omitempty"`
}
    type ListQualityResResponseMetadataError ¶
type ListQualityResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListQualityResResponseMetadataError - 仅在请求失败时返回。
type ListQualityResResult ¶
type ListQualityResResult struct {
	// 返回数据的粒度
	AggregateGranularity *string `json:"AggregateGranularity,omitempty"`
	// 具体指标数据
	Indicators []*ListQualityResResultIndicatorsItem `json:"Indicators,omitempty"`
}
    type ListQualityResResultIndicatorsItem ¶
type ListQualityResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListQualityResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name     *string                                     `json:"Name,omitempty"`
	Overview *ListQualityResResultIndicatorsItemOverview `json:"overview,omitempty"`
	Unit     *string                                     `json:"Unit,omitempty"`
}
    type ListQualityResResultIndicatorsItemOverview ¶
type ListQualityResResultIndicatorsItemOverview struct {
	// 指标中文名
	Alias     *string `json:"Alias,omitempty"`
	ExtraInfo *string `json:"ExtraInfo,omitempty"`
	// hover时提醒信息
	HoverInfo *string `json:"HoverInfo,omitempty"`
	MaxValue  *string `json:"MaxValue,omitempty"`
	MinValue  *string `json:"MinValue,omitempty"`
	// 指标名
	Name *string `json:"Name,omitempty"`
	// 单位
	Unit *string `json:"Unit,omitempty"`
	// 值
	Value *string `json:"Value,omitempty"`
}
    type ListRealTimeOperationData ¶
type ListRealTimeOperationData struct{}
    type ListRealTimeOperationDataBody ¶
type ListRealTimeOperationDataBody struct {
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。可同时查询多个指标。 Indicator 可选值,参看实时运营数据相关 indicator [1167931#realtime]。
	Indicator []string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
}
    type ListRealTimeOperationDataQuery ¶
type ListRealTimeOperationDataQuery struct{}
    type ListRealTimeOperationDataReq ¶
type ListRealTimeOperationDataReq struct {
	*ListRealTimeOperationDataQuery
	*ListRealTimeOperationDataBody
}
    type ListRealTimeOperationDataRes ¶
type ListRealTimeOperationDataRes struct {
	// REQUIRED
	ResponseMetadata ListRealTimeOperationDataResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListRealTimeOperationDataResResult          `json:"Result,omitempty"`
}
    type ListRealTimeOperationDataResResponseMetadata ¶
type ListRealTimeOperationDataResResponseMetadata 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 *ListRealTimeOperationDataResResponseMetadataError `json:"Error,omitempty"`
}
    type ListRealTimeOperationDataResResponseMetadataError ¶
type ListRealTimeOperationDataResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListRealTimeOperationDataResResponseMetadataError - 仅在请求失败时返回。
type ListRealTimeOperationDataResResult ¶
type ListRealTimeOperationDataResResult struct {
	// 具体指标数据
	Indicators []*ListRealTimeOperationDataResResultIndicatorsItem `json:"Indicators,omitempty"`
}
    type ListRealTimeOperationDataResResultIndicatorsItem ¶
type ListRealTimeOperationDataResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListRealTimeOperationDataResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name     *string                                                   `json:"Name,omitempty"`
	Overview *ListRealTimeOperationDataResResultIndicatorsItemOverview `json:"overview,omitempty"`
	Unit     *string                                                   `json:"Unit,omitempty"`
}
    type ListRealTimeOperationDataResResultIndicatorsItemOverview ¶
type ListRealTimeOperationDataResResultIndicatorsItemOverview struct {
	// 指标中文名
	Alias     *string `json:"Alias,omitempty"`
	ExtraInfo *string `json:"ExtraInfo,omitempty"`
	// hover时提醒信息
	HoverInfo *string `json:"HoverInfo,omitempty"`
	MaxValue  *string `json:"MaxValue,omitempty"`
	MinValue  *string `json:"MinValue,omitempty"`
	// 指标名
	Name *string `json:"Name,omitempty"`
	// 单位
	Unit *string `json:"Unit,omitempty"`
	// 值
	Value *string `json:"Value,omitempty"`
}
    type ListRealTimeOperationDataResResultIndicatorsPropertiesItemsItem ¶
type ListRealTimeOperationDataResResultIndicatorsPropertiesItemsItem struct {
	// 指标聚合时间,即指标值对应时间段的开始时刻(每 30s 一聚合)。格式为 RFC3339 规范。指标聚合时间,即指标值对应时间段的开始时刻(每 30s 一聚合)。格式为 RFC3339 规范。
	TimeStamp *string `json:"TimeStamp,omitempty"`
	// 指标值,浮点数,保留两位小数。指标值,浮点数,保留两位小数。
	Value *float64 `json:"Value,omitempty"`
}
    type ListRealTimeQuality ¶
type ListRealTimeQuality struct{}
    type ListRealTimeQualityBody ¶
type ListRealTimeQualityBody struct {
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。可同时查询多个指标。Indicator 可选值,参看质量数据相关 indicator [1167931#listquality]。
	Indicator []string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime string `json:"StartTime"`
	// 要查询的数据所属设备端,支持设为以下值:
	// * native:指 Android、iOS、Linux、Mac、Windows 端。
	// * web:指 Web 端。
	// 默认值为native。
	ProductType *string `json:"ProductType,omitempty"`
	// 房间 ID,是房间的唯一标志。如果不填,代表查询该 AppId 的整体实时指标。
	RoomID *string `json:"RoomId,omitempty"`
	// 查询的用户 ID 列表,最多可以指定 20 个。值不合法时默认剔除。此字段仅在 RoomID 不为空时生效。
	UserID []*string `json:"UserId,omitempty"`
}
    type ListRealTimeQualityDistribution ¶
type ListRealTimeQualityDistribution struct{}
    type ListRealTimeQualityDistributionBody ¶
type ListRealTimeQualityDistributionBody struct {
	// REQUIRED; 你的音视频应用的唯一标志。
	AppID string `json:"AppId"`
	// REQUIRED; 查询的维度,一次仅支持查询一个维度。
	// 支持设为以下值:
	// * Province: 一级行政区(包括港澳台地区)
	// * Country:国家
	// * OS:用户设备平台 包括:android、ios、linux、mac、windows
	// * Access:用户网络类型 包括:2g、3g、4g、5g、wifi
	Dimension string `json:"Dimension"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒。
	EndTime string `json:"EndTime"`
	// REQUIRED; 查询的指标名称。一次仅支持查询一个指标。Indicator 可选值,参看质量数据相关 indicator [1167931#listquality]。
	Indicator string `json:"Indicator"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒。
	StartTime   string  `json:"StartTime"`
	Platform    *string `json:"Platform,omitempty"`
	ProductType *string `json:"ProductType,omitempty"`
}
    type ListRealTimeQualityDistributionQuery ¶
type ListRealTimeQualityDistributionQuery struct{}
    type ListRealTimeQualityDistributionReq ¶
type ListRealTimeQualityDistributionReq struct {
	*ListRealTimeQualityDistributionQuery
	*ListRealTimeQualityDistributionBody
}
    type ListRealTimeQualityDistributionRes ¶
type ListRealTimeQualityDistributionRes struct {
	// REQUIRED
	ResponseMetadata ListRealTimeQualityDistributionResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListRealTimeQualityDistributionResResult          `json:"Result,omitempty"`
}
    type ListRealTimeQualityDistributionResResponseMetadata ¶
type ListRealTimeQualityDistributionResResponseMetadata 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 *ListRealTimeQualityDistributionResResponseMetadataError `json:"Error,omitempty"`
}
    type ListRealTimeQualityDistributionResResponseMetadataError ¶
type ListRealTimeQualityDistributionResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListRealTimeQualityDistributionResResponseMetadataError - 仅在请求失败时返回。
type ListRealTimeQualityDistributionResResult ¶
type ListRealTimeQualityDistributionResResult struct {
	// 具体指标数据
	Indicators []*ListRealTimeQualityDistributionResResultIndicatorsItem `json:"Indicators,omitempty"`
}
    type ListRealTimeQualityDistributionResResultIndicatorsItem ¶
type ListRealTimeQualityDistributionResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListRealTimeQualityDistributionResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name *string `json:"Name,omitempty"`
}
    type ListRealTimeQualityQuery ¶
type ListRealTimeQualityQuery struct{}
    type ListRealTimeQualityReq ¶
type ListRealTimeQualityReq struct {
	*ListRealTimeQualityQuery
	*ListRealTimeQualityBody
}
    type ListRealTimeQualityRes ¶
type ListRealTimeQualityRes struct {
	// REQUIRED
	ResponseMetadata ListRealTimeQualityResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListRealTimeQualityResResult          `json:"Result,omitempty"`
}
    type ListRealTimeQualityResResponseMetadata ¶
type ListRealTimeQualityResResponseMetadata 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 *ListRealTimeQualityResResponseMetadataError `json:"Error,omitempty"`
}
    type ListRealTimeQualityResResponseMetadataError ¶
type ListRealTimeQualityResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListRealTimeQualityResResponseMetadataError - 仅在请求失败时返回。
type ListRealTimeQualityResResult ¶
type ListRealTimeQualityResResult struct {
	// 具体指标数据
	Indicators []*ListRealTimeQualityResResultIndicatorsItem `json:"Indicators,omitempty"`
	// 房间 ID
	RoomID *string `json:"RoomId,omitempty"`
	// 用户 ID
	UserID []*string `json:"UserId,omitempty"`
}
    type ListRealTimeQualityResResultIndicatorsItem ¶
type ListRealTimeQualityResResultIndicatorsItem struct {
	// 具体的指标值以及对应时间
	Data []*ListRealTimeQualityResResultIndicatorsPropertiesItemsItem `json:"Data,omitempty"`
	// 指标名称
	Name     *string                                             `json:"Name,omitempty"`
	Overview *ListRealTimeQualityResResultIndicatorsItemOverview `json:"overview,omitempty"`
	Unit     *string                                             `json:"Unit,omitempty"`
}
    type ListRealTimeQualityResResultIndicatorsItemOverview ¶
type ListRealTimeQualityResResultIndicatorsItemOverview struct {
	// 指标中文名
	Alias     *string `json:"Alias,omitempty"`
	ExtraInfo *string `json:"ExtraInfo,omitempty"`
	// hover时提醒信息
	HoverInfo *string `json:"HoverInfo,omitempty"`
	MaxValue  *string `json:"MaxValue,omitempty"`
	MinValue  *string `json:"MinValue,omitempty"`
	// 指标名
	Name *string `json:"Name,omitempty"`
	// 单位
	Unit *string `json:"Unit,omitempty"`
	// 值
	Value *string `json:"Value,omitempty"`
}
    type ListRelayStream ¶
type ListRelayStream struct{}
    type ListRelayStreamBody ¶
type ListRelayStreamBody struct{}
    type ListRelayStreamQuery ¶
type ListRelayStreamQuery struct {
	// REQUIRED; 应用的唯一标志。
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 要查询房间的 ID
	RoomID string `json:"RoomId" query:"RoomId"`
	// 页大小,取值范围为[1,100],默认值为 10
	Limit *int32 `json:"Limit,omitempty" query:"Limit"`
	// 起始位置,取值范围为[0,9999],默认值为 0。
	Offset *int32 `json:"Offset,omitempty" query:"Offset"`
	// 接口调用时间顺序。 0:倒序。1:正序。默认值为0
	Order *int32 `json:"Order,omitempty" query:"Order"`
}
    type ListRelayStreamReq ¶
type ListRelayStreamReq struct {
	*ListRelayStreamQuery
	*ListRelayStreamBody
}
    type ListRelayStreamRes ¶
type ListRelayStreamRes struct {
	// REQUIRED
	ResponseMetadata ListRelayStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListRelayStreamResResult          `json:"Result,omitempty"`
}
    type ListRelayStreamResResponseMetadata ¶
type ListRelayStreamResResponseMetadata 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 *ListRelayStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type ListRelayStreamResResponseMetadataError ¶
type ListRelayStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListRelayStreamResResponseMetadataError - 仅在请求失败时返回。
type ListRelayStreamResResult ¶
type ListRelayStreamResResult struct {
	// REQUIRED; 页大小
	Limit int32 `json:"Limit"`
	// REQUIRED; 下一页索引
	Offset int32 `json:"Offset"`
	// REQUIRED; 任务列表
	Task []ListRelayStreamResResultTaskItem `json:"Task"`
	// REQUIRED; 当前页大小
	Total int32 `json:"Total"`
}
    type ListRelayStreamResResultTaskItem ¶
type ListRelayStreamResResultTaskItem struct {
	// 应用的唯一标志
	AppID *string `json:"AppId,omitempty"`
	// 任务开始时间,Unix 时间戳,单位为秒
	CreateTime *int32 `json:"CreateTime,omitempty"`
	// 发送帧率,值的范围为[1,60],默认值为15,转码时生效。
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 媒体类型。0:音视频 1:音频2:视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 房间 ID,是房间的唯一标志
	RoomID *string `json:"RoomId,omitempty"`
	// 任务当前状态。 1:任务启动中。2:任务运行中。3:任务已结束
	Status *int32 `json:"Status,omitempty"`
	// 流处理模式。0:转码1:转封装
	StreamMode *int32 `json:"StreamMode,omitempty"`
	// 在线媒体流地址
	StreamURL *string `json:"StreamUrl,omitempty"`
	// 任务 ID
	TaskID *string `json:"TaskId,omitempty"`
	// 在线媒体流对应的 UserId
	UserID *string `json:"UserId,omitempty"`
	// 视频高度,单位为 px,范围为 [16, 1920]。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 视频宽度。单位为 px,范围为 [16, 1920]。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    ListRelayStreamResResultTaskItem - 任务列表
type ListResourcePackages ¶
type ListResourcePackages struct{}
    type ListResourcePackagesBody ¶
type ListResourcePackagesBody struct{}
    type ListResourcePackagesQuery ¶
type ListResourcePackagesQuery struct{}
    type ListResourcePackagesReq ¶
type ListResourcePackagesReq struct {
	*ListResourcePackagesQuery
	*ListResourcePackagesBody
}
    type ListResourcePackagesRes ¶
type ListResourcePackagesRes struct {
	// REQUIRED
	ResponseMetadata ListResourcePackagesResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result []ListResourcePackagesResResultItem `json:"Result"`
}
    type ListResourcePackagesResResponseMetadata ¶
type ListResourcePackagesResResponseMetadata 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 *ListResourcePackagesResResponseMetadataError `json:"Error,omitempty"`
}
    type ListResourcePackagesResResponseMetadataError ¶
type ListResourcePackagesResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListResourcePackagesResResponseMetadataError - 仅在请求失败时返回。
type ListResourcePackagesResResultItem ¶
type ListResourcePackagesResResultItem struct {
	// REQUIRED
	ConfigurationCode string `json:"ConfigurationCode"`
	// REQUIRED
	PackageType int32 `json:"PackageType"`
	// REQUIRED
	Price int32 `json:"Price"`
	// REQUIRED
	ZhName             string   `json:"ZhName"`
	EffectiveTimeType  *int32   `json:"EffectiveTimeType,omitempty"`
	ValidityOptionList []*int32 `json:"ValidityOptionList,omitempty"`
	ValidityPeriod     *int32   `json:"ValidityPeriod,omitempty"`
}
    type ListResourcePackagesV2 ¶
type ListResourcePackagesV2 struct{}
    type ListResourcePackagesV2Body ¶
type ListResourcePackagesV2Body struct{}
    type ListResourcePackagesV2Query ¶
type ListResourcePackagesV2Query struct{}
    type ListResourcePackagesV2Req ¶
type ListResourcePackagesV2Req struct {
	*ListResourcePackagesV2Query
	*ListResourcePackagesV2Body
}
    type ListResourcePackagesV2Res ¶
type ListResourcePackagesV2Res struct {
	// REQUIRED
	ResponseMetadata ListResourcePackagesV2ResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result []ListResourcePackagesV2ResResultItem `json:"Result"`
}
    type ListResourcePackagesV2ResResponseMetadata ¶
type ListResourcePackagesV2ResResponseMetadata 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 *ListResourcePackagesV2ResResponseMetadataError `json:"Error,omitempty"`
}
    type ListResourcePackagesV2ResResponseMetadataError ¶
type ListResourcePackagesV2ResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListResourcePackagesV2ResResponseMetadataError - 仅在请求失败时返回。
type ListResourcePackagesV2ResResultItem ¶
type ListResourcePackagesV2ResResultItem struct {
	PackageConfigs []*ListResourcePackagesV2ResResultPropertiesItemsItem `json:"PackageConfigs,omitempty"`
	// 资源包类型,1: 音视频通话资源包 2: 云端录制资源包
	ResourceType *int32 `json:"ResourceType,omitempty"`
}
    type ListResourcePackagesV2ResResultPropertiesItemsItem ¶
type ListResourcePackagesV2ResResultPropertiesItemsItem struct {
	// REQUIRED
	ConfigurationCode string `json:"ConfigurationCode"`
	// REQUIRED
	EffectiveTimeType int32 `json:"EffectiveTimeType"`
	// REQUIRED
	PackageType int32 `json:"PackageType"`
	// REQUIRED
	Price float32 `json:"Price"`
	// REQUIRED
	ValidityOptionList string `json:"ValidityOptionList"`
	// REQUIRED
	ValidityPeriod int32 `json:"ValidityPeriod"`
	// REQUIRED
	ZhName string `json:"ZhName"`
}
    type ListRoomInfo ¶
type ListRoomInfo struct{}
    type ListRoomInfoBody ¶
type ListRoomInfoBody struct{}
    type ListRoomInfoQuery ¶
type ListRoomInfoQuery struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位秒
	EndTime string `json:"EndTime" query:"EndTime"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位秒
	StartTime string `json:"StartTime" query:"StartTime"`
	// 分页序号,默认值为1
	PageNum *int32 `json:"PageNum,omitempty" query:"PageNum"`
	// 每页房间数,最大不能超过 100。默认为 20。如果指定值超过 100,每页的房间数为 100。
	PageSize *int32 `json:"PageSize,omitempty" query:"PageSize"`
	// 房间 ID,是房间的唯一标志
	RoomID *string `json:"RoomId,omitempty" query:"RoomId"`
}
    type ListRoomInfoReq ¶
type ListRoomInfoReq struct {
	*ListRoomInfoQuery
	*ListRoomInfoBody
}
    type ListRoomInfoRes ¶
type ListRoomInfoRes struct {
	// REQUIRED
	ResponseMetadata ListRoomInfoResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListRoomInfoResResult          `json:"Result,omitempty"`
}
    type ListRoomInfoResResponseMetadata ¶
type ListRoomInfoResResponseMetadata 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 *ListRoomInfoResResponseMetadataError `json:"Error,omitempty"`
}
    type ListRoomInfoResResponseMetadataError ¶
type ListRoomInfoResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListRoomInfoResResponseMetadataError - 仅在请求失败时返回。
type ListRoomInfoResResult ¶
type ListRoomInfoResResult struct {
	// 是否还有房间未列出。若为true,表示符合条件房间过多。若要查询房间未列出,请修改查询条件。
	HasMore *bool `json:"HasMore,omitempty"`
	// 分页序号
	PageNum *int32 `json:"PageNum,omitempty"`
	// 每页房间数
	PageSize *int32 `json:"PageSize,omitempty"`
	// 房间信息
	RoomList []*ListRoomInfoResResultRoomListItem `json:"RoomList,omitempty"`
	// 查询到的房间总数。若同一 RoomId 下有多次通话,记为多个房间。
	Total *int32 `json:"Total,omitempty"`
}
    type ListRoomInfoResResultRoomListItem ¶
type ListRoomInfoResResultRoomListItem struct {
	// 当前仍在房间用户数
	ActiveUserNum *int32 `json:"ActiveUserNum,omitempty"`
	// 通话 Id,是通话的唯一标识
	CallID *string `json:"CallId,omitempty"`
	// 通话创建时间,格式为 RFC3339,单位秒
	CreatedTime *string `json:"CreatedTime,omitempty"`
	// 通话结束时间,格式为 RFC3339,单位秒,若查询时还未结束,则返回空值。
	DestroyTime *string `json:"DestroyTime,omitempty"`
	// 通话是否结束
	IsFinished *bool `json:"IsFinished,omitempty"`
	// 返回房间 Id
	RoomID *string `json:"RoomId,omitempty"`
}
    type ListUsages ¶
type ListUsages struct{}
    type ListUsagesBody ¶
type ListUsagesQuery ¶
type ListUsagesQuery struct{}
    type ListUsagesReq ¶
type ListUsagesReq struct {
	*ListUsagesQuery
	*ListUsagesBody
}
    type ListUsagesRes ¶
type ListUsagesRes struct {
	// REQUIRED
	ResponseMetadata ListUsagesResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListUsagesResResult          `json:"Result,omitempty"`
}
    type ListUsagesResResponseMetadata ¶
type ListUsagesResResponseMetadata 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 *ListUsagesResResponseMetadataError `json:"Error,omitempty"`
}
    type ListUsagesResResponseMetadataError ¶
type ListUsagesResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListUsagesResResponseMetadataError - 仅在请求失败时返回。
type ListUsagesResResult ¶
type ListUsagesResResult struct {
	// 具体的通话时长数据
	Usages []*ListUsagesResResultUsagesItem `json:"Usages,omitempty"`
}
    type ListUsagesResResultUsagesItem ¶
type ListUsagesResResultUsagesItem struct {
	// 计价档位为纯音频的通话时长,单位:分钟
	Audio *int64 `json:"Audio,omitempty"`
	// 指标聚合的时间,格式为 RFC3339 规范。这个参数的值,指通话时长对应时间段的开始时刻。以示例值为例,意味着对应的时间段为 北京时间2021年7月24日0点起的1天。
	TimeStamp *string `json:"TimeStamp,omitempty"`
	// 计价档位为 1080P 视频的通话时长,单位:分钟
	VideoHD *int64 `json:"VideoHD,omitempty"`
	// 计价档位为 720P 视频的通话时长,单位:分钟
	VideoSD *int64 `json:"VideoSD,omitempty"`
	// 计价档位为 360P 视频的通话时长,单位:分钟
	VideoSDM *int64 `json:"VideoSDM,omitempty"`
}
    type ListUserInfo ¶
type ListUserInfo struct{}
    type ListUserInfoBody ¶
type ListUserInfoBody struct{}
    type ListUserInfoQuery ¶
type ListUserInfoQuery struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId" query:"AppId"`
	// REQUIRED; 查询结束时间戳,格式为 RFC3339,单位为秒
	EndTime string `json:"EndTime" query:"EndTime"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId" query:"RoomId"`
	// REQUIRED; 查询起始时间戳,格式为 RFC3339,单位为秒
	StartTime string `json:"StartTime" query:"StartTime"`
	// 是否排除 Linux 用户。默认为 true,表示排除 Linux 用户
	ExcludeServerUser *bool `json:"ExcludeServerUser,omitempty" query:"ExcludeServerUser"`
	// 分页序号,默认值为1
	PageNum *int32 `json:"PageNum,omitempty" query:"PageNum"`
	// 每页用户数,最大不能超过 100。默认为 20。如果指定值超过 100,每页的用户数为 100。
	PageSize *int32 `json:"PageSize,omitempty" query:"PageSize"`
	// 查询的用户 ID 列表,多个用户 ID 用逗号隔开,最多可以指定 10 个。值不合法时默认剔除。为空时,查询房间内全部用户信息。
	UserID *string `json:"UserId,omitempty" query:"UserId"`
}
    type ListUserInfoReq ¶
type ListUserInfoReq struct {
	*ListUserInfoQuery
	*ListUserInfoBody
}
    type ListUserInfoRes ¶
type ListUserInfoRes struct {
	// REQUIRED
	ResponseMetadata ListUserInfoResResponseMetadata `json:"ResponseMetadata"`
	Result           *ListUserInfoResResult          `json:"Result,omitempty"`
}
    type ListUserInfoResResponseMetadata ¶
type ListUserInfoResResponseMetadata 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 *ListUserInfoResResponseMetadataError `json:"Error,omitempty"`
}
    type ListUserInfoResResponseMetadataError ¶
type ListUserInfoResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ListUserInfoResResponseMetadataError - 仅在请求失败时返回。
type ListUserInfoResResult ¶
type ListUserInfoResResult struct {
	// 分页序号
	PageNum *int32 `json:"PageNum,omitempty"`
	// 每页用户数,若同一用户有多次通话记为多个用户
	PageSize *int32 `json:"PageSize,omitempty"`
	// 查询到的用户总数,若同一用户有多次通话记为多个用户
	Total *int32 `json:"Total,omitempty"`
	// 用户信息
	UserList []*ListUserInfoResResultUserListItem `json:"UserList,omitempty"`
}
    type ListUserInfoResResultUserListItem ¶
type ListUserInfoResResultUserListItem struct {
	// CallId下用户最后一次进房对应的网络类型。枚举值:2g、3g、4g、5g、wifi、unknown。
	Access *string `json:"Access,omitempty"`
	// 通话 Id,是通话的唯一标识。
	CallID *string `json:"CallId,omitempty"`
	// CallId下用户第一次进入通话时间,格式为 RFC3339,单位秒
	CreatedAt *string `json:"CreatedAt,omitempty"`
	// CallId下用户最后一次进房对应的设备型号
	DeviceType *string `json:"DeviceType,omitempty"`
	// CallId下用户从第一次进房到最后一次离开房间的时间范围内真实在线时长(多次进出房时间间隔累加),单位为秒
	Duration *int32 `json:"Duration,omitempty"`
	// CallId下用户是否离开房间
	Finished *bool `json:"Finished,omitempty"`
	// CallId下用户最后一次退出通话时间,格式为 RFC3339,单位秒。如果此时用户在线,返回为空。
	LeaveAt *string `json:"LeaveAt,omitempty"`
	// CallId下用户最后一次进房对应的设备平台。枚举值:android、ios、linux、mac、windows、web、unknown
	OS *string `json:"OS,omitempty"`
	// CallId下用户是否发布过流
	Pub *bool `json:"Pub,omitempty"`
	// CallId下用户在通话内全部进退房记录
	Record []*ListUserInfoResResultUserListPropertiesItemsItem `json:"Record,omitempty"`
	// 查询房间 Id
	RoomID *string `json:"RoomId,omitempty"`
	// CallId下用户最后一次进房使用 sdk 版本号
	SdkVersion *string `json:"SdkVersion,omitempty"`
	// 查询用户 Id
	UserID *string `json:"UserId,omitempty"`
}
    type ModifyAppStatus ¶
type ModifyAppStatus struct{}
    type ModifyAppStatusBody ¶
type ModifyAppStatusQuery ¶
type ModifyAppStatusQuery struct{}
    type ModifyAppStatusReq ¶
type ModifyAppStatusReq struct {
	*ModifyAppStatusQuery
	*ModifyAppStatusBody
}
    type ModifyAppStatusRes ¶
type ModifyAppStatusRes struct {
	// REQUIRED
	ResponseMetadata ModifyAppStatusResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 返回值Result仅在请求成功时返回 "success",失败时为空。
	Result string `json:"Result"`
}
    type ModifyAppStatusResResponseMetadata ¶
type ModifyAppStatusResResponseMetadata 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 *ModifyAppStatusResResponseMetadataError `json:"Error,omitempty"`
}
    type ModifyAppStatusResResponseMetadataError ¶
type ModifyAppStatusResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ModifyAppStatusResResponseMetadataError - 仅在请求失败时返回。
type ModifyBusinessRemarks ¶
type ModifyBusinessRemarks struct{}
    type ModifyBusinessRemarksBody ¶
type ModifyBusinessRemarksBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// REQUIRED; 业务ID
	BusinessID string `json:"BusinessId"`
	// REQUIRED; 新业务名称,同一个 App 下不允许重复。长度不超过 24 个字符,取值范围为:数字、中文字符、字母和下划线
	Remarks string `json:"Remarks"`
}
    type ModifyBusinessRemarksQuery ¶
type ModifyBusinessRemarksQuery struct{}
    type ModifyBusinessRemarksReq ¶
type ModifyBusinessRemarksReq struct {
	*ModifyBusinessRemarksQuery
	*ModifyBusinessRemarksBody
}
    type ModifyBusinessRemarksRes ¶
type ModifyBusinessRemarksRes struct {
	// REQUIRED
	ResponseMetadata ModifyBusinessRemarksResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result string `json:"Result"`
}
    type ModifyBusinessRemarksResResponseMetadata ¶
type ModifyBusinessRemarksResResponseMetadata 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 *ModifyBusinessRemarksResResponseMetadataError `json:"Error,omitempty"`
}
    type ModifyBusinessRemarksResResponseMetadataError ¶
type ModifyBusinessRemarksResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    ModifyBusinessRemarksResResponseMetadataError - 仅在请求失败时返回。
type Rtc ¶
func NewInstance ¶
func NewInstance() *Rtc
func NewInstanceWithRegion ¶
func (*Rtc) AddBusinessID ¶
func (c *Rtc) AddBusinessID(ctx context.Context, arg *AddBusinessIDBody) (*AddBusinessIDRes, int, error)
func (*Rtc) BanRoomUser ¶
func (c *Rtc) BanRoomUser(ctx context.Context, arg *BanRoomUserBody) (*BanRoomUserRes, int, error)
func (*Rtc) BanUserStream ¶
func (c *Rtc) BanUserStream(ctx context.Context, arg *BanUserStreamBody) (*BanUserStreamRes, int, error)
func (*Rtc) BatchSendRoomUnicast ¶
func (c *Rtc) BatchSendRoomUnicast(ctx context.Context, arg *BatchSendRoomUnicastBody) (*BatchSendRoomUnicastRes, int, error)
func (*Rtc) CreateApp ¶
func (c *Rtc) CreateApp(ctx context.Context, arg *CreateAppBody) (*CreateAppRes, int, error)
func (*Rtc) CreateByteplusApp ¶
func (*Rtc) CreateCallback ¶
func (c *Rtc) CreateCallback(ctx context.Context, arg *CreateCallbackBody) (*CreateCallbackRes, int, error)
func (*Rtc) CreateFailRecoveryPolicy ¶
func (c *Rtc) CreateFailRecoveryPolicy(ctx context.Context, arg *CreateFailRecoveryPolicyBody) (*CreateFailRecoveryPolicyRes, int, error)
func (*Rtc) CreateVendorPolicy ¶
func (c *Rtc) CreateVendorPolicy(ctx context.Context, arg *CreateVendorPolicyBody) (*CreateVendorPolicyRes, int, error)
func (*Rtc) DeleteBusinessID ¶
func (c *Rtc) DeleteBusinessID(ctx context.Context, arg *DeleteBusinessIDBody) (*DeleteBusinessIDRes, int, error)
func (*Rtc) DeleteCallback ¶
func (c *Rtc) DeleteCallback(ctx context.Context, arg *DeleteCallbackQuery) (*DeleteCallbackRes, int, error)
func (*Rtc) DeleteFailRecoveryPolicy ¶
func (c *Rtc) DeleteFailRecoveryPolicy(ctx context.Context, arg *DeleteFailRecoveryPolicyBody) (*DeleteFailRecoveryPolicyRes, int, error)
func (*Rtc) DismissRoom ¶
func (c *Rtc) DismissRoom(ctx context.Context, arg *DismissRoomBody) (*DismissRoomRes, int, error)
func (*Rtc) GetAllBusinessID ¶
func (c *Rtc) GetAllBusinessID(ctx context.Context, arg *GetAllBusinessIDBody) (*GetAllBusinessIDRes, int, error)
func (*Rtc) GetCallback ¶
func (c *Rtc) GetCallback(ctx context.Context, arg *GetCallbackQuery) (*GetCallbackRes, int, error)
func (*Rtc) GetFailRecoveryPolicies ¶
func (c *Rtc) GetFailRecoveryPolicies(ctx context.Context, arg *GetFailRecoveryPoliciesBody) (*GetFailRecoveryPoliciesRes, int, error)
func (*Rtc) GetPushMixedStreamToCDNTask ¶
func (c *Rtc) GetPushMixedStreamToCDNTask(ctx context.Context, arg *GetPushMixedStreamToCDNTaskQuery) (*GetPushMixedStreamToCDNTaskRes, int, error)
func (*Rtc) GetPushSingleStreamToCDNTask ¶
func (c *Rtc) GetPushSingleStreamToCDNTask(ctx context.Context, arg *GetPushSingleStreamToCDNTaskQuery) (*GetPushSingleStreamToCDNTaskRes, int, error)
func (*Rtc) GetRecordTask ¶
func (c *Rtc) GetRecordTask(ctx context.Context, arg *GetRecordTaskQuery) (*GetRecordTaskRes, int, error)
func (*Rtc) GetResourcePackNum ¶
func (*Rtc) GetWebCastTask ¶
func (c *Rtc) GetWebCastTask(ctx context.Context, arg *GetWebCastTaskQuery) (*GetWebCastTaskRes, int, error)
func (*Rtc) KickUser ¶
func (c *Rtc) KickUser(ctx context.Context, arg *KickUserBody) (*KickUserRes, int, error)
func (*Rtc) ListApps ¶
func (c *Rtc) ListApps(ctx context.Context, arg *ListAppsBody) (*ListAppsRes, int, error)
func (*Rtc) ListCallDetail ¶
func (c *Rtc) ListCallDetail(ctx context.Context, arg *ListCallDetailQuery) (*ListCallDetailRes, int, error)
func (*Rtc) ListDetectionTask ¶
func (c *Rtc) ListDetectionTask(ctx context.Context, arg *ListDetectionTaskQuery) (*ListDetectionTaskRes, int, error)
func (*Rtc) ListHotMusic ¶
func (c *Rtc) ListHotMusic(ctx context.Context, arg *ListHotMusicBody) (*ListHotMusicRes, int, error)
func (*Rtc) ListMusics ¶
func (c *Rtc) ListMusics(ctx context.Context, arg *ListMusicsBody) (*ListMusicsRes, int, error)
func (*Rtc) ListOperationData ¶
func (c *Rtc) ListOperationData(ctx context.Context, arg *ListOperationDataBody) (*ListOperationDataRes, int, error)
func (*Rtc) ListOperationDistribution ¶
func (c *Rtc) ListOperationDistribution(ctx context.Context, arg *ListOperationDistributionBody) (*ListOperationDistributionRes, int, error)
func (*Rtc) ListQuality ¶
func (c *Rtc) ListQuality(ctx context.Context, arg *ListQualityBody) (*ListQualityRes, int, error)
func (*Rtc) ListQualityDistribution ¶
func (c *Rtc) ListQualityDistribution(ctx context.Context, arg *ListQualityDistributionBody) (*ListQualityDistributionRes, int, error)
func (*Rtc) ListRealTimeOperationData ¶
func (c *Rtc) ListRealTimeOperationData(ctx context.Context, arg *ListRealTimeOperationDataBody) (*ListRealTimeOperationDataRes, int, error)
func (*Rtc) ListRealTimeQuality ¶
func (c *Rtc) ListRealTimeQuality(ctx context.Context, arg *ListRealTimeQualityBody) (*ListRealTimeQualityRes, int, error)
func (*Rtc) ListRealTimeQualityDistribution ¶
func (c *Rtc) ListRealTimeQualityDistribution(ctx context.Context, arg *ListRealTimeQualityDistributionBody) (*ListRealTimeQualityDistributionRes, int, error)
func (*Rtc) ListRelayStream ¶
func (c *Rtc) ListRelayStream(ctx context.Context, arg *ListRelayStreamQuery) (*ListRelayStreamRes, int, error)
func (*Rtc) ListResourcePackages ¶
func (*Rtc) ListResourcePackagesV2 ¶
func (*Rtc) ListRoomInfo ¶
func (c *Rtc) ListRoomInfo(ctx context.Context, arg *ListRoomInfoQuery) (*ListRoomInfoRes, int, error)
func (*Rtc) ListUsages ¶
func (c *Rtc) ListUsages(ctx context.Context, arg *ListUsagesBody) (*ListUsagesRes, int, error)
func (*Rtc) ListUserInfo ¶
func (c *Rtc) ListUserInfo(ctx context.Context, arg *ListUserInfoQuery) (*ListUserInfoRes, int, error)
func (*Rtc) ModifyAppStatus ¶
func (c *Rtc) ModifyAppStatus(ctx context.Context, arg *ModifyAppStatusBody) (*ModifyAppStatusRes, int, error)
func (*Rtc) ModifyBusinessRemarks ¶
func (c *Rtc) ModifyBusinessRemarks(ctx context.Context, arg *ModifyBusinessRemarksBody) (*ModifyBusinessRemarksRes, int, error)
func (*Rtc) SearchMusics ¶
func (c *Rtc) SearchMusics(ctx context.Context, arg *SearchMusicsBody) (*SearchMusicsRes, int, error)
func (*Rtc) SendBroadcast ¶
func (c *Rtc) SendBroadcast(ctx context.Context, arg *SendBroadcastBody) (*SendBroadcastRes, int, error)
func (*Rtc) SendRoomUnicast ¶
func (c *Rtc) SendRoomUnicast(ctx context.Context, arg *SendRoomUnicastBody) (*SendRoomUnicastRes, int, error)
func (*Rtc) SendUnicast ¶
func (c *Rtc) SendUnicast(ctx context.Context, arg *SendUnicastBody) (*SendUnicastRes, int, error)
func (*Rtc) StartDetection ¶
func (c *Rtc) StartDetection(ctx context.Context, arg *StartDetectionBody) (*StartDetectionRes, int, error)
func (*Rtc) StartPushMixedStreamToCDN ¶
func (c *Rtc) StartPushMixedStreamToCDN(ctx context.Context, arg *StartPushMixedStreamToCDNBody) (*StartPushMixedStreamToCDNRes, int, error)
func (*Rtc) StartPushPublicStream ¶
func (c *Rtc) StartPushPublicStream(ctx context.Context, arg *StartPushPublicStreamBody) (*StartPushPublicStreamRes, int, error)
func (*Rtc) StartPushSingleStreamToCDN ¶
func (c *Rtc) StartPushSingleStreamToCDN(ctx context.Context, arg *StartPushSingleStreamToCDNBody) (*StartPushSingleStreamToCDNRes, int, error)
func (*Rtc) StartRecord ¶
func (c *Rtc) StartRecord(ctx context.Context, arg *StartRecordBody) (*StartRecordRes, int, error)
func (*Rtc) StartRelayStream ¶
func (c *Rtc) StartRelayStream(ctx context.Context, arg *StartRelayStreamBody) (*StartRelayStreamRes, int, error)
func (*Rtc) StartSegment ¶
func (c *Rtc) StartSegment(ctx context.Context, arg *StartSegmentBody) (*StartSegmentRes, int, error)
func (*Rtc) StartSnapshot ¶
func (c *Rtc) StartSnapshot(ctx context.Context, arg *StartSnapshotBody) (*StartSnapshotRes, int, error)
func (*Rtc) StartWBRecord ¶
func (c *Rtc) StartWBRecord(ctx context.Context, arg *StartWBRecordBody) (*StartWBRecordRes, int, error)
func (*Rtc) StartWebcast ¶
func (c *Rtc) StartWebcast(ctx context.Context, arg *StartWebcastBody) (*StartWebcastRes, int, error)
func (*Rtc) StopDetection ¶
func (c *Rtc) StopDetection(ctx context.Context, arg *StopDetectionBody) (*StopDetectionRes, int, error)
func (*Rtc) StopPushPublicStream ¶
func (c *Rtc) StopPushPublicStream(ctx context.Context, arg *StopPushPublicStreamBody) (*StopPushPublicStreamRes, int, error)
func (*Rtc) StopPushStreamToCDN ¶
func (c *Rtc) StopPushStreamToCDN(ctx context.Context, arg *StopPushStreamToCDNBody) (*StopPushStreamToCDNRes, int, error)
func (*Rtc) StopRecord ¶
func (c *Rtc) StopRecord(ctx context.Context, arg *StopRecordBody) (*StopRecordRes, int, error)
func (*Rtc) StopRelayStream ¶
func (c *Rtc) StopRelayStream(ctx context.Context, arg *StopRelayStreamBody) (*StopRelayStreamRes, int, error)
func (*Rtc) StopSegment ¶
func (c *Rtc) StopSegment(ctx context.Context, arg *StopSegmentBody) (*StopSegmentRes, int, error)
func (*Rtc) StopSnapshot ¶
func (c *Rtc) StopSnapshot(ctx context.Context, arg *StopSnapshotBody) (*StopSnapshotRes, int, error)
func (*Rtc) StopWBRecord ¶
func (c *Rtc) StopWBRecord(ctx context.Context, arg *StopWBRecordBody) (*StopWBRecordRes, int, error)
func (*Rtc) StopWebcast ¶
func (c *Rtc) StopWebcast(ctx context.Context, arg *StopWebcastBody) (*StopWebcastRes, int, error)
func (*Rtc) UnbanUserStream ¶
func (c *Rtc) UnbanUserStream(ctx context.Context, arg *UnbanUserStreamBody) (*UnbanUserStreamRes, int, error)
func (*Rtc) UpdateBanRoomUserRule ¶
func (c *Rtc) UpdateBanRoomUserRule(ctx context.Context, arg *UpdateBanRoomUserRuleBody) (*UpdateBanRoomUserRuleRes, int, error)
func (*Rtc) UpdateCallback ¶
func (c *Rtc) UpdateCallback(ctx context.Context, arg *UpdateCallbackBody) (*UpdateCallbackRes, int, error)
func (*Rtc) UpdateFailRecoveryPolicy ¶
func (c *Rtc) UpdateFailRecoveryPolicy(ctx context.Context, arg *UpdateFailRecoveryPolicyBody) (*UpdateFailRecoveryPolicyRes, int, error)
func (*Rtc) UpdatePublicStreamParam ¶
func (c *Rtc) UpdatePublicStreamParam(ctx context.Context, arg *UpdatePublicStreamParamBody) (*UpdatePublicStreamParamRes, int, error)
func (*Rtc) UpdatePushMixedStreamToCDN ¶
func (c *Rtc) UpdatePushMixedStreamToCDN(ctx context.Context, arg *UpdatePushMixedStreamToCDNBody) (*UpdatePushMixedStreamToCDNRes, int, error)
func (*Rtc) UpdateRecord ¶
func (c *Rtc) UpdateRecord(ctx context.Context, arg *UpdateRecordBody) (*UpdateRecordRes, int, error)
func (*Rtc) UpdateRelayStream ¶
func (c *Rtc) UpdateRelayStream(ctx context.Context, arg *UpdateRelayStreamBody) (*UpdateRelayStreamRes, int, error)
func (*Rtc) UpdateSegment ¶
func (c *Rtc) UpdateSegment(ctx context.Context, arg *UpdateSegmentBody) (*UpdateSegmentRes, int, error)
func (*Rtc) UpdateSnapshot ¶
func (c *Rtc) UpdateSnapshot(ctx context.Context, arg *UpdateSnapshotBody) (*UpdateSnapshotRes, int, error)
func (*Rtc) UpdateVendorPolicy ¶
func (c *Rtc) UpdateVendorPolicy(ctx context.Context, arg *UpdateVendorPolicyBody) (*UpdateVendorPolicyRes, int, error)
func (*Rtc) WbTranscodeCreate ¶
func (c *Rtc) WbTranscodeCreate(ctx context.Context, arg *WbTranscodeCreateBody) (*WbTranscodeCreateRes, int, error)
func (*Rtc) WbTranscodeGet ¶
func (c *Rtc) WbTranscodeGet(ctx context.Context, arg *WbTranscodeGetQuery) (*WbTranscodeGetRes, int, error)
func (*Rtc) WbTranscodeQuery ¶
func (c *Rtc) WbTranscodeQuery(ctx context.Context, arg *WbTranscodeQueryQuery) (*WbTranscodeQueryRes, int, error)
type SearchMusics ¶
type SearchMusics struct{}
    type SearchMusicsBody ¶
type SearchMusicsBody struct {
	// REQUIRED; 你的音视频应用的唯一标志,参看获取 AppId [https://www.volcengine.com/docs/6348/69865#%E6%AD%A5%E9%AA%A44%EF%BC%9A%E5%88%9B%E5%BB%BA-rtc-%E5%BA%94%E7%94%A8%EF%BC%8C%E8%8E%B7%E5%8F%96-appid]。
	AppID string `json:"AppId"`
	// 过滤选项。支持取值及含义如下:
	// * 1:过滤没有歌词的歌曲
	// * 2:过滤不支持打分的歌曲
	// * 3:过滤不支持伴唱切换的歌曲
	// * 4:过滤没有高潮片段的歌曲。
	// 不填则不设置过滤条件。
	Filters []*int32 `json:"Filters,omitempty"`
	// 搜索关键字。匹配优先级为:精准歌曲名匹配 -> 精准歌手名匹配 -> 歌曲名模糊匹配
	KeyWord *string `json:"KeyWord,omitempty"`
	// 分页序号,默认值为1
	PageNum *int32 `json:"PageNum,omitempty"`
	// 每页歌曲数量,取值范围为(0,100],默认值为10
	PageSize *int32 `json:"PageSize,omitempty"`
}
    type SearchMusicsQuery ¶
type SearchMusicsQuery struct{}
    type SearchMusicsReq ¶
type SearchMusicsReq struct {
	*SearchMusicsQuery
	*SearchMusicsBody
}
    type SearchMusicsRes ¶
type SearchMusicsRes struct {
	// REQUIRED
	ResponseMetadata SearchMusicsResResponseMetadata `json:"ResponseMetadata"`
	Result           *SearchMusicsResResult          `json:"Result,omitempty"`
}
    type SearchMusicsResResponseMetadata ¶
type SearchMusicsResResponseMetadata 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 *SearchMusicsResResponseMetadataError `json:"Error,omitempty"`
}
    type SearchMusicsResResponseMetadataError ¶
type SearchMusicsResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    SearchMusicsResResponseMetadataError - 仅在请求失败时返回。
type SearchMusicsResResult ¶
type SearchMusicsResResult struct {
	// 返回歌曲详细信息
	List []*SearchMusicsResResultListItem `json:"List,omitempty"`
	// 按照搜索条件返回的歌曲总数
	Total *int32 `json:"Total,omitempty"`
}
    type SearchMusicsResResultListItem ¶
type SearchMusicsResResultListItem struct {
	// 歌曲是否支持伴唱原唱切换。支持取值及含义如下:
	// * 0: 不支持。
	// * 1: 声道切换
	// * 2: 音轨切换
	BgmType *int32 `json:"BgmType,omitempty"`
	// 歌曲时长,单位为秒
	Duration *int32 `json:"Duration,omitempty"`
	// 歌词类型。支持取值及含义如下:
	// * 0: krc
	// * 1: lrc
	// * [0,1]: 两种歌词均有。 若为空,则表示为无歌词。
	LyricType []*int32                               `json:"LyricType,omitempty"`
	LyricURL  *SearchMusicsResResultListItemLyricURL `json:"LyricUrl,omitempty"`
	// 歌曲是否支持打分。支持取值及含义如下:
	// * 0: 不支持
	// * 1: 支持
	PitchType *int32 `json:"PitchType,omitempty"`
	// 歌曲封面地址
	PosterURL *string `json:"PosterUrl,omitempty"`
	// 歌曲是否支持录制。支持取值及含义如下:
	// * 0: 不支持
	// * 1: 支持
	RecordType *int32 `json:"RecordType,omitempty"`
	// 歌曲高潮部分
	Segment *string `json:"Segment,omitempty"`
	// 歌曲歌手名
	Singer *string `json:"Singer,omitempty"`
	// 歌曲 ID
	SongID *string `json:"SongId,omitempty"`
	// 歌曲名称
	Songname *string `json:"Songname,omitempty"`
	// 歌曲更新时间戳,unix 时间,单位为秒
	UpdateAt *int32 `json:"UpdateAt,omitempty"`
	// 供应商 ID
	VendorID *int32 `json:"VendorId,omitempty"`
	// 供应商名称
	VendorName *string `json:"VendorName,omitempty"`
}
    type SendBroadcast ¶
type SendBroadcast struct{}
    type SendBroadcastBody ¶
type SendBroadcastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; * 字段为 true,发送二进制消息;
	// * 字段为 false,发送文本消息。
	Binary bool `json:"Binary"`
	// REQUIRED; 业务服务端的唯一标识。 命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}。 在一个 AppID 下,不能和真实用户用于实时消息通信的 user_ID 重复; 建议使用固定的 ID 的发送消息。
	From string `json:"From"`
	// REQUIRED; 广播消息内容。如果是二进制消息,需进行 base64 编码
	Message string `json:"Message"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
}
    type SendBroadcastQuery ¶
type SendBroadcastQuery struct{}
    type SendBroadcastReq ¶
type SendBroadcastReq struct {
	*SendBroadcastQuery
	*SendBroadcastBody
}
    type SendBroadcastRes ¶
type SendBroadcastRes struct {
	// REQUIRED
	ResponseMetadata SendBroadcastResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result SendBroadcastResResult `json:"Result"`
}
    type SendBroadcastResResponseMetadata ¶
type SendBroadcastResResponseMetadata 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 *SendBroadcastResResponseMetadataError `json:"Error,omitempty"`
}
    type SendBroadcastResResponseMetadataError ¶
type SendBroadcastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    SendBroadcastResResponseMetadataError - 仅在请求失败时返回。
type SendBroadcastResResult ¶
type SendBroadcastResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 Success,失败时为空。
	Message string `json:"Message"`
}
    type SendRoomUnicast ¶
type SendRoomUnicast struct{}
    type SendRoomUnicastBody ¶
type SendRoomUnicastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; * 字段为 true,发送二进制消息;
	// * 字段为 false,发送文本消息。
	Binary bool `json:"Binary"`
	// REQUIRED; 业务服务端的唯一标识。 命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}。 在一个 AppID 下,不能和真实用户用于实时消息通信的 user_ID 重复; 建议使用固定的 ID 的发送消息。
	From string `json:"From"`
	// REQUIRED; 点对点消息内容。如果是二进制消息,需进行 base64 编码
	Message string `json:"Message"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 消息接收用户调用 login 接口登录时设置的 ID,可用于接收房间内消息
	To string `json:"To"`
}
    type SendRoomUnicastQuery ¶
type SendRoomUnicastQuery struct{}
    type SendRoomUnicastReq ¶
type SendRoomUnicastReq struct {
	*SendRoomUnicastQuery
	*SendRoomUnicastBody
}
    type SendRoomUnicastRes ¶
type SendRoomUnicastRes struct {
	// REQUIRED
	ResponseMetadata SendRoomUnicastResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 仅在请求成功时返回消息 "success",表示服务端成功接收到消息,失败时为空。
	Result SendRoomUnicastResResult `json:"Result"`
}
    type SendRoomUnicastResResponseMetadata ¶
type SendRoomUnicastResResponseMetadata 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 *SendRoomUnicastResResponseMetadataError `json:"Error,omitempty"`
}
    type SendRoomUnicastResResponseMetadataError ¶
type SendRoomUnicastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    SendRoomUnicastResResponseMetadataError - 仅在请求失败时返回。
type SendRoomUnicastResResult ¶
type SendRoomUnicastResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 Success,失败时为空。
	Message string `json:"Message"`
}
    SendRoomUnicastResResult - 仅在请求成功时返回消息 "success",表示服务端成功接收到消息,失败时为空。
type SendUnicast ¶
type SendUnicast struct{}
    type SendUnicastBody ¶
type SendUnicastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; * 字段为 true,发送二进制消息;
	// * 字段为 false,发送文本消息。
	Binary bool `json:"Binary"`
	// REQUIRED; 业务服务端的唯一标识。命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}。 在一个 AppID 下,不能和真实用户用于实时消息通信的 user_ID 重复; 建议使用固定的 ID 的发送消息。
	From string `json:"From"`
	// REQUIRED; 点对点消息内容。如果是二进制消息,需进行 base64 编码
	Message string `json:"Message"`
	// REQUIRED; 消息接收用户调用 login [70080#login] 接口登录时设置的 ID,可用于接收房间外消息
	To string `json:"To"`
}
    type SendUnicastQuery ¶
type SendUnicastQuery struct{}
    type SendUnicastReq ¶
type SendUnicastReq struct {
	*SendUnicastQuery
	*SendUnicastBody
}
    type SendUnicastRes ¶
type SendUnicastRes struct {
	// REQUIRED
	ResponseMetadata SendUnicastResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED; 仅在请求成功时返回消息 "success",表示服务端成功接收到消息,失败时为空。
	Result SendUnicastResResult `json:"Result"`
}
    type SendUnicastResResponseMetadata ¶
type SendUnicastResResponseMetadata 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 *SendUnicastResResponseMetadataError `json:"Error,omitempty"`
}
    type SendUnicastResResponseMetadataError ¶
type SendUnicastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    SendUnicastResResponseMetadataError - 仅在请求失败时返回。
type SendUnicastResResult ¶
type SendUnicastResResult struct {
	// REQUIRED; 仅在请求成功时返回消息 Success,失败时为空。
	Message string `json:"Message"`
}
    SendUnicastResResult - 仅在请求成功时返回消息 "success",表示服务端成功接收到消息,失败时为空。
type StartDetection ¶
type StartDetection struct{}
    type StartDetectionBody ¶
type StartDetectionBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// 回调地址 开启审核后,如果可能存在违规信息,此地址会收到违规信息回调。如果地址无效或为空,审核会继续,但不会收到违规信息的回调结果。
	Callback *string `json:"Callback,omitempty"`
	// 回调种类。
	// * 0:违规回调
	// * 1:全部回调。 默认值为 0。
	CallbackType *int32 `json:"CallbackType,omitempty"`
	// 每段音频切片的时长,范围为[1000,600000]。单位 ms。默认值为20000。该参数不建议设置过大,如果设置过大, 会出现审核延迟的问题,且造成最后一段切片计费误差向上取整偏大。
	Duration *int32 `json:"Duration,omitempty"`
	// 任务最大空闲超时时间。如果指定的用户停止推流或素材间隔过长,导致素材接收不到,那么审核任务会在空闲时间超过设定值后自动停止。值的范围为[1,10800],单位为秒。默认值为180。
	IdleSec *int32 `json:"IdleSec,omitempty"`
	// 相邻截图之间的间隔时间,范围为[100,600000]。单位 ms。默认值为2000。
	Interval *int32 `json:"Interval,omitempty"`
	// 进行审核的内容类型:
	// * 1:视频截图;
	// * 2:音频切片;
	// * 3:视频截图+音频切片(默认值)
	// > 视频截图:审核过程中,RTC 会按照设定的时间间隔,进行周期性截图,并对截图进行审核。若出现违规信息,会返回审核结果。 音频切片:审核过程中,RTC 会按设定的音频切片时长,保存每段音频切片,并对切片进行审核。若出现违规信息,会返回审核结果。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 用户 ID,要审核的用户ID。若不填,则审核房间内所有推流用户。最多可以审核 17 路流。
	// * 如果先发起单流审核 再发起房间级审核,会发起房间级审核并停止单流审核;
	// * 如果先发起房间级审核,再发起单流审核,会引发错误,提示:已有审核进行中;
	// * 如果先发起单流音频审核和单流视频审核,再发起房间音频审核,会合并单流音频审核到房间音频审核,单流视频审核无变化;
	// * 如果先发起单流音频审核和单流视频审核,再发起房间音频审核,之后又发起房间音视频审核,会合并所有审核到房间音视频审核。
	UserID *string `json:"UserId,omitempty"`
}
    type StartDetectionQuery ¶
type StartDetectionQuery struct{}
    type StartDetectionReq ¶
type StartDetectionReq struct {
	*StartDetectionQuery
	*StartDetectionBody
}
    type StartDetectionRes ¶
type StartDetectionRes struct {
	// REQUIRED
	ResponseMetadata StartDetectionResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result StartDetectionResResult `json:"Result"`
}
    type StartDetectionResResponseMetadata ¶
type StartDetectionResResponseMetadata 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 *StartDetectionResResponseMetadataError `json:"Error,omitempty"`
}
    type StartDetectionResResponseMetadataError ¶
type StartDetectionResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartDetectionResResponseMetadataError - 仅在请求失败时返回。
type StartDetectionResResult ¶
type StartDetectionResResult struct {
	// REQUIRED; 仅在请求成功时返回"success",失败时为空
	Message string `json:"Message"`
}
    type StartPushMixedStreamToCDN ¶
type StartPushMixedStreamToCDN struct{}
    type StartPushMixedStreamToCDNBody ¶
type StartPushMixedStreamToCDNBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 推流 CDN 地址。仅支持 RTMP 协议。
	PushURL string `json:"PushURL"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 合流转推任务 ID。你必须对每个合流转推任务设定 TaskId,且在后续进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 控制选项
	Control        *StartPushMixedStreamToCDNBodyControl        `json:"Control,omitempty"`
	Encode         *StartPushMixedStreamToCDNBodyEncode         `json:"Encode,omitempty"`
	ExcludeStreams *StartPushMixedStreamToCDNBodyExcludeStreams `json:"ExcludeStreams,omitempty"`
	Layout         *StartPushMixedStreamToCDNBodyLayout         `json:"Layout,omitempty"`
	TargetStreams  *StartPushMixedStreamToCDNBodyTargetStreams  `json:"TargetStreams,omitempty"`
}
    type StartPushMixedStreamToCDNBodyControl ¶
type StartPushMixedStreamToCDNBodyControl struct {
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系:
	// 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10, 86400], 默认值为 180。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// (仅对录制有效)最大录制时长,单位为秒。默认值为 0。0 表示不限制录制时长。
	MaxRecordTime *int32 `json:"MaxRecordTime,omitempty"`
	// 流的类型,用于全局控制订阅的流的类型。默认值为0,可以取0和1。0表示音视频,1表示纯音频,暂不支持纯视频。值不合法时,自动调整为默认值。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 转推直播推流模式,用于控制触发推流的时机。取值为0或1。默认值为0。
	// * 0:房间内有用户推 RTC 流时即触发 CDN 推流。
	// * 1:调用接口发起推流任务后,无论房间内是否有用户推 RTC 流,均可触发 CDN 推流。 值不合法时,自动调整为默认值。
	// 任务超时逻辑不变,依然是无用户推流即判定为超时。
	PushStreamMode *int32                                             `json:"PushStreamMode,omitempty"`
	SpatialConfig  *StartPushMixedStreamToCDNBodyControlSpatialConfig `json:"SpatialConfig,omitempty"`
	// (仅对转推直播有效)有效说话音量大小。取值范围为[0,255],默认值为0。
	TalkVolume *int32 `json:"TalkVolume,omitempty"`
	// (仅对转推直播有效)用户说话音量的回调间隔,单位为秒,取值范围为[1,∞],默认值为 2。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// (仅对转推直播有效)是否开启音量指示模式。默认值为 false。
	// 若 VolumeIndicationMode = true 的同时设置 MediaType = 1,该流推向 CDN 地址时,服务端会补黑帧。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    StartPushMixedStreamToCDNBodyControl - 控制选项
type StartPushMixedStreamToCDNBodyControlSpatialConfig ¶
type StartPushMixedStreamToCDNBodyControlSpatialConfig struct {
	// 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
	AudienceSpatialOrientation *StartPushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation `json:"AudienceSpatialOrientation,omitempty"`
	// 观众所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	AudienceSpatialPosition []*int32 `json:"AudienceSpatialPosition,omitempty"`
	// 是否开启空间音频处理功能。
	// * false:关闭。
	// * true:开启
	EnableSpatialRender *bool `json:"EnableSpatialRender,omitempty"`
}
    type StartPushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation ¶
type StartPushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation struct {
	// 头顶朝向
	Forward []*float32 `json:"Forward,omitempty"`
	// 右边朝向
	Right []*float32 `json:"Right,omitempty"`
	// 前方朝向
	Up []*float32 `json:"Up,omitempty"`
}
    StartPushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation - 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
type StartPushMixedStreamToCDNBodyEncode ¶
type StartPushMixedStreamToCDNBodyEncode struct {
	// 音频码率。取值范围为 [32,192],单位为 Kbps,默认值为 64,值不合法时,自动调整为默认值。 当AudioProfile=0时: 若输入参数取值范围为 [32,192],编码码率等于输入码率。
	// 当AudioProfile=1且 AudioChannels = 1 时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	// 当AudioProfile=1且 AudioChannels = 2 时:
	// * 若输入参数取值范围为 [32,128],编码码率等于输入码率。
	// * 若输入参数取值范围为 [128,192],编码码率固定为128。
	// 当AudioProfile=2时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
	// 音频声道数。
	// * 1:单声道
	// * 2:双声道。 默认值为 2。值不合法时,自动调整为默认值。
	AudioChannels *int32 `json:"AudioChannels,omitempty"`
	// 音频编码协议。默认值为 0,此时使用 aac 编码协议。目前只支持 aac。值不合法时,自动调整为默认值。
	AudioCodec *int32 `json:"AudioCodec,omitempty"`
	// 音频配置文件类型,在使用 aac 编码时生效。取值范围为 {0, 1, 2}。- 0 :采用 LC 规格;
	// * 1: 采用 HE-AAC v1 规格;
	// * 2: 采用 HE-AAC v2 规格。取 2 时,只支持输出流音频声道数为双声道。 默认值为 0。
	AudioProfile *int32 `json:"AudioProfile,omitempty"`
	// 音频采样率。默认值 48000,取值为 [32000,44100,48000],单位是 Hz。值不合法时,自动调整为默认值。
	AudioSampleRate *int32 `json:"AudioSampleRate,omitempty"`
	// 输出视频码率。取值范围 [1,10000],单位为 Kbps,默认值为自适应。值不合法时,自动调整为默认值。 自适应码率模式下,RTC 默认不会设置超高码率。如果订阅屏幕流,建议自行设置高码率。不同场景下设置码率等视频发布参数,请参考设置视频发布参数
	// [70122#videoprofiles]。
	VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
	// 视频编码协议。默认值为 0,可以取 0 或 1。取 0 时使用 H.264,取 1 时使用 ByteVC1 编码器。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出视频帧率。默认为 15,取值范围为 [1,60]。值不合法时,自动调整为默认值。
	VideoFps *int32 `json:"VideoFps,omitempty"`
	// 输出视频 GOP。默认为 4,取值范围为 [1,5],单位为秒。值不合法时,自动调整为默认值。
	VideoGop *int32 `json:"VideoGop,omitempty"`
	// 输出画面的高度,范围为[2, 1920],必须是偶数,默认值为480。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面高度以 canvas 中的 Height 为主。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 输出画面的宽度。默认值为640,范围为 [2, 1920],必须是偶数。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面宽度以 canvas 中的 Width 为主。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type StartPushMixedStreamToCDNBodyExcludeStreams ¶
type StartPushMixedStreamToCDNBodyExcludeStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartPushMixedStreamToCDNBodyExcludeStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartPushMixedStreamToCDNBodyExcludeStreamsStreamListItem ¶
type StartPushMixedStreamToCDNBodyExcludeStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartPushMixedStreamToCDNBodyLayout ¶
type StartPushMixedStreamToCDNBodyLayout struct {
	CustomLayout *StartPushMixedStreamToCDNBodyLayoutCustomLayout `json:"CustomLayout,omitempty"`
	// 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [1167930#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [1167930#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [1167930#horizontal]
	LayoutMode      *int32                                              `json:"LayoutMode,omitempty"`
	MainVideoStream *StartPushMixedStreamToCDNBodyLayoutMainVideoStream `json:"MainVideoStream,omitempty"`
	// 在垂直布局模式下生效,指定主画面流的属性。如果此参数为空,则主画面为随机的一路流。该参数已废弃,当前版本 MainVideoStreamIndex 依然可用,但我们强烈建议你使用 MainVideoStream 参数。如果你同时指定了 MainVideoStream
	// 和 MainVideoStreamIndex 的值,此时只有 MainVideoStream 生效。
	MainVideoStreamIndex *int32 `json:"MainVideoStreamIndex,omitempty"`
}
    type StartPushMixedStreamToCDNBodyLayoutCustomLayout ¶
type StartPushMixedStreamToCDNBodyLayoutCustomLayout struct {
	Canvas *StartPushMixedStreamToCDNBodyLayoutCustomLayoutCanvas `json:"Canvas,omitempty"`
	// 在自定义布局模式下,你可以使用 Regions 对每一路视频流进行画面布局设置。其中,每个 Region 对一路视频流进行画面布局设置。 自定义布局模式下,对于 StreamList 中的每个 Stream,Regions 中都需要给出对应的布局信息,否则会返回请求不合法的错误。即
	// Regions.Region.StreamIndex 要与
	// TargetStreams.StreamList.Stream.Index 的值一一对应,否则自定义布局设置失败,返回 InvalidParameter 错误码。
	// > 当传入的必填参数值不合法时,返回错误码 InvalidParameter 。 当传入的选填参数值不合法时,自动调整为默认值。
	Regions []*StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem `json:"Regions,omitempty"`
}
    type StartPushMixedStreamToCDNBodyLayoutCustomLayoutCanvas ¶
type StartPushMixedStreamToCDNBodyLayoutCustomLayoutCanvas struct {
	// 整体屏幕(画布)的背景色,用十六进制颜色码(HEX)表示。例如,#FFFFFF 表示纯白,#000000 表示纯黑。默认值为 #000000。值不合法时,自动调整为默认值。
	Background *string `json:"Background,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 整体屏幕(画布)的高度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 480。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 整体屏幕(画布)的宽度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 640。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem ¶
type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流的标识。这个标志应和 TargetStreams.StreamList.Stream.Index 对应。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为 (0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。值不合法时,自动调整为默认值。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 补位图片的 url。长度不超过 1024 个字符串。
	// * 在 Region.StreamIndex 对应的视频流没有发布,或被暂停采集时,AlternateImage 对应的图片会填充 Region 对应的画布空间。当视频流被采集并发布时,AlternateImage 不造成任何影响。
	// * 可以传入的图片的格式包括:JPG, JPEG, PNG。
	// * 当图片和画布尺寸不一致时,图片根据 RenderMode 的设置,在画布中进行渲染。
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 画面的渲染模式。
	// * 0:按照用户原始视频帧比例进行缩放
	// * 1:保持图片原有比例
	// 默认值为 0。值不合法时,自动调整为默认值。
	AlternateImageFillMode *int32 `json:"AlternateImageFillMode,omitempty"`
	// 该路流对应的用户是否开启空间音频效果。
	// * true:开启空间音频效果。
	// * false:关闭空间音频效果。
	// 默认值为 true
	ApplySpatialAudio *bool `json:"ApplySpatialAudio,omitempty"`
	// 转推直播下边框圆角半径与画布宽度的比例值,取值范围为 (0,1]。圆角半径的像素位不能超过 Region 宽高最小值的一半,否则不会出现圆角效果。
	CornerRadius *float32 `json:"CornerRadius,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, Canvas.Width)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	// 视频流对应区域左上角的实际坐标是通过画面尺寸和相对位置比例相乘,并四舍五入取整得到的。假如,画布尺寸为1920, 视频流对应区域左上角的横坐标相对整体画面的比例为 0.33,那么该画布左上角的横坐标为 634(1920*0.33=633.6,四舍五入取整)。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面左上角原点的纵向位移,取值的范围为 [0.0, Canvas.Height)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 该路流参与混流的媒体类型。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	// 默认值为 0。值不合法时,自动调整为默认值。
	// 假如该路流为音视频流,MediaType设为1,则只混入音频内容。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:
	// * 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 值不合法时,自动调整为默认值。
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	// 不同渲染模式下,效果如下:
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 空间音频下,房间内指定用户所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	SpatialPosition []*int32 `json:"SpatialPosition,omitempty"`
	// 当多个流的画面有重叠时,使用此参数设置指定画面的图层顺序。取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。值不合法时,自动调整为默认值。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    StartPushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type StartPushMixedStreamToCDNBodyLayoutMainVideoStream ¶
type StartPushMixedStreamToCDNBodyLayoutMainVideoStream struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartPushMixedStreamToCDNBodyTargetStreams ¶
type StartPushMixedStreamToCDNBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartPushMixedStreamToCDNBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartPushMixedStreamToCDNBodyTargetStreamsStreamListItem ¶
type StartPushMixedStreamToCDNBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartPushMixedStreamToCDNQuery ¶
type StartPushMixedStreamToCDNQuery struct{}
    type StartPushMixedStreamToCDNReq ¶
type StartPushMixedStreamToCDNReq struct {
	*StartPushMixedStreamToCDNQuery
	*StartPushMixedStreamToCDNBody
}
    type StartPushMixedStreamToCDNRes ¶
type StartPushMixedStreamToCDNRes struct {
	// REQUIRED
	ResponseMetadata StartPushMixedStreamToCDNResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                      `json:"Result,omitempty"`
}
    type StartPushMixedStreamToCDNResResponseMetadata ¶
type StartPushMixedStreamToCDNResResponseMetadata 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 *StartPushMixedStreamToCDNResResponseMetadataError `json:"Error,omitempty"`
}
    type StartPushMixedStreamToCDNResResponseMetadataError ¶
type StartPushMixedStreamToCDNResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartPushMixedStreamToCDNResResponseMetadataError - 仅在请求失败时返回。
type StartPushPublicStream ¶
type StartPushPublicStream struct{}
    type StartPushPublicStreamBody ¶
type StartPushPublicStreamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 公共流 ID。你必须对每路公共流,设定 PublicStreamId 时命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	PublicStreamID string `json:"PublicStreamId"`
	// REQUIRED; 为公共流指定单路或多路媒体流及对应参数,Stream 数组。最高支持 17 路。
	TargetStreams []StartPushPublicStreamBodyTargetStreamsItem `json:"TargetStreams"`
	// 你创建的业务标识
	BusinessID *string                           `json:"BusinessId,omitempty"`
	Control    *StartPushPublicStreamBodyControl `json:"Control,omitempty"`
	Encode     *StartPushPublicStreamBodyEncode  `json:"Encode,omitempty"`
	// 你可以通过本参数排除掉不需要包含在公共流中的音视频流,即黑名单。参数默认为空。黑名单中的流不得超过 17 路。此参数中的 stream 不应和 TargetStreams 中重复。
	ExcludeStreams []*StartPushPublicStreamBodyExcludeStreamsItem `json:"ExcludeStreams,omitempty"`
	Layout         *StartPushPublicStreamBodyLayout               `json:"Layout,omitempty"`
	// 公共流处理模式。0:转码。1:转封装。
	// 当 TranscodeMode=1 时,
	// * TargetStreams 只能指定一路流,且该路流的 UserId不能为空,需为对应房间用户的 UserId。
	// * ExcludeStreams 必须为空。
	// * Encode.VideoConfig 设置不生效。
	// * Layout 设置不生效。
	TranscodeMode *int32 `json:"TranscodeMode,omitempty"`
}
    type StartPushPublicStreamBodyControl ¶
type StartPushPublicStreamBodyControl struct {
	// 插入公共流的自定义信息,可用于随流信息同步,长度不超过 4 kB。 数据会添加到当前视频帧开始的连续 30 个视频帧中。 只在调用UpdatePublicStreamParam时有效。
	DataMsg *string `json:"DataMsg,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为[10, 86400],默认值为180。只在调用StartPushPublicStream时有效。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// 房间用户发布状态回调间隔,仅在纯音频时生效。单位为毫秒,默认值为 2000,取值范围为 [1000,2147483647]。 值不合法时自动调整为默认值。
	StreamPublishStatsInterval *int32 `json:"StreamPublishStatsInterval,omitempty"`
	// 是否开启房间用户发布状态回调,仅在纯音频时触发。开启后会通过onPublicStreamDataMessageReceived回调。
	// * true:开启房间用户发布状态回调。
	// * false:不开启房间用户发布状态回调。 默认值为false。
	StreamPublishStatsMode *bool `json:"StreamPublishStatsMode,omitempty"`
	// 房间用户采集状态回调间隔,仅在纯音频时生效。单位为毫秒,默认值为2000,取值范围为[1000,2147483647]。 值不合法时自动调整为默认值。
	UserCaptureStatsInterval *int32 `json:"UserCaptureStatsInterval,omitempty"`
	// 是否开启房间用户采集状态回调。开启后会通过onPublicStreamDataMessageReceived回调。
	// * true:开启房间用户采集状态回调。
	// * false:不开启房间用户采集状态回调。 默认值为false。
	UserCaptureStatsMode *bool `json:"UserCaptureStatsMode,omitempty"`
	// 音量指示的回调间隔。单位为毫秒,最小值为100,默认值为2000。 值不合法时自动调整为默认值。
	// VideoConfig.FrameRate大于 10 fps 时,回调间隔才能达到 100ms。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// 是否开启音量指示模式。
	// * true:开启音量提示。
	// * false:不开启音量提示。 默认值为false。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    type StartPushPublicStreamBodyEncode ¶
type StartPushPublicStreamBodyEncode struct {
	// 视频编码配置
	VideoConfig *StartPushPublicStreamBodyEncodeVideoConfig `json:"VideoConfig,omitempty"`
}
    type StartPushPublicStreamBodyEncodeVideoConfig ¶
type StartPushPublicStreamBodyEncodeVideoConfig struct {
	// 最高输出视频码率。取值范围[**0,10000**],单位为 Kbps,默认值0,为0时表示自适应码率。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 输出视频帧率。默认为15,取值范围为 [1,60]。单位 fps
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 输出画面的高度,默认值为 480。范围为 [16, 1920],必须是偶数。
	Height *int32 `json:"Height,omitempty"`
	// 视频编码协议。可取值为0或5,默认值为0。
	// * 0:H.264。
	// * 5:VP8。 如果选择 VP8 格式,请先联系火山技术支持配置。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出画面的宽度。默认值为 640,范围为 [16, 1920],必须是偶数。
	Width *int32 `json:"Width,omitempty"`
}
    StartPushPublicStreamBodyEncodeVideoConfig - 视频编码配置
type StartPushPublicStreamBodyExcludeStreamsItem ¶
type StartPushPublicStreamBodyExcludeStreamsItem struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type StartPushPublicStreamBodyLayout ¶
type StartPushPublicStreamBodyLayout struct {
	// REQUIRED; 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [https://www.volcengine.com/docs/6348/115995#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [https://www.volcengine.com/docs/6348/115995#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [https://www.volcengine.com/docs/6348/115995#horizontal]
	LayoutMode     int32                                          `json:"LayoutMode"`
	CustomLayout   *StartPushPublicStreamBodyLayoutCustomLayout   `json:"CustomLayout,omitempty"`
	VerticalLayout *StartPushPublicStreamBodyLayoutVerticalLayout `json:"VerticalLayout,omitempty"`
}
    type StartPushPublicStreamBodyLayoutCustomLayout ¶
type StartPushPublicStreamBodyLayoutCustomLayout struct {
	// REQUIRED; 自定义布局下,多路视频配置
	Regions []StartPushPublicStreamBodyLayoutCustomLayoutRegionsItem `json:"Regions"`
	// 背整体屏幕(画布)的背景色,格式为 #RGB(16进制),默认值为 #000000(黑色), 范围为 #000000 ~ #ffffff (大小写均可)。值不合法时,自动调整为默认值。
	// 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundColor *string `json:"BackgroundColor,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。
	// 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系: 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
}
    type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItem ¶
type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流标识。
	// StreamIndex 即 Stream.Index,用来指定布局设置将被应用到哪路流。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为(0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 占位图片的 url
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, 1.0),默认值为 0。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的纵坐标相对整体画面的比例,取值的范围为 [0.0, 1.0),默认值为 0。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:- 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。值不合法时,自动调整为默认值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *StartPushPublicStreamBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 当画面有重叠时,使用此参数设置指定画面的图层顺序,取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type StartPushPublicStreamBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    StartPushPublicStreamBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type StartPushPublicStreamBodyLayoutVerticalLayout ¶
type StartPushPublicStreamBodyLayoutVerticalLayout struct {
	MainStream *StartPushPublicStreamBodyLayoutVerticalLayoutMainStream `json:"MainStream,omitempty"`
}
    type StartPushPublicStreamBodyLayoutVerticalLayoutMainStream ¶
type StartPushPublicStreamBodyLayoutVerticalLayoutMainStream struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type StartPushPublicStreamBodyTargetStreamsItem ¶
type StartPushPublicStreamBodyTargetStreamsItem struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type StartPushPublicStreamQuery ¶
type StartPushPublicStreamQuery struct{}
    type StartPushPublicStreamReq ¶
type StartPushPublicStreamReq struct {
	*StartPushPublicStreamQuery
	*StartPushPublicStreamBody
}
    type StartPushPublicStreamRes ¶
type StartPushPublicStreamRes struct {
	// REQUIRED
	ResponseMetadata StartPushPublicStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                  `json:"Result,omitempty"`
}
    type StartPushPublicStreamResResponseMetadata ¶
type StartPushPublicStreamResResponseMetadata 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 *StartPushPublicStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type StartPushPublicStreamResResponseMetadataError ¶
type StartPushPublicStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartPushPublicStreamResResponseMetadataError - 仅在请求失败时返回。
type StartPushSingleStreamToCDN ¶
type StartPushSingleStreamToCDN struct{}
    type StartPushSingleStreamToCDNBody ¶
type StartPushSingleStreamToCDNBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED
	Control StartPushSingleStreamToCDNBodyControl `json:"Control"`
	// REQUIRED; 推流地址。目前仅支持 rtmp 协议
	PushURL string `json:"PushURL"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED
	Stream StartPushSingleStreamToCDNBodyStream `json:"Stream"`
	// REQUIRED; 转推任务 ID。你必须对每个转推任务设定 TaskId,且在后续进行任务结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
}
    type StartPushSingleStreamToCDNQuery ¶
type StartPushSingleStreamToCDNQuery struct{}
    type StartPushSingleStreamToCDNReq ¶
type StartPushSingleStreamToCDNReq struct {
	*StartPushSingleStreamToCDNQuery
	*StartPushSingleStreamToCDNBody
}
    type StartPushSingleStreamToCDNRes ¶
type StartPushSingleStreamToCDNRes struct {
	// REQUIRED
	ResponseMetadata StartPushSingleStreamToCDNResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                       `json:"Result,omitempty"`
}
    type StartPushSingleStreamToCDNResResponseMetadata ¶
type StartPushSingleStreamToCDNResResponseMetadata 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 *StartPushSingleStreamToCDNResResponseMetadataError `json:"Error,omitempty"`
}
    type StartPushSingleStreamToCDNResResponseMetadataError ¶
type StartPushSingleStreamToCDNResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartPushSingleStreamToCDNResResponseMetadataError - 仅在请求失败时返回。
type StartRecord ¶
type StartRecord struct{}
    type StartRecordBody ¶
type StartRecordBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 云端录制任务 ID。你必须对每个云端录制任务设定 TaskId,且在后续进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// REQUIRED; 火山引擎视频点播 VOD [https://www.volcengine.com/product/vod] 服务的配置信息,用于存储录制结果。
	Vod StartRecordBodyVod `json:"Vod"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 控制选项
	Control        *StartRecordBodyControl        `json:"Control,omitempty"`
	Encode         *StartRecordBodyEncode         `json:"Encode,omitempty"`
	ExcludeStreams *StartRecordBodyExcludeStreams `json:"ExcludeStreams,omitempty"`
	Layout         *StartRecordBodyLayout         `json:"Layout,omitempty"`
	// 自定义录制文件名模式,具体参看自定义录制文件名 [106873]。
	RecordFileNamePattern *string `json:"RecordFileNamePattern,omitempty"`
	// 使用此参数设定录制模式:单流/合流录制。0 表示合流录制,1 表示单流录制。默认值为 0。
	RecordMode    *int32                        `json:"RecordMode,omitempty"`
	TargetStreams *StartRecordBodyTargetStreams `json:"TargetStreams,omitempty"`
}
    type StartRecordBodyControl ¶
type StartRecordBodyControl struct {
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系:
	// 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10, 86400], 默认值为 180。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// (仅对录制有效)最大录制时长,单位为秒。默认值为 0。0 表示不限制录制时长。
	MaxRecordTime *int32 `json:"MaxRecordTime,omitempty"`
	// 流的类型,用于全局控制订阅的流的类型。默认值为0,可以取0和1。0表示音视频,1表示纯音频,暂不支持纯视频。值不合法时,自动调整为默认值。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 转推直播推流模式,用于控制触发推流的时机。取值为0或1。默认值为0。
	// * 0:房间内有用户推 RTC 流时即触发 CDN 推流。
	// * 1:调用接口发起推流任务后,无论房间内是否有用户推 RTC 流,均可触发 CDN 推流。 值不合法时,自动调整为默认值。
	// 任务超时逻辑不变,依然是无用户推流即判定为超时。
	PushStreamMode *int32                               `json:"PushStreamMode,omitempty"`
	SpatialConfig  *StartRecordBodyControlSpatialConfig `json:"SpatialConfig,omitempty"`
	// (仅对转推直播有效)有效说话音量大小。取值范围为[0,255],默认值为0。
	TalkVolume *int32 `json:"TalkVolume,omitempty"`
	// (仅对转推直播有效)用户说话音量的回调间隔,单位为秒,取值范围为[1,∞],默认值为 2。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// (仅对转推直播有效)是否开启音量指示模式。默认值为 false。
	// 若 VolumeIndicationMode = true 的同时设置 MediaType = 1,该流推向 CDN 地址时,服务端会补黑帧。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    StartRecordBodyControl - 控制选项
type StartRecordBodyControlSpatialConfig ¶
type StartRecordBodyControlSpatialConfig struct {
	// 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
	AudienceSpatialOrientation *StartRecordBodyControlSpatialConfigAudienceSpatialOrientation `json:"AudienceSpatialOrientation,omitempty"`
	// 观众所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	AudienceSpatialPosition []*int32 `json:"AudienceSpatialPosition,omitempty"`
	// 是否开启空间音频处理功能。
	// * false:关闭。
	// * true:开启
	EnableSpatialRender *bool `json:"EnableSpatialRender,omitempty"`
}
    type StartRecordBodyControlSpatialConfigAudienceSpatialOrientation ¶
type StartRecordBodyControlSpatialConfigAudienceSpatialOrientation struct {
	// 头顶朝向
	Forward []*float32 `json:"Forward,omitempty"`
	// 右边朝向
	Right []*float32 `json:"Right,omitempty"`
	// 前方朝向
	Up []*float32 `json:"Up,omitempty"`
}
    StartRecordBodyControlSpatialConfigAudienceSpatialOrientation - 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
type StartRecordBodyEncode ¶
type StartRecordBodyEncode struct {
	// 音频码率。取值范围为 [32,192],单位为 Kbps,默认值为 64,值不合法时,自动调整为默认值。 当AudioProfile=0时: 若输入参数取值范围为 [32,192],编码码率等于输入码率。
	// 当AudioProfile=1且 AudioChannels = 1 时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	// 当AudioProfile=1且 AudioChannels = 2 时:
	// * 若输入参数取值范围为 [32,128],编码码率等于输入码率。
	// * 若输入参数取值范围为 [128,192],编码码率固定为128。
	// 当AudioProfile=2时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
	// 音频声道数。
	// * 1:单声道
	// * 2:双声道。 默认值为 2。值不合法时,自动调整为默认值。
	AudioChannels *int32 `json:"AudioChannels,omitempty"`
	// 音频编码协议。默认值为 0,此时使用 aac 编码协议。目前只支持 aac。值不合法时,自动调整为默认值。
	AudioCodec *int32 `json:"AudioCodec,omitempty"`
	// 音频配置文件类型,在使用 aac 编码时生效。取值范围为 {0, 1, 2}。- 0 :采用 LC 规格;
	// * 1: 采用 HE-AAC v1 规格;
	// * 2: 采用 HE-AAC v2 规格。取 2 时,只支持输出流音频声道数为双声道。 默认值为 0。
	AudioProfile *int32 `json:"AudioProfile,omitempty"`
	// 音频采样率。默认值 48000,取值为 [32000,44100,48000],单位是 Hz。值不合法时,自动调整为默认值。
	AudioSampleRate *int32 `json:"AudioSampleRate,omitempty"`
	// 输出视频码率。取值范围 [1,10000],单位为 Kbps,默认值为自适应。值不合法时,自动调整为默认值。 自适应码率模式下,RTC 默认不会设置超高码率。如果订阅屏幕流,建议自行设置高码率。不同场景下设置码率等视频发布参数,请参考设置视频发布参数
	// [70122#videoprofiles]。
	VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
	// 视频编码协议。默认值为 0,可以取 0 或 1。取 0 时使用 H.264,取 1 时使用 ByteVC1 编码器。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出视频帧率。默认为 15,取值范围为 [1,60]。值不合法时,自动调整为默认值。
	VideoFps *int32 `json:"VideoFps,omitempty"`
	// 输出视频 GOP。默认为 4,取值范围为 [1,5],单位为秒。值不合法时,自动调整为默认值。
	VideoGop *int32 `json:"VideoGop,omitempty"`
	// 输出画面的高度,范围为[2, 1920],必须是偶数,默认值为480。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面高度以 canvas 中的 Height 为主。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 输出画面的宽度。默认值为640,范围为 [2, 1920],必须是偶数。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面宽度以 canvas 中的 Width 为主。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type StartRecordBodyExcludeStreams ¶
type StartRecordBodyExcludeStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartRecordBodyExcludeStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartRecordBodyExcludeStreamsStreamListItem ¶
type StartRecordBodyExcludeStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartRecordBodyLayout ¶
type StartRecordBodyLayout struct {
	CustomLayout *StartRecordBodyLayoutCustomLayout `json:"CustomLayout,omitempty"`
	// 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [1167930#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [1167930#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [1167930#horizontal]
	LayoutMode      *int32                                `json:"LayoutMode,omitempty"`
	MainVideoStream *StartRecordBodyLayoutMainVideoStream `json:"MainVideoStream,omitempty"`
	// 在垂直布局模式下生效,指定主画面流的属性。如果此参数为空,则主画面为随机的一路流。该参数已废弃,当前版本 MainVideoStreamIndex 依然可用,但我们强烈建议你使用 MainVideoStream 参数。如果你同时指定了 MainVideoStream
	// 和 MainVideoStreamIndex 的值,此时只有 MainVideoStream 生效。
	MainVideoStreamIndex *int32 `json:"MainVideoStreamIndex,omitempty"`
}
    type StartRecordBodyLayoutCustomLayout ¶
type StartRecordBodyLayoutCustomLayout struct {
	Canvas *StartRecordBodyLayoutCustomLayoutCanvas `json:"Canvas,omitempty"`
	// 在自定义布局模式下,你可以使用 Regions 对每一路视频流进行画面布局设置。其中,每个 Region 对一路视频流进行画面布局设置。 自定义布局模式下,对于 StreamList 中的每个 Stream,Regions 中都需要给出对应的布局信息,否则会返回请求不合法的错误。即
	// Regions.Region.StreamIndex 要与
	// TargetStreams.StreamList.Stream.Index 的值一一对应,否则自定义布局设置失败,返回 InvalidParameter 错误码。
	// > 当传入的必填参数值不合法时,返回错误码 InvalidParameter 。 当传入的选填参数值不合法时,自动调整为默认值。
	Regions []*StartRecordBodyLayoutCustomLayoutRegionsItem `json:"Regions,omitempty"`
}
    type StartRecordBodyLayoutCustomLayoutCanvas ¶
type StartRecordBodyLayoutCustomLayoutCanvas struct {
	// 整体屏幕(画布)的背景色,用十六进制颜色码(HEX)表示。例如,#FFFFFF 表示纯白,#000000 表示纯黑。默认值为 #000000。值不合法时,自动调整为默认值。
	Background *string `json:"Background,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 整体屏幕(画布)的高度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 480。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 整体屏幕(画布)的宽度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 640。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type StartRecordBodyLayoutCustomLayoutRegionsItem ¶
type StartRecordBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流的标识。这个标志应和 TargetStreams.StreamList.Stream.Index 对应。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为 (0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。值不合法时,自动调整为默认值。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 补位图片的 url。长度不超过 1024 个字符串。
	// * 在 Region.StreamIndex 对应的视频流没有发布,或被暂停采集时,AlternateImage 对应的图片会填充 Region 对应的画布空间。当视频流被采集并发布时,AlternateImage 不造成任何影响。
	// * 可以传入的图片的格式包括:JPG, JPEG, PNG。
	// * 当图片和画布尺寸不一致时,图片根据 RenderMode 的设置,在画布中进行渲染。
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 画面的渲染模式。
	// * 0:按照用户原始视频帧比例进行缩放
	// * 1:保持图片原有比例
	// 默认值为 0。值不合法时,自动调整为默认值。
	AlternateImageFillMode *int32 `json:"AlternateImageFillMode,omitempty"`
	// 该路流对应的用户是否开启空间音频效果。
	// * true:开启空间音频效果。
	// * false:关闭空间音频效果。
	// 默认值为 true
	ApplySpatialAudio *bool `json:"ApplySpatialAudio,omitempty"`
	// 转推直播下边框圆角半径与画布宽度的比例值,取值范围为 (0,1]。圆角半径的像素位不能超过 Region 宽高最小值的一半,否则不会出现圆角效果。
	CornerRadius *float32 `json:"CornerRadius,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, Canvas.Width)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	// 视频流对应区域左上角的实际坐标是通过画面尺寸和相对位置比例相乘,并四舍五入取整得到的。假如,画布尺寸为1920, 视频流对应区域左上角的横坐标相对整体画面的比例为 0.33,那么该画布左上角的横坐标为 634(1920*0.33=633.6,四舍五入取整)。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面左上角原点的纵向位移,取值的范围为 [0.0, Canvas.Height)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 该路流参与混流的媒体类型。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	// 默认值为 0。值不合法时,自动调整为默认值。
	// 假如该路流为音视频流,MediaType设为1,则只混入音频内容。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:
	// * 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 值不合法时,自动调整为默认值。
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	// 不同渲染模式下,效果如下:
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *StartRecordBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 空间音频下,房间内指定用户所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	SpatialPosition []*int32 `json:"SpatialPosition,omitempty"`
	// 当多个流的画面有重叠时,使用此参数设置指定画面的图层顺序。取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。值不合法时,自动调整为默认值。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type StartRecordBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type StartRecordBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    StartRecordBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type StartRecordBodyLayoutMainVideoStream ¶
type StartRecordBodyLayoutMainVideoStream struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartRecordBodyTargetStreams ¶
type StartRecordBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartRecordBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartRecordBodyTargetStreamsStreamListItem ¶
type StartRecordBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartRecordBodyVod ¶
type StartRecordBodyVod struct {
	// 平台账号ID,例如:200000000。查看路径:控制台->账号管理->主账号信息。
	// * 火山引擎平台账号 ID 查看路径:控制台->账号管理->账号信息 
	//
	//
	// * 此账号 ID 为火山引擎主账号 ID。
	//
	//
	// * 若你调用 OpenAPI 鉴权过程中使用的 AK、SK 为子用户 AK、SK,账号 ID 也必须为火山引擎主账号 ID,不能使用子用户账号 ID。
	AccountID *string `json:"AccountId,omitempty"`
	// 用于存储录制结果的点播空间名。
	Space *string `json:"Space,omitempty"`
}
    StartRecordBodyVod - 火山引擎视频点播 VOD [https://www.volcengine.com/product/vod] 服务的配置信息,用于存储录制结果。
type StartRecordQuery ¶
type StartRecordQuery struct{}
    type StartRecordReq ¶
type StartRecordReq struct {
	*StartRecordQuery
	*StartRecordBody
}
    type StartRecordRes ¶
type StartRecordRes struct {
	// REQUIRED
	ResponseMetadata StartRecordResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                        `json:"Result,omitempty"`
}
    type StartRecordResResponseMetadata ¶
type StartRecordResResponseMetadata 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 *StartRecordResResponseMetadataError `json:"Error,omitempty"`
}
    type StartRecordResResponseMetadataError ¶
type StartRecordResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartRecordResResponseMetadataError - 仅在请求失败时返回。
type StartRelayStream ¶
type StartRelayStream struct{}
    type StartRelayStreamBody ¶
type StartRelayStreamBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED
	Control StartRelayStreamBodyControl `json:"Control"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 任务 ID。你必须对每个任务设定 TaskId,且在后续进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// REQUIRED; 客户端与业务服务端进行通讯时用于身份认证的 token 值
	Token string `json:"Token"`
	// REQUIRED; 在线媒体流对应的的 UserId
	UserID string `json:"UserId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 任务的空闲超时时间。超过此时间后,任务自动终止。值的范围为 [5, 600] ,单位为秒。默认值为300。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
}
    type StartRelayStreamBodyControl ¶
type StartRelayStreamBodyControl struct {
	// REQUIRED; 在线流媒体地址。媒体格式应为:hls、rtmp、mp4、flv、dash、或 ts。如源流为海外,建议联系技术支持,以保障最佳体验。
	StreamURL string `json:"StreamUrl"`
	// 最大发送码率,单位为 Kbps,不填则不限制,转码时生效。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 发送帧率,值的范围为[1,30],默认值为15,转码时生效。
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 是否循环播放,仅对源流为点播流时生效。
	Loop *bool `json:"Loop,omitempty"`
	// 媒体类型。
	// * 0:音视频
	// * 1:音频。采用此选项时,必须是 AAC 或 Opus 编码。
	// * 2:视频 默认值为0。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 任务起始时间戳,用于定时播放,Unix时间,单位为秒。默认为 0,表示立即启动。此参数仅对 StartRelayStream接口生效。
	StartTimeStamp *int32 `json:"StartTimeStamp,omitempty"`
	// 流处理模式。
	// * 0:转码。采用此选项时,原视频编码方式必须是 H.264 或 ByteVC1。
	// * 1:转封装。采用此选项时,原视频编码方式必须是 H.264。转封装时,源流的视频关键帧间隔若过大,会影响 RTC 体验,建议 1s,但最大不超过 5s。 默认值为0。
	StreamMode *int32 `json:"StreamMode,omitempty"`
	// 视频高度,转码时必填。单位为像素,范围为 [16, 1920],必须是偶数,值为奇数时自动调整为偶数。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 视频宽度。转码时必填,单位为像素,范围为 [16, 1920],必须是偶数,值为奇数时自动调整为偶数。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type StartRelayStreamQuery ¶
type StartRelayStreamQuery struct{}
    type StartRelayStreamReq ¶
type StartRelayStreamReq struct {
	*StartRelayStreamQuery
	*StartRelayStreamBody
}
    type StartRelayStreamRes ¶
type StartRelayStreamRes struct {
	// REQUIRED
	ResponseMetadata StartRelayStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                             `json:"Result,omitempty"`
}
    type StartRelayStreamResResponseMetadata ¶
type StartRelayStreamResResponseMetadata 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 *StartRelayStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type StartRelayStreamResResponseMetadataError ¶
type StartRelayStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartRelayStreamResResponseMetadataError - 仅在请求失败时返回。
type StartSegment ¶
type StartSegment struct{}
    type StartSegmentBody ¶
type StartSegmentBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 截图任务 ID。你可以自行设定TaskId以区分不同的切片任务,且在后续更新和结束任务时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// REQUIRED
	TosConfig StartSegmentBodyTosConfig `json:"TosConfig"`
	// 业务标识。添加 BusinessId 后,你可以在控制台上查看根据 BusinessId 划分的质量和用量数据。
	BusinessID *string `json:"BusinessId,omitempty"`
	// 切片高级功能
	Control *StartSegmentBodyControl `json:"Control,omitempty"`
	// 每个音频切片的时长。单位为秒。范围为[1, 600],默认值为20秒。值不合法时,自动调整为默认值。
	Duration *int32 `json:"Duration,omitempty"`
	// 是否在开启音视频切片时,立刻开始切片。 true 为在开启音视频切片时,立刻开启切片;false 时,在开启音视频切片时,不开始切片,热启动任务。 默认值为true。
	Handle *bool `json:"Handle,omitempty"`
	// 自定义文件前缀。 切片文件名由 Identifier + UserId + 时间戳 + 序号组成。默认情况下 Identifier 为 随机生成的 UUID。在自定义文件名时,Identifier 的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}。
	// 在自定义文件名时,你需确保 Identifier 命名全局唯一,否则在 TOS 平台会因文件名重复被覆盖。
	Identifier *string `json:"Identifier,omitempty"`
	// 任务最大的空闲超时时间。如果切片任务订阅的所有流都已停止发布,那么任务会在空闲时间超过设定值后自动停止。值的范围为[1, 86400] ,单位为秒。默认值为 180秒。值不合法时,自动调整为默认值。
	MaxIdleTime   *int32                         `json:"MaxIdleTime,omitempty"`
	TargetStreams *StartSegmentBodyTargetStreams `json:"TargetStreams,omitempty"`
}
    type StartSegmentBodyControl ¶
type StartSegmentBodyControl struct {
	// Align 是音频切片对齐功能的开关,默认为 False。你可以使用音频切片对齐功能,对齐各个用户音频切片的开始和结束时刻。
	// * 当 Align=False 时,关闭音频切片对齐。在某个切片周期中,如果用户有发送音频流的行为,即生成音频切片。如果用户在切片的周期中,有部分时间未发布音频,返回的音频切片时长会小于切片周期。各个用户音频切片开始时间不一定一致。
	// * 当 Align=True 时,开启音频切片对齐。在某个切片周期中,如果用户有发送音频流的行为,即生成音频切片。切片长度和切片周期相等,且各个用户音频切片开始的时间一致。如果用户在切片的周期中,有部分时间未发布音频,切片长度不变,这段时间呈现静音帧。如果用户在某个切片周期中始终没有发布音频,则不生成音频切片。
	Align *bool `json:"Align,omitempty"`
	// 是否忽略静音切片。默认值为 false。
	IgnoreSilence *bool `json:"IgnoreSilence,omitempty"`
	// Mixed 是音频切片合流功能的开关。默认为 False。
	// * 当 Mixed=False 时,只会对 TargetStreams 中指定的音频流分别切片。
	//
	//
	// * 当 Mixed=True 时,除了会对 TargetStreams 中指定的音频流分别切片,还会对指定的音频流进行混音,生成合流切片,合流切片对应的用户名为 mixed。此时,任务创建后,不管是否有人上麦,会持续回调混音切片。
	//
	// 不同平台的回调参看:
	//
	//
	// 操作 ANDROID API IOS API WINDOWS API
	// 本地麦克风录制和远端所有用户混音后的音频数据回调 onMixedAudioFrame [70081#onmixedaudioframe] onMixedAudioFrame: [70087#onmixedaudioframe] onMixedAudioFrame
	// [70096#onmixedaudioframe]
	Mixed *bool `json:"Mixed,omitempty"`
	// 冗余切片时长,单位为秒。 当前服务端按照传入的Duration值进行固定时长切片,可能存在敏感词被截断,未被识别的情况。此时你可以添加冗余切片,即上一段切片的末尾指定时长,来避免此情况,此时切片的时长变为RedundantDuration
	// + Duration。 例如:当 Duration = 20,redundantDuration = 3 时,最终输出的前三个文件时长为:[0-20],
	// [17-40], [37-60]。
	RedundantDuration *int32 `json:"RedundantDuration,omitempty"`
}
    StartSegmentBodyControl - 切片高级功能
type StartSegmentBodyTargetStreams ¶
type StartSegmentBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartSegmentBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartSegmentBodyTargetStreamsStreamListItem ¶
type StartSegmentBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartSegmentBodyTosConfig ¶
type StartSegmentBodyTosConfig struct {
	// REQUIRED; 存储桶名称。
	Bucket string `json:"Bucket"`
	// REQUIRED; Bucket 对应的访问域名。参看 地域和访问域名 [https://www.volcengine.com/docs/6349/107356]。
	// 该 API 下 EndPoint 只支持 S3 Endpoint 外网域名。
	EndPoint string `json:"EndPoint"`
	// REQUIRED; Bucket 所在地域对应的 Region ID。参看 地域和访问域名 [https://www.volcengine.com/docs/6349/107356]。
	Region string `json:"Region"`
	// REQUIRED; 火山引擎平台账号 ID,例如:200000000。
	// * 火山引擎平台账号 ID 查看路径:控制台->账号管理->账号信息 
	//
	//
	// * 此账号 ID 为火山引擎主账号 ID。
	//
	//
	// * 若你调用 OpenAPI 鉴权过程中使用的 AK、SK 为子用户 AK、SK,账号 ID 也必须为火山引擎主账号 ID,不能使用子用户账号 ID。
	UserAccountID string `json:"UserAccountId"`
}
    type StartSegmentQuery ¶
type StartSegmentQuery struct{}
    type StartSegmentReq ¶
type StartSegmentReq struct {
	*StartSegmentQuery
	*StartSegmentBody
}
    type StartSegmentRes ¶
type StartSegmentRes struct {
	// REQUIRED
	ResponseMetadata StartSegmentResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                         `json:"Result,omitempty"`
}
    type StartSegmentResResponseMetadata ¶
type StartSegmentResResponseMetadata 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 *StartSegmentResResponseMetadataError `json:"Error,omitempty"`
}
    type StartSegmentResResponseMetadataError ¶
type StartSegmentResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartSegmentResResponseMetadataError - 仅在请求失败时返回。
type StartSnapshot ¶
type StartSnapshot struct{}
    type StartSnapshotBody ¶
type StartSnapshotBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 截图任务 ID。你可以自行设定TaskId以区分不同的切片任务,且在后续进行任务更新和结束时也须使用该 TaskId。关于 TaskId 的详细说明,参看备注 1 。 关于 TaskId 及以上 Id 字段的命名规则,参看
	// ID [69835#____id]。
	TaskID string `json:"TaskId"`
	// REQUIRED
	TosConfig StartSnapshotBodyTosConfig `json:"TosConfig"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 图片的相关配置:图片格式,尺寸和截图间隔时间。
	ImageConfig *StartSnapshotBodyImageConfig `json:"ImageConfig,omitempty"`
	// 任务最大的空闲超时时间。如果抽帧截图任务订阅的所有流都已停止发布,那么任务会在空闲时间超过设定值后自动停止。值的范围为[1, 86400] ,单位为秒。默认值为 180秒。值不合法时,自动调整为默认值。
	MaxIdleTime   *int32                          `json:"MaxIdleTime,omitempty"`
	TargetStreams *StartSnapshotBodyTargetStreams `json:"TargetStreams,omitempty"`
}
    type StartSnapshotBodyImageConfig ¶
type StartSnapshotBodyImageConfig struct {
	// 图片的格式。值可取0或1,默认为0。选择0时,图片格式为 .jpeg;选择1时,图片格式为 .png。默认值为0。值不合法时,自动调整为默认值。
	Format *int32 `json:"Format,omitempty"`
	// 实际使用视频帧的高度,单位为 px,取值范围为[0, 1080],默认值为0,此时,和视频流的实际高度相同。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 相邻截图之间的间隔时间,单位为 秒,取值范围为[1, 600],默认值为2。值不合法时,自动调整为默认值。
	Interval *int32 `json:"Interval,omitempty"`
	// 实际使用视频帧的宽度,单位为 px,取值范围为[0, 1920]。默认值为0,此时,和视频流的实际宽度相同。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    StartSnapshotBodyImageConfig - 图片的相关配置:图片格式,尺寸和截图间隔时间。
type StartSnapshotBodyTargetStreams ¶
type StartSnapshotBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*StartSnapshotBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type StartSnapshotBodyTargetStreamsStreamListItem ¶
type StartSnapshotBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type StartSnapshotBodyTosConfig ¶
type StartSnapshotBodyTosConfig struct {
	// REQUIRED; 存储桶名称。
	Bucket string `json:"Bucket"`
	// REQUIRED; Bucket 对应的访问域名。参看 地域和访问域名 [https://www.volcengine.com/docs/6349/107356]。
	// 该 API 下 EndPoint 只支持 S3 Endpoint 外网域名。
	EndPoint string `json:"EndPoint"`
	// REQUIRED; Bucket 所在地域对应的 Region ID。参看 地域和访问域名 [https://www.volcengine.com/docs/6349/107356]。
	Region string `json:"Region"`
	// REQUIRED; 火山引擎平台账号 ID,例如:200000000。
	// * 火山引擎平台账号 ID 查看路径:控制台->账号管理->账号信息 
	//
	//
	// * 此账号 ID 为火山引擎主账号 ID。
	//
	//
	// * 若你调用 OpenAPI 鉴权过程中使用的 AK、SK 为子用户 AK、SK,账号 ID 也必须为火山引擎主账号 ID,不能使用子用户账号 ID。
	UserAccountID string `json:"UserAccountId"`
}
    type StartSnapshotQuery ¶
type StartSnapshotQuery struct{}
    type StartSnapshotReq ¶
type StartSnapshotReq struct {
	*StartSnapshotQuery
	*StartSnapshotBody
}
    type StartSnapshotRes ¶
type StartSnapshotRes struct {
	// REQUIRED
	ResponseMetadata StartSnapshotResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                          `json:"Result,omitempty"`
}
    type StartSnapshotResResponseMetadata ¶
type StartSnapshotResResponseMetadata 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 *StartSnapshotResResponseMetadataError `json:"Error,omitempty"`
}
    type StartSnapshotResResponseMetadataError ¶
type StartSnapshotResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartSnapshotResResponseMetadataError - 仅在请求失败时返回。
type StartWBRecord ¶
type StartWBRecord struct{}
    type StartWBRecordBody ¶
type StartWBRecordBody struct {
	// REQUIRED; 应用的唯一标志。你可以通过控制台 [https://console.volcengine.com/rtc/listRTC]查看和复制你的 app_id。或通过调用ListApps [https://www.volcengine.com/docs/6348/74489]接口获取。
	AppID string `json:"AppId"`
	// REQUIRED; 需要录制的白板房间 ID,同一个 appId 中,为每个房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 录制任务 ID。你可以自行设定 TaskId 以区分不同的白板录制任务。 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// REQUIRED; 任务发起方的用户 ID。不能与房间中其他用户的 ID 重复,否则先进房的用户会被移出房间。
	UserID string `json:"UserId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 自定义 UI 的 Web 页面地址。 不填表示使用默认白板页面。
	SourceURL *string `json:"SourceURL,omitempty"`
}
    type StartWBRecordQuery ¶
type StartWBRecordQuery struct{}
    type StartWBRecordReq ¶
type StartWBRecordReq struct {
	*StartWBRecordQuery
	*StartWBRecordBody
}
    type StartWBRecordRes ¶
type StartWBRecordRes struct {
	// REQUIRED
	ResponseMetadata StartWBRecordResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result interface{} `json:"Result,omitempty"`
}
    type StartWBRecordResResponseMetadata ¶
type StartWBRecordResResponseMetadata 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 *StartWBRecordResResponseMetadataError `json:"Error,omitempty"`
}
    type StartWBRecordResResponseMetadataError ¶
type StartWBRecordResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartWBRecordResResponseMetadataError - 仅在请求失败时返回。
type StartWebcast ¶
type StartWebcast struct{}
    type StartWebcastBody ¶
type StartWebcastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 向指定 RTC 房间推送网页音视频内容,房间 ID 是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 需要转推的网页地址,可以携带自定义的 queryParams 来鉴权等,总体长度不超过 1024。
	SourceURL string `json:"SourceURL"`
	// REQUIRED; 任务 ID。你必须对每个云录屏任务设定 TaskId,且在后续结束任务时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// REQUIRED; 推送网页音视频内容的用户对应的 UserId。不能与房间中其他用户的 ID 重复,否则先进房的用户会被移出房间。 建议添加有规律的前缀,避免重复。例如, webcast_。
	UserID string `json:"UserId"`
	// 业务标识
	BusinessID        *string                            `json:"BusinessId,omitempty"`
	EventNotifyConfig *StartWebcastBodyEventNotifyConfig `json:"EventNotifyConfig,omitempty"`
	// 最大运行时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10,86400],默认值为 86400。不填时自动调整为默认值。
	MaxRunningTime *int32                         `json:"MaxRunningTime,omitempty"`
	MonitorConfig  *StartWebcastBodyMonitorConfig `json:"MonitorConfig,omitempty"`
	// 输出流的视频参数。网页渲染分辨率为输入最大视频流的分辨率。该值为空时按默认值填充一路。
	// * 当设置一路流时,不会输出多路流,输出流参数与设置值相同。
	// * 当设置两路流时, RTC 会启动推送多路流 [70139]功能,设置的两路分辨率相当于分辨率等级划分中的大流和中流的上限。
	VideoSolutions []*StartWebcastBodyVideoSolutionsItem `json:"VideoSolutions,omitempty"`
}
    type StartWebcastBodyEventNotifyConfig ¶
type StartWebcastBodyEventNotifyConfig struct {
	// 是否启用页面主动事件通知, 默认值为false。
	// * false:页面在打开后就会开始采集,在收到 StopWebCast openAPI 请求后结束采集。
	// * true:在页面中注入两个 JS 函数:onWebcastStart()和 onWebcastEnd()。
	// 当页面判断资源加载完成之后调用onWebcastStart(),控制程序才会开始进行页面内容的采集。当页面判断本次任务内容已完成时调用onWebcastEnd() 通知控制程序结束本次任务。StopWebCast openAPI 效果不变,业务可提前结束任务。其他页面内容、JS
	// 线程的检测(若启用),将在收到 onWebcastStart()事件后才开始。
	// 当启用页面主动事件通知后,你可以参考以下示例代码来通知采集开始。
	// <script>
	// if (ready() && typeof onWebcastStart === 'function')
	// onWebcastStart();
	// </script>
	EnableEventNotify *bool `json:"EnableEventNotify,omitempty"`
	// 启用页面主动事件通知后,等待开始事件的超时时间。取值范围为[0,60],单位为秒。默认值为0,表示不启用。仅当 EnableEventNotify 为 true 时,此参数有效。
	// * 当在超时时间内收到开始事件,采集功能正常运行,用户将收到 Status=1的回调。
	// * 当超时时间内未收到开始事件,将进行刷新,等待时间被重置,再次发生超时后将进行任务重调度。刷新时将回调 Status=4,Reason=" StartEventTimeout"。重调度时将回调 Status=5,Reason="StartEventTimeout"。
	StartTimeout *int32 `json:"StartTimeout,omitempty"`
}
    type StartWebcastBodyMonitorConfig ¶
type StartWebcastBodyMonitorConfig struct {
	// 对页面是否白屏的检测间隔。取值范围为[2,30],单位为秒。默认值为0,表示不启用。
	// * 当连续两次出现检测命中时,将对页面进行刷新,并回调Status=4,Reason="PageBlank" 。
	// * 再次出现连续两次检测命中时将进行任务重调度,并回调Status=5,Reason="PageBlank"。
	// 注意:页面全白可能是您业务的正常场景,请谨慎评估页面实际内容情况后再开启此功能,以免任务提前退出。
	BlankCheckInterval *int32 `json:"BlankCheckInterval,omitempty"`
	// 对页面 JS 线程是否崩溃/卡死的检测间隔。 取值范围为[0,30],单位为秒。默认值为0,表示不启用。
	// 当出现检测命中时将进行任务重调度,并回调 Status=5,Reason="PageCrash"。
	CrashCheckInterval *int32 `json:"CrashCheckInterval,omitempty"`
	// 对页面内容是否无变化的检测间隔。取值范围为[2,30],单位为秒。默认值为0,表示不启用。
	// * 当连续两次出现检测命中时,将对页面进行刷新,并回调Status=4,Reason="PageFreeze"。
	// * 再次出现连续两次检测命中时,将进行任务重调度,并回调Status=5,Reason="PageFreeze"。
	// 注意:页面无变化可能是您业务的正常场景,请谨慎评估页面实际内容情况后再开启此功能,以免任务提前退出。
	FreezeCheckInterval *int32 `json:"FreezeCheckInterval,omitempty"`
}
    type StartWebcastBodyVideoSolutionsItem ¶
type StartWebcastBodyVideoSolutionsItem struct {
	// 最大发送码率,取值范围为[0,10000],单位为 Kbps,默认值 0,为 0 时表示自适应码率。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 发送帧率,单位为 帧/秒,范围为[1,60],默认值为 15。帧率和码率设置建议参照视频发布参数对照表 [70122#param]以获取最佳体验。
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 视频高度,单位为像素,范围为 [50,1080],默认值为 720。必须是偶数,值为奇数时自动调整为偶数。
	Height *int32 `json:"Height,omitempty"`
	// 视频宽度,单位为像素,范围为 [50,1920],默认值为 1280。必须是偶数,值为奇数时自动调整为偶数。
	Width *int32 `json:"Width,omitempty"`
}
    type StartWebcastQuery ¶
type StartWebcastQuery struct{}
    type StartWebcastReq ¶
type StartWebcastReq struct {
	*StartWebcastQuery
	*StartWebcastBody
}
    type StartWebcastRes ¶
type StartWebcastRes struct {
	// REQUIRED
	ResponseMetadata StartWebcastResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result interface{} `json:"Result,omitempty"`
}
    type StartWebcastResResponseMetadata ¶
type StartWebcastResResponseMetadata 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 *StartWebcastResResponseMetadataError `json:"Error,omitempty"`
}
    type StartWebcastResResponseMetadataError ¶
type StartWebcastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StartWebcastResResponseMetadataError - 仅在请求失败时返回。
type StopDetection ¶
type StopDetection struct{}
    type StopDetectionBody ¶
type StopDetectionQuery ¶
type StopDetectionQuery struct{}
    type StopDetectionReq ¶
type StopDetectionReq struct {
	*StopDetectionQuery
	*StopDetectionBody
}
    type StopDetectionRes ¶
type StopDetectionRes struct {
	// REQUIRED
	ResponseMetadata StopDetectionResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result StopDetectionResResult `json:"Result"`
}
    type StopDetectionResResponseMetadata ¶
type StopDetectionResResponseMetadata 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 *StopDetectionResResponseMetadataError `json:"Error,omitempty"`
}
    type StopDetectionResResponseMetadataError ¶
type StopDetectionResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopDetectionResResponseMetadataError - 仅在请求失败时返回。
type StopDetectionResResult ¶
type StopDetectionResResult struct {
	// REQUIRED; 仅在请求成功时返回"success",失败时为空。
	Message string `json:"Message"`
}
    type StopPushPublicStream ¶
type StopPushPublicStream struct{}
    type StopPushPublicStreamQuery ¶
type StopPushPublicStreamQuery struct{}
    type StopPushPublicStreamReq ¶
type StopPushPublicStreamReq struct {
	*StopPushPublicStreamQuery
	*StopPushPublicStreamBody
}
    type StopPushPublicStreamRes ¶
type StopPushPublicStreamRes struct {
	// REQUIRED
	ResponseMetadata StopPushPublicStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                 `json:"Result,omitempty"`
}
    type StopPushPublicStreamResResponseMetadata ¶
type StopPushPublicStreamResResponseMetadata 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 *StopPushPublicStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type StopPushPublicStreamResResponseMetadataError ¶
type StopPushPublicStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopPushPublicStreamResResponseMetadataError - 仅在请求失败时返回。
type StopPushStreamToCDN ¶
type StopPushStreamToCDN struct{}
    type StopPushStreamToCDNBody ¶
type StopPushStreamToCDNBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 转推任务 ID。你必须对每个转推任务设定 TaskId,且在进行任务结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
}
    type StopPushStreamToCDNQuery ¶
type StopPushStreamToCDNQuery struct{}
    type StopPushStreamToCDNReq ¶
type StopPushStreamToCDNReq struct {
	*StopPushStreamToCDNQuery
	*StopPushStreamToCDNBody
}
    type StopPushStreamToCDNRes ¶
type StopPushStreamToCDNRes struct {
	// REQUIRED
	ResponseMetadata StopPushStreamToCDNResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                `json:"Result,omitempty"`
}
    type StopPushStreamToCDNResResponseMetadata ¶
type StopPushStreamToCDNResResponseMetadata 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 *StopPushStreamToCDNResResponseMetadataError `json:"Error,omitempty"`
}
    type StopPushStreamToCDNResResponseMetadataError ¶
type StopPushStreamToCDNResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopPushStreamToCDNResResponseMetadataError - 仅在请求失败时返回。
type StopRecord ¶
type StopRecord struct{}
    type StopRecordBody ¶
type StopRecordBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 云端录制任务 ID。你必须对每个云端录制任务设定 TaskId,且在进行结束任务时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
}
    type StopRecordQuery ¶
type StopRecordQuery struct{}
    type StopRecordReq ¶
type StopRecordReq struct {
	*StopRecordQuery
	*StopRecordBody
}
    type StopRecordRes ¶
type StopRecordRes struct {
	// REQUIRED
	ResponseMetadata StopRecordResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                       `json:"Result,omitempty"`
}
    type StopRecordResResponseMetadata ¶
type StopRecordResResponseMetadata 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 *StopRecordResResponseMetadataError `json:"Error,omitempty"`
}
    type StopRecordResResponseMetadataError ¶
type StopRecordResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopRecordResResponseMetadataError - 仅在请求失败时返回。
type StopRelayStream ¶
type StopRelayStream struct{}
    type StopRelayStreamBody ¶
type StopRelayStreamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 任务 ID。你必须对每个任务设定 TaskId,且在进行结束任务时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
}
    type StopRelayStreamQuery ¶
type StopRelayStreamQuery struct{}
    type StopRelayStreamReq ¶
type StopRelayStreamReq struct {
	*StopRelayStreamQuery
	*StopRelayStreamBody
}
    type StopRelayStreamRes ¶
type StopRelayStreamRes struct {
	// REQUIRED
	ResponseMetadata StopRelayStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                            `json:"Result,omitempty"`
}
    type StopRelayStreamResResponseMetadata ¶
type StopRelayStreamResResponseMetadata 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 *StopRelayStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type StopRelayStreamResResponseMetadataError ¶
type StopRelayStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopRelayStreamResResponseMetadataError - 仅在请求失败时返回。
type StopSegment ¶
type StopSegment struct{}
    type StopSegmentBody ¶
type StopSegmentQuery ¶
type StopSegmentQuery struct{}
    type StopSegmentReq ¶
type StopSegmentReq struct {
	*StopSegmentQuery
	*StopSegmentBody
}
    type StopSegmentRes ¶
type StopSegmentRes struct {
	// REQUIRED
	ResponseMetadata StopSegmentResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                        `json:"Result,omitempty"`
}
    type StopSegmentResResponseMetadata ¶
type StopSegmentResResponseMetadata 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 *StopSegmentResResponseMetadataError `json:"Error,omitempty"`
}
    type StopSegmentResResponseMetadataError ¶
type StopSegmentResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopSegmentResResponseMetadataError - 仅在请求失败时返回。
type StopSnapshot ¶
type StopSnapshot struct{}
    type StopSnapshotBody ¶
type StopSnapshotBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 云端录制任务 ID。你必须对每个云端录制任务设定 TaskId,且在后续进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
}
    type StopSnapshotQuery ¶
type StopSnapshotQuery struct{}
    type StopSnapshotReq ¶
type StopSnapshotReq struct {
	*StopSnapshotQuery
	*StopSnapshotBody
}
    type StopSnapshotRes ¶
type StopSnapshotRes struct {
	// REQUIRED
	ResponseMetadata StopSnapshotResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                         `json:"Result,omitempty"`
}
    type StopSnapshotResResponseMetadata ¶
type StopSnapshotResResponseMetadata 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 *StopSnapshotResResponseMetadataError `json:"Error,omitempty"`
}
    type StopSnapshotResResponseMetadataError ¶
type StopSnapshotResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopSnapshotResResponseMetadataError - 仅在请求失败时返回。
type StopWBRecord ¶
type StopWBRecord struct{}
    type StopWBRecordBody ¶
type StopWBRecordQuery ¶
type StopWBRecordQuery struct{}
    type StopWBRecordReq ¶
type StopWBRecordReq struct {
	*StopWBRecordQuery
	*StopWBRecordBody
}
    type StopWBRecordRes ¶
type StopWBRecordRes struct {
	// REQUIRED
	ResponseMetadata StopWBRecordResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result interface{} `json:"Result,omitempty"`
}
    type StopWBRecordResResponseMetadata ¶
type StopWBRecordResResponseMetadata 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 *StopWBRecordResResponseMetadataError `json:"Error,omitempty"`
}
    type StopWBRecordResResponseMetadataError ¶
type StopWBRecordResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopWBRecordResResponseMetadataError - 仅在请求失败时返回。
type StopWebcast ¶
type StopWebcast struct{}
    type StopWebcastBody ¶
type StopWebcastBody struct {
	// REQUIRED; 应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 任务 ID。你必须对每个云录屏任务设定 TaskId,且在结束任务时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
}
    type StopWebcastQuery ¶
type StopWebcastQuery struct{}
    type StopWebcastReq ¶
type StopWebcastReq struct {
	*StopWebcastQuery
	*StopWebcastBody
}
    type StopWebcastRes ¶
type StopWebcastRes struct {
	// REQUIRED
	ResponseMetadata StopWebcastResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                        `json:"Result,omitempty"`
}
    type StopWebcastResResponseMetadata ¶
type StopWebcastResResponseMetadata 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 *StopWebcastResResponseMetadataError `json:"Error,omitempty"`
}
    type StopWebcastResResponseMetadataError ¶
type StopWebcastResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    StopWebcastResResponseMetadataError - 仅在请求失败时返回。
type UnbanUserStream ¶
type UnbanUserStream struct{}
    type UnbanUserStreamBody ¶
type UnbanUserStreamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 需要解除封禁用户所属 Token
	Token string `json:"Token"`
	// REQUIRED; 需要被解封音/视频流的用户的 ID
	UserID string `json:"UserId"`
	// 是否解封音频流,置为 true 时,表示解封音频流
	Audio *bool `json:"Audio,omitempty"`
	// 是否解封视频流,置为 true 时,表示解封视频流
	Video *bool `json:"Video,omitempty"`
}
    type UnbanUserStreamQuery ¶
type UnbanUserStreamQuery struct{}
    type UnbanUserStreamReq ¶
type UnbanUserStreamReq struct {
	*UnbanUserStreamQuery
	*UnbanUserStreamBody
}
    type UnbanUserStreamRes ¶
type UnbanUserStreamRes struct {
	// REQUIRED
	ResponseMetadata UnbanUserStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *UnbanUserStreamResResult          `json:"Result,omitempty"`
}
    type UnbanUserStreamResResponseMetadata ¶
type UnbanUserStreamResResponseMetadata 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 *UnbanUserStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type UnbanUserStreamResResponseMetadataError ¶
type UnbanUserStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UnbanUserStreamResResponseMetadataError - 仅在请求失败时返回。
type UnbanUserStreamResResult ¶
type UnbanUserStreamResResult struct {
	// REQUIRED
	Message string `json:"message"`
}
    type UpdateBanRoomUserRule ¶
type UpdateBanRoomUserRule struct{}
    type UpdateBanRoomUserRuleBody ¶
type UpdateBanRoomUserRuleBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// 封禁时长,取值范围为 {0,[10,604800]},单位为秒。 若传入值为空或 0 表示允许用户重新进房。 若传入值小于 10,自动修改为 10。 若传入值大于 604800,自动修改为 604800。
	ForbiddenInterval *int32 `json:"ForbiddenInterval,omitempty"`
	// 指定房间 ID
	RoomID *string `json:"RoomId,omitempty"`
	// 希望封禁用户的 ID
	UserID *string `json:"UserId,omitempty"`
}
    type UpdateBanRoomUserRuleQuery ¶
type UpdateBanRoomUserRuleQuery struct{}
    type UpdateBanRoomUserRuleReq ¶
type UpdateBanRoomUserRuleReq struct {
	*UpdateBanRoomUserRuleQuery
	*UpdateBanRoomUserRuleBody
}
    type UpdateBanRoomUserRuleRes ¶
type UpdateBanRoomUserRuleRes struct {
	// REQUIRED
	ResponseMetadata UpdateBanRoomUserRuleResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result UpdateBanRoomUserRuleResResult `json:"Result"`
}
    type UpdateBanRoomUserRuleResResponseMetadata ¶
type UpdateBanRoomUserRuleResResponseMetadata 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 *UpdateBanRoomUserRuleResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateBanRoomUserRuleResResponseMetadataError ¶
type UpdateBanRoomUserRuleResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateBanRoomUserRuleResResponseMetadataError - 仅在请求失败时返回。
type UpdateBanRoomUserRuleResResult ¶
type UpdateBanRoomUserRuleResResult struct {
	// REQUIRED
	Message string `json:"message"`
}
    type UpdateCallback ¶
type UpdateCallback struct{}
    type UpdateCallbackBody ¶
type UpdateCallbackQuery ¶
type UpdateCallbackQuery struct{}
    type UpdateCallbackReq ¶
type UpdateCallbackReq struct {
	*UpdateCallbackQuery
	*UpdateCallbackBody
}
    type UpdateCallbackRes ¶
type UpdateCallbackRes struct {
	// REQUIRED
	ResponseMetadata UpdateCallbackResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result string `json:"Result"`
}
    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 UpdateCallbackResResponseMetadataError ¶
type UpdateCallbackResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateCallbackResResponseMetadataError - 仅在请求失败时返回。
type UpdateFailRecoveryPolicy ¶
type UpdateFailRecoveryPolicy struct{}
    type UpdateFailRecoveryPolicyQuery ¶
type UpdateFailRecoveryPolicyQuery struct{}
    type UpdateFailRecoveryPolicyReq ¶
type UpdateFailRecoveryPolicyReq struct {
	*UpdateFailRecoveryPolicyQuery
	*UpdateFailRecoveryPolicyBody
}
    type UpdateFailRecoveryPolicyRes ¶
type UpdateFailRecoveryPolicyRes struct {
	// REQUIRED
	ResponseMetadata UpdateFailRecoveryPolicyResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *UpdateFailRecoveryPolicyResResult `json:"Result,omitempty"`
}
    type UpdateFailRecoveryPolicyResResponseMetadata ¶
type UpdateFailRecoveryPolicyResResponseMetadata 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 *UpdateFailRecoveryPolicyResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateFailRecoveryPolicyResResponseMetadataError ¶
type UpdateFailRecoveryPolicyResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateFailRecoveryPolicyResResponseMetadataError - 仅在请求失败时返回。
type UpdateFailRecoveryPolicyResResult ¶
type UpdateFailRecoveryPolicyResResult struct {
	// REQUIRED; 更新后的策略的详细信息
	Policy UpdateFailRecoveryPolicyResResultPolicy `json:"Policy"`
}
    UpdateFailRecoveryPolicyResResult - 视请求的接口而定
type UpdateFailRecoveryPolicyResResultPolicy ¶
type UpdateFailRecoveryPolicyResResultPolicy struct {
	// REQUIRED; RTC应用ID
	AppID string `json:"AppID"`
	// REQUIRED; 创建时间(毫秒)
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 故障线路
	FromVendor string `json:"FromVendor"`
	// REQUIRED; 数据条目的ID。后面删除和修改都需要指定该ID
	ID int32 `json:"ID"`
	// REQUIRED; 0~100的整数,故障线路恢复的百分比
	RecoveryPercentage int32 `json:"RecoveryPercentage"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 切换至线路
	ToVendor string `json:"ToVendor"`
	// REQUIRED; 更新时间(毫秒)
	UpdateTime string `json:"UpdateTime"`
}
    UpdateFailRecoveryPolicyResResultPolicy - 更新后的策略的详细信息
type UpdatePublicStreamParam ¶
type UpdatePublicStreamParam struct{}
    type UpdatePublicStreamParamBody ¶
type UpdatePublicStreamParamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 公共流 ID。
	PublicStreamID string `json:"PublicStreamId"`
	// REQUIRED; 为公共流指定单路或多路媒体流及对应参数,Stream 数组。最高支持 17 路。
	TargetStreams []UpdatePublicStreamParamBodyTargetStreamsItem `json:"TargetStreams"`
	// 业务标识
	BusinessID *string                             `json:"BusinessId,omitempty"`
	Control    *UpdatePublicStreamParamBodyControl `json:"Control,omitempty"`
	Encode     *UpdatePublicStreamParamBodyEncode  `json:"Encode,omitempty"`
	// 你可以通过本参数排除掉不需要包含在公共流中的音视频流,即黑名单。参数默认为空。黑名单中的流不得超过 17 路。此参数中的 stream 不应和 TargetStreams 中重复。
	ExcludeStreams []*UpdatePublicStreamParamBodyExcludeStreamsItem `json:"ExcludeStreams,omitempty"`
	Layout         *UpdatePublicStreamParamBodyLayout               `json:"Layout,omitempty"`
	// 公共流处理模式。0:转码。1:转封装。
	// 当 TranscodeMode=1 时,
	// * TargetStreams 只能指定一路流,且该路流的 UserId不能为空,需为对应房间用户的 UserId。
	// * ExcludeStreams 必须为空。
	// * Encode.VideoConfig 设置不生效。
	// * Layout 设置不生效。
	TranscodeMode *int32 `json:"TranscodeMode,omitempty"`
}
    type UpdatePublicStreamParamBodyControl ¶
type UpdatePublicStreamParamBodyControl struct {
	// 插入公共流的自定义信息,可用于随流信息同步,长度不超过 4 kB。 数据会添加到当前视频帧开始的连续 30 个视频帧中。 只在调用UpdatePublicStreamParam时有效。
	DataMsg *string `json:"DataMsg,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为[10, 86400],默认值为180。只在调用StartPushPublicStream时有效。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// 房间用户发布状态回调间隔,仅在纯音频时生效。单位为毫秒,默认值为 2000,取值范围为 [1000,2147483647]。 值不合法时自动调整为默认值。
	StreamPublishStatsInterval *int32 `json:"StreamPublishStatsInterval,omitempty"`
	// 是否开启房间用户发布状态回调,仅在纯音频时触发。开启后会通过onPublicStreamDataMessageReceived回调。
	// * true:开启房间用户发布状态回调。
	// * false:不开启房间用户发布状态回调。 默认值为false。
	StreamPublishStatsMode *bool `json:"StreamPublishStatsMode,omitempty"`
	// 房间用户采集状态回调间隔,仅在纯音频时生效。单位为毫秒,默认值为2000,取值范围为[1000,2147483647]。 值不合法时自动调整为默认值。
	UserCaptureStatsInterval *int32 `json:"UserCaptureStatsInterval,omitempty"`
	// 是否开启房间用户采集状态回调。开启后会通过onPublicStreamDataMessageReceived回调。
	// * true:开启房间用户采集状态回调。
	// * false:不开启房间用户采集状态回调。 默认值为false。
	UserCaptureStatsMode *bool `json:"UserCaptureStatsMode,omitempty"`
	// 音量指示的回调间隔。单位为毫秒,最小值为100,默认值为2000。 值不合法时自动调整为默认值。
	// VideoConfig.FrameRate大于 10 fps 时,回调间隔才能达到 100ms。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// 是否开启音量指示模式。
	// * true:开启音量提示。
	// * false:不开启音量提示。 默认值为false。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    type UpdatePublicStreamParamBodyEncode ¶
type UpdatePublicStreamParamBodyEncode struct {
	// 视频编码配置
	VideoConfig *UpdatePublicStreamParamBodyEncodeVideoConfig `json:"VideoConfig,omitempty"`
}
    type UpdatePublicStreamParamBodyEncodeVideoConfig ¶
type UpdatePublicStreamParamBodyEncodeVideoConfig struct {
	// 最高输出视频码率。取值范围[**0,10000**],单位为 Kbps,默认值0,为0时表示自适应码率。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 输出视频帧率。默认为15,取值范围为 [1,60]。单位 fps
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 输出画面的高度,默认值为 480。范围为 [16, 1920],必须是偶数。
	Height *int32 `json:"Height,omitempty"`
	// 视频编码协议。可取值为0或5,默认值为0。
	// * 0:H.264。
	// * 5:VP8。 如果选择 VP8 格式,请先联系火山技术支持配置。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出画面的宽度。默认值为 640,范围为 [16, 1920],必须是偶数。
	Width *int32 `json:"Width,omitempty"`
}
    UpdatePublicStreamParamBodyEncodeVideoConfig - 视频编码配置
type UpdatePublicStreamParamBodyExcludeStreamsItem ¶
type UpdatePublicStreamParamBodyExcludeStreamsItem struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type UpdatePublicStreamParamBodyLayout ¶
type UpdatePublicStreamParamBodyLayout struct {
	// REQUIRED; 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [https://www.volcengine.com/docs/6348/115995#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [https://www.volcengine.com/docs/6348/115995#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [https://www.volcengine.com/docs/6348/115995#horizontal]
	LayoutMode     int32                                            `json:"LayoutMode"`
	CustomLayout   *UpdatePublicStreamParamBodyLayoutCustomLayout   `json:"CustomLayout,omitempty"`
	VerticalLayout *UpdatePublicStreamParamBodyLayoutVerticalLayout `json:"VerticalLayout,omitempty"`
}
    type UpdatePublicStreamParamBodyLayoutCustomLayout ¶
type UpdatePublicStreamParamBodyLayoutCustomLayout struct {
	// REQUIRED; 自定义布局下,多路视频配置
	Regions []UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItem `json:"Regions"`
	// 背整体屏幕(画布)的背景色,格式为 #RGB(16进制),默认值为 #000000(黑色), 范围为 #000000 ~ #ffffff (大小写均可)。值不合法时,自动调整为默认值。
	// 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundColor *string `json:"BackgroundColor,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。
	// 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系: 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
}
    type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItem ¶
type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流标识。
	// StreamIndex 即 Stream.Index,用来指定布局设置将被应用到哪路流。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为(0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 占位图片的 url
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, 1.0),默认值为 0。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的纵坐标相对整体画面的比例,取值的范围为 [0.0, 1.0),默认值为 0。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:- 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。值不合法时,自动调整为默认值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 当画面有重叠时,使用此参数设置指定画面的图层顺序,取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    UpdatePublicStreamParamBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type UpdatePublicStreamParamBodyLayoutVerticalLayout ¶
type UpdatePublicStreamParamBodyLayoutVerticalLayout struct {
	MainStream *UpdatePublicStreamParamBodyLayoutVerticalLayoutMainStream `json:"MainStream,omitempty"`
}
    type UpdatePublicStreamParamBodyLayoutVerticalLayoutMainStream ¶
type UpdatePublicStreamParamBodyLayoutVerticalLayoutMainStream struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type UpdatePublicStreamParamBodyTargetStreamsItem ¶
type UpdatePublicStreamParamBodyTargetStreamsItem struct {
	// REQUIRED; 发布公共流的用户所在的房间 ID
	RoomID string `json:"RoomId"`
	// 当选择自定义布局模式时,此字段必填。标记同一路公共流中不同的媒体流。 在同一个 TargetStreams 中,Stream.Index 是唯一的。
	Index *int32 `json:"Index,omitempty"`
	// 流的媒体类型。默认值为 0 。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	MediaType *int32 `json:"MediaType,omitempty"`
	// 流类型。默认值为 0。
	// * 0:媒体设备采集到的音视频
	// * 1:屏幕流
	StreamType *int32 `json:"StreamType,omitempty"`
	// 媒体流的发布方的用户 ID。 UserId 为空时,表示订阅房间内所有流。 UserId 需全局唯一。不同房间内的 UserId 不能重复。
	UserID *string `json:"UserId,omitempty"`
}
    type UpdatePublicStreamParamQuery ¶
type UpdatePublicStreamParamQuery struct{}
    type UpdatePublicStreamParamReq ¶
type UpdatePublicStreamParamReq struct {
	*UpdatePublicStreamParamQuery
	*UpdatePublicStreamParamBody
}
    type UpdatePublicStreamParamRes ¶
type UpdatePublicStreamParamRes struct {
	// REQUIRED
	ResponseMetadata UpdatePublicStreamParamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                    `json:"Result,omitempty"`
}
    type UpdatePublicStreamParamResResponseMetadata ¶
type UpdatePublicStreamParamResResponseMetadata 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 *UpdatePublicStreamParamResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdatePublicStreamParamResResponseMetadataError ¶
type UpdatePublicStreamParamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdatePublicStreamParamResResponseMetadataError - 仅在请求失败时返回。
type UpdatePushMixedStreamToCDN ¶
type UpdatePushMixedStreamToCDN struct{}
    type UpdatePushMixedStreamToCDNBody ¶
type UpdatePushMixedStreamToCDNBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 合流转推任务 ID。你必须对每个合流转推任务,设定 TaskId,且在进行任务更新时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 控制选项
	Control *UpdatePushMixedStreamToCDNBodyControl `json:"Control,omitempty"`
	Encode  *UpdatePushMixedStreamToCDNBodyEncode  `json:"Encode,omitempty"`
	// 是否更新部分参数。
	// * False:否。
	// * True:是。
	// 默认值为 False。
	// 开启部分更新后,必须按照参数层级传入,且数组类参数需要传入该数组中所有参数。
	IsUpdatePartialParam *bool                                 `json:"IsUpdatePartialParam,omitempty"`
	Layout               *UpdatePushMixedStreamToCDNBodyLayout `json:"Layout,omitempty"`
	// 更新请求序列号。填写该参数后,服务端会对请求进行校验,请确保最后一次更新请求的序列号大于前一次请求的序列号。
	// 建议更新部分参数场景下传入此参数,以确保服务端按照最新请求进行更新。
	SequenceNumber *int32                                       `json:"SequenceNumber,omitempty"`
	TargetStreams  *UpdatePushMixedStreamToCDNBodyTargetStreams `json:"TargetStreams,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyControl ¶
type UpdatePushMixedStreamToCDNBodyControl struct {
	// 选择补帧模式。默认值为0,可以取0和1。0为补最后一帧,1为补黑帧。值不合法时会自动调整为默认值。
	// 自动布局模式下,没有补帧的逻辑。
	// 补帧是指在音视频录制或合流转推时,视频的帧率通常是固定的。但是,因为网络波动或其他原因,实际帧率可能无法达到预设的帧率。此时,需要补帧以保持视频流畅。补最后一帧意味着补充的视频帧和中断前的最后一帧相同,此时看到的画面可能会有短暂静止;补黑帧意味着补充的视频帧是全黑的。
	// 使用占位图、补帧和上一帧的关系:
	// 你可以在 Region 中传入 Alternateimage 字段设置占位图,在 Control 中传入FrameInterpolationMode 字段设置补帧模式,但占位图优先级高于补帧模式。
	// * 在 Region.StreamIndex 对应的视频流停止发布时, Region 对应的画布空间会根据设置填充占位图或补帧。但当视频流为屏幕流时,补帧模式不生效。
	// * 当 Region.StreamIndex 对应的视频流发布后停止采集或推送时, Region 对应的画布空间会填充上一帧。
	// * 当 Region.StreamIndex 对应的视频流发布时,设置的占位图或补顿模式不造成任何影响。
	FrameInterpolationMode *int32 `json:"FrameInterpolationMode,omitempty"`
	// 任务的空闲超时时间,超过此时间后,任务自动终止。单位为秒。取值范围为 [10, 86400], 默认值为 180。
	MaxIdleTime *int32 `json:"MaxIdleTime,omitempty"`
	// (仅对录制有效)最大录制时长,单位为秒。默认值为 0。0 表示不限制录制时长。
	MaxRecordTime *int32 `json:"MaxRecordTime,omitempty"`
	// 流的类型,用于全局控制订阅的流的类型。默认值为0,可以取0和1。0表示音视频,1表示纯音频,暂不支持纯视频。值不合法时,自动调整为默认值。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 转推直播推流模式,用于控制触发推流的时机。取值为0或1。默认值为0。
	// * 0:房间内有用户推 RTC 流时即触发 CDN 推流。
	// * 1:调用接口发起推流任务后,无论房间内是否有用户推 RTC 流,均可触发 CDN 推流。 值不合法时,自动调整为默认值。
	// 任务超时逻辑不变,依然是无用户推流即判定为超时。
	PushStreamMode *int32                                              `json:"PushStreamMode,omitempty"`
	SpatialConfig  *UpdatePushMixedStreamToCDNBodyControlSpatialConfig `json:"SpatialConfig,omitempty"`
	// (仅对转推直播有效)有效说话音量大小。取值范围为[0,255],默认值为0。
	TalkVolume *int32 `json:"TalkVolume,omitempty"`
	// (仅对转推直播有效)用户说话音量的回调间隔,单位为秒,取值范围为[1,∞],默认值为 2。
	VolumeIndicationInterval *int32 `json:"VolumeIndicationInterval,omitempty"`
	// (仅对转推直播有效)是否开启音量指示模式。默认值为 false。
	// 若 VolumeIndicationMode = true 的同时设置 MediaType = 1,该流推向 CDN 地址时,服务端会补黑帧。
	VolumeIndicationMode *bool `json:"VolumeIndicationMode,omitempty"`
}
    UpdatePushMixedStreamToCDNBodyControl - 控制选项
type UpdatePushMixedStreamToCDNBodyControlSpatialConfig ¶
type UpdatePushMixedStreamToCDNBodyControlSpatialConfig struct {
	// 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
	AudienceSpatialOrientation *UpdatePushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation `json:"AudienceSpatialOrientation,omitempty"`
	// 观众所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	AudienceSpatialPosition []*int32 `json:"AudienceSpatialPosition,omitempty"`
	// 是否开启空间音频处理功能。
	// * false:关闭。
	// * true:开启
	EnableSpatialRender *bool `json:"EnableSpatialRender,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation ¶
type UpdatePushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation struct {
	// 头顶朝向
	Forward []*float32 `json:"Forward,omitempty"`
	// 右边朝向
	Right []*float32 `json:"Right,omitempty"`
	// 前方朝向
	Up []*float32 `json:"Up,omitempty"`
}
    UpdatePushMixedStreamToCDNBodyControlSpatialConfigAudienceSpatialOrientation - 设置观众朝向。各个向量两两垂直,如果传入的值没有保证两两垂直,自动赋予默认值。默认值为:forward = [1, 0, 0], right = [0, 1, 0], up = [0, 0, 1]。
type UpdatePushMixedStreamToCDNBodyEncode ¶
type UpdatePushMixedStreamToCDNBodyEncode struct {
	// 音频码率。取值范围为 [32,192],单位为 Kbps,默认值为 64,值不合法时,自动调整为默认值。 当AudioProfile=0时: 若输入参数取值范围为 [32,192],编码码率等于输入码率。
	// 当AudioProfile=1且 AudioChannels = 1 时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	// 当AudioProfile=1且 AudioChannels = 2 时:
	// * 若输入参数取值范围为 [32,128],编码码率等于输入码率。
	// * 若输入参数取值范围为 [128,192],编码码率固定为128。
	// 当AudioProfile=2时:
	// * 若输入参数取值范围为 [32,64],编码码率等于输入码率。
	// * 若输入参数取值范围为 [64,192],编码码率固定为64。
	AudioBitrate *int32 `json:"AudioBitrate,omitempty"`
	// 音频声道数。
	// * 1:单声道
	// * 2:双声道。 默认值为 2。值不合法时,自动调整为默认值。
	AudioChannels *int32 `json:"AudioChannels,omitempty"`
	// 音频编码协议。默认值为 0,此时使用 aac 编码协议。目前只支持 aac。值不合法时,自动调整为默认值。
	AudioCodec *int32 `json:"AudioCodec,omitempty"`
	// 音频配置文件类型,在使用 aac 编码时生效。取值范围为 {0, 1, 2}。- 0 :采用 LC 规格;
	// * 1: 采用 HE-AAC v1 规格;
	// * 2: 采用 HE-AAC v2 规格。取 2 时,只支持输出流音频声道数为双声道。 默认值为 0。
	AudioProfile *int32 `json:"AudioProfile,omitempty"`
	// 音频采样率。默认值 48000,取值为 [32000,44100,48000],单位是 Hz。值不合法时,自动调整为默认值。
	AudioSampleRate *int32 `json:"AudioSampleRate,omitempty"`
	// 输出视频码率。取值范围 [1,10000],单位为 Kbps,默认值为自适应。值不合法时,自动调整为默认值。 自适应码率模式下,RTC 默认不会设置超高码率。如果订阅屏幕流,建议自行设置高码率。不同场景下设置码率等视频发布参数,请参考设置视频发布参数
	// [70122#videoprofiles]。
	VideoBitrate *int32 `json:"VideoBitrate,omitempty"`
	// 视频编码协议。默认值为 0,可以取 0 或 1。取 0 时使用 H.264,取 1 时使用 ByteVC1 编码器。
	VideoCodec *int32 `json:"VideoCodec,omitempty"`
	// 输出视频帧率。默认为 15,取值范围为 [1,60]。值不合法时,自动调整为默认值。
	VideoFps *int32 `json:"VideoFps,omitempty"`
	// 输出视频 GOP。默认为 4,取值范围为 [1,5],单位为秒。值不合法时,自动调整为默认值。
	VideoGop *int32 `json:"VideoGop,omitempty"`
	// 输出画面的高度,范围为[2, 1920],必须是偶数,默认值为480。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面高度以 canvas 中的 Height 为主。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 输出画面的宽度。默认值为640,范围为 [2, 1920],必须是偶数。值不合法时,自动调整为默认值。自定义布局下此参数不生效,整体画面宽度以 canvas 中的 Width 为主。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyLayout ¶
type UpdatePushMixedStreamToCDNBodyLayout struct {
	CustomLayout *UpdatePushMixedStreamToCDNBodyLayoutCustomLayout `json:"CustomLayout,omitempty"`
	// 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [1167930#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [1167930#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [1167930#horizontal]
	LayoutMode      *int32                                               `json:"LayoutMode,omitempty"`
	MainVideoStream *UpdatePushMixedStreamToCDNBodyLayoutMainVideoStream `json:"MainVideoStream,omitempty"`
	// 在垂直布局模式下生效,指定主画面流的属性。如果此参数为空,则主画面为随机的一路流。该参数已废弃,当前版本 MainVideoStreamIndex 依然可用,但我们强烈建议你使用 MainVideoStream 参数。如果你同时指定了 MainVideoStream
	// 和 MainVideoStreamIndex 的值,此时只有 MainVideoStream 生效。
	MainVideoStreamIndex *int32 `json:"MainVideoStreamIndex,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyLayoutCustomLayout ¶
type UpdatePushMixedStreamToCDNBodyLayoutCustomLayout struct {
	Canvas *UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutCanvas `json:"Canvas,omitempty"`
	// 在自定义布局模式下,你可以使用 Regions 对每一路视频流进行画面布局设置。其中,每个 Region 对一路视频流进行画面布局设置。 自定义布局模式下,对于 StreamList 中的每个 Stream,Regions 中都需要给出对应的布局信息,否则会返回请求不合法的错误。即
	// Regions.Region.StreamIndex 要与
	// TargetStreams.StreamList.Stream.Index 的值一一对应,否则自定义布局设置失败,返回 InvalidParameter 错误码。
	// > 当传入的必填参数值不合法时,返回错误码 InvalidParameter 。 当传入的选填参数值不合法时,自动调整为默认值。
	Regions []*UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem `json:"Regions,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutCanvas ¶
type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutCanvas struct {
	// 整体屏幕(画布)的背景色,用十六进制颜色码(HEX)表示。例如,#FFFFFF 表示纯白,#000000 表示纯黑。默认值为 #000000。值不合法时,自动调整为默认值。
	Background *string `json:"Background,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 整体屏幕(画布)的高度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 480。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 整体屏幕(画布)的宽度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 640。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem ¶
type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流的标识。这个标志应和 TargetStreams.StreamList.Stream.Index 对应。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为 (0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。值不合法时,自动调整为默认值。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 补位图片的 url。长度不超过 1024 个字符串。
	// * 在 Region.StreamIndex 对应的视频流没有发布,或被暂停采集时,AlternateImage 对应的图片会填充 Region 对应的画布空间。当视频流被采集并发布时,AlternateImage 不造成任何影响。
	// * 可以传入的图片的格式包括:JPG, JPEG, PNG。
	// * 当图片和画布尺寸不一致时,图片根据 RenderMode 的设置,在画布中进行渲染。
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 画面的渲染模式。
	// * 0:按照用户原始视频帧比例进行缩放
	// * 1:保持图片原有比例
	// 默认值为 0。值不合法时,自动调整为默认值。
	AlternateImageFillMode *int32 `json:"AlternateImageFillMode,omitempty"`
	// 该路流对应的用户是否开启空间音频效果。
	// * true:开启空间音频效果。
	// * false:关闭空间音频效果。
	// 默认值为 true
	ApplySpatialAudio *bool `json:"ApplySpatialAudio,omitempty"`
	// 转推直播下边框圆角半径与画布宽度的比例值,取值范围为 (0,1]。圆角半径的像素位不能超过 Region 宽高最小值的一半,否则不会出现圆角效果。
	CornerRadius *float32 `json:"CornerRadius,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, Canvas.Width)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	// 视频流对应区域左上角的实际坐标是通过画面尺寸和相对位置比例相乘,并四舍五入取整得到的。假如,画布尺寸为1920, 视频流对应区域左上角的横坐标相对整体画面的比例为 0.33,那么该画布左上角的横坐标为 634(1920*0.33=633.6,四舍五入取整)。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面左上角原点的纵向位移,取值的范围为 [0.0, Canvas.Height)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 该路流参与混流的媒体类型。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	// 默认值为 0。值不合法时,自动调整为默认值。
	// 假如该路流为音视频流,MediaType设为1,则只混入音频内容。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:
	// * 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 值不合法时,自动调整为默认值。
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	// 不同渲染模式下,效果如下:
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 空间音频下,房间内指定用户所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	SpatialPosition []*int32 `json:"SpatialPosition,omitempty"`
	// 当多个流的画面有重叠时,使用此参数设置指定画面的图层顺序。取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。值不合法时,自动调整为默认值。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    UpdatePushMixedStreamToCDNBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type UpdatePushMixedStreamToCDNBodyLayoutMainVideoStream ¶
type UpdatePushMixedStreamToCDNBodyLayoutMainVideoStream struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyTargetStreams ¶
type UpdatePushMixedStreamToCDNBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*UpdatePushMixedStreamToCDNBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type UpdatePushMixedStreamToCDNBodyTargetStreamsStreamListItem ¶
type UpdatePushMixedStreamToCDNBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type UpdatePushMixedStreamToCDNQuery ¶
type UpdatePushMixedStreamToCDNQuery struct{}
    type UpdatePushMixedStreamToCDNReq ¶
type UpdatePushMixedStreamToCDNReq struct {
	*UpdatePushMixedStreamToCDNQuery
	*UpdatePushMixedStreamToCDNBody
}
    type UpdatePushMixedStreamToCDNRes ¶
type UpdatePushMixedStreamToCDNRes struct {
	// REQUIRED
	ResponseMetadata UpdatePushMixedStreamToCDNResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                                       `json:"Result,omitempty"`
}
    type UpdatePushMixedStreamToCDNResResponseMetadata ¶
type UpdatePushMixedStreamToCDNResResponseMetadata 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 *UpdatePushMixedStreamToCDNResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdatePushMixedStreamToCDNResResponseMetadataError ¶
type UpdatePushMixedStreamToCDNResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdatePushMixedStreamToCDNResResponseMetadataError - 仅在请求失败时返回。
type UpdateRecord ¶
type UpdateRecord struct{}
    type UpdateRecordBody ¶
type UpdateRecordBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 云端录制任务 ID。你必须对每个云端录制任务设定 TaskId,且在进行任务更新时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID    *string                        `json:"BusinessId,omitempty"`
	Layout        *UpdateRecordBodyLayout        `json:"Layout,omitempty"`
	TargetStreams *UpdateRecordBodyTargetStreams `json:"TargetStreams,omitempty"`
}
    type UpdateRecordBodyLayout ¶
type UpdateRecordBodyLayout struct {
	CustomLayout *UpdateRecordBodyLayoutCustomLayout `json:"CustomLayout,omitempty"`
	// 布局模式。默认值为0,值的范围为{0, 1, 2, 3}。
	// * 0为自适应布局模式。参看自适应布局 [1167930#adapt]。
	// * 1为垂直布局模式。参看垂直布局 [1167930#vertical]。
	// * 2为自定义布局模式。
	// * 3为并排布局模式。参看并排布局 [1167930#horizontal]
	LayoutMode      *int32                                 `json:"LayoutMode,omitempty"`
	MainVideoStream *UpdateRecordBodyLayoutMainVideoStream `json:"MainVideoStream,omitempty"`
	// 在垂直布局模式下生效,指定主画面流的属性。如果此参数为空,则主画面为随机的一路流。该参数已废弃,当前版本 MainVideoStreamIndex 依然可用,但我们强烈建议你使用 MainVideoStream 参数。如果你同时指定了 MainVideoStream
	// 和 MainVideoStreamIndex 的值,此时只有 MainVideoStream 生效。
	MainVideoStreamIndex *int32 `json:"MainVideoStreamIndex,omitempty"`
}
    type UpdateRecordBodyLayoutCustomLayout ¶
type UpdateRecordBodyLayoutCustomLayout struct {
	Canvas *UpdateRecordBodyLayoutCustomLayoutCanvas `json:"Canvas,omitempty"`
	// 在自定义布局模式下,你可以使用 Regions 对每一路视频流进行画面布局设置。其中,每个 Region 对一路视频流进行画面布局设置。 自定义布局模式下,对于 StreamList 中的每个 Stream,Regions 中都需要给出对应的布局信息,否则会返回请求不合法的错误。即
	// Regions.Region.StreamIndex 要与
	// TargetStreams.StreamList.Stream.Index 的值一一对应,否则自定义布局设置失败,返回 InvalidParameter 错误码。
	// > 当传入的必填参数值不合法时,返回错误码 InvalidParameter 。 当传入的选填参数值不合法时,自动调整为默认值。
	Regions []*UpdateRecordBodyLayoutCustomLayoutRegionsItem `json:"Regions,omitempty"`
}
    type UpdateRecordBodyLayoutCustomLayoutCanvas ¶
type UpdateRecordBodyLayoutCustomLayoutCanvas struct {
	// 整体屏幕(画布)的背景色,用十六进制颜色码(HEX)表示。例如,#FFFFFF 表示纯白,#000000 表示纯黑。默认值为 #000000。值不合法时,自动调整为默认值。
	Background *string `json:"Background,omitempty"`
	// 背景图片的 URL。长度最大为 1024 byte。可以传入的图片的格式包括:JPG, JPEG, PNG。如果背景图片的宽高和整体屏幕的宽高不一致,背景图片会缩放到铺满屏幕。 如果你设置了背景图片,背景图片会覆盖背景色。
	BackgroundImage *string `json:"BackgroundImage,omitempty"`
	// 整体屏幕(画布)的高度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 480。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 整体屏幕(画布)的宽度,单位为像素,范围为 [2, 1920],必须是偶数。默认值为 640。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type UpdateRecordBodyLayoutCustomLayoutRegionsItem ¶
type UpdateRecordBodyLayoutCustomLayoutRegionsItem struct {
	// REQUIRED; 视频流对应区域高度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	HeightProportion float32 `json:"HeightProportion"`
	// REQUIRED; 流的标识。这个标志应和 TargetStreams.StreamList.Stream.Index 对应。
	StreamIndex int32 `json:"StreamIndex"`
	// REQUIRED; 视频流对应区域宽度相对整体画面的比例,取值的范围为 (0.0, 1.0]。
	WidthProportion float32 `json:"WidthProportion"`
	// 画面的透明度,取值范围为 (0.0, 1.0]。0.0 表示完全透明,1.0 表示完全不透明,默认值为 1.0。值不合法时,自动调整为默认值。
	Alpha *float32 `json:"Alpha,omitempty"`
	// 补位图片的 url。长度不超过 1024 个字符串。
	// * 在 Region.StreamIndex 对应的视频流没有发布,或被暂停采集时,AlternateImage 对应的图片会填充 Region 对应的画布空间。当视频流被采集并发布时,AlternateImage 不造成任何影响。
	// * 可以传入的图片的格式包括:JPG, JPEG, PNG。
	// * 当图片和画布尺寸不一致时,图片根据 RenderMode 的设置,在画布中进行渲染。
	AlternateImage *string `json:"AlternateImage,omitempty"`
	// 画面的渲染模式。
	// * 0:按照用户原始视频帧比例进行缩放
	// * 1:保持图片原有比例
	// 默认值为 0。值不合法时,自动调整为默认值。
	AlternateImageFillMode *int32 `json:"AlternateImageFillMode,omitempty"`
	// 该路流对应的用户是否开启空间音频效果。
	// * true:开启空间音频效果。
	// * false:关闭空间音频效果。
	// 默认值为 true
	ApplySpatialAudio *bool `json:"ApplySpatialAudio,omitempty"`
	// 转推直播下边框圆角半径与画布宽度的比例值,取值范围为 (0,1]。圆角半径的像素位不能超过 Region 宽高最小值的一半,否则不会出现圆角效果。
	CornerRadius *float32 `json:"CornerRadius,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为 [0.0, Canvas.Width)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	// 视频流对应区域左上角的实际坐标是通过画面尺寸和相对位置比例相乘,并四舍五入取整得到的。假如,画布尺寸为1920, 视频流对应区域左上角的横坐标相对整体画面的比例为 0.33,那么该画布左上角的横坐标为 634(1920*0.33=633.6,四舍五入取整)。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 视频流对应区域左上角的横坐标相对整体画面左上角原点的纵向位移,取值的范围为 [0.0, Canvas.Height)。默认值为 0。若传入该参数,服务端会对该参数进行校验,若不合法会返回错误码 InvalidParameter。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 该路流参与混流的媒体类型。
	// * 0:音视频
	// * 1:纯音频
	// * 2:纯视频
	// 默认值为 0。值不合法时,自动调整为默认值。
	// 假如该路流为音视频流,MediaType设为1,则只混入音频内容。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 画面的渲染模式,值的范围为 {0, 1, 2,3}, 默认值为 0:
	// * 0 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// * 1 表示按照显示区域的长宽比裁减视频,然后等比拉伸或缩小视频,占满显示区域。
	// * 2 表示按照原始画面的宽高比缩放视频,在显示区域居中显示。如果原始画面宽高比与指定的宽高比不同,就会导致画面有空缺,空缺区域为填充的背景色值。
	// * 3 表示按照指定的宽高直接缩放。如果原始画面宽高比与指定的宽高比不同,就会导致画面变形
	// 值不合法时,自动调整为默认值。
	// 目前 0 和 3 均为按照指定的宽高直接缩放,但我们推荐你使用 3 以便与客户端实现相同逻辑。
	// 不同渲染模式下,效果如下:
	RenderMode *int32 `json:"RenderMode,omitempty"`
	// 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
	SourceCrop *UpdateRecordBodyLayoutCustomLayoutRegionsItemSourceCrop `json:"SourceCrop,omitempty"`
	// 空间音频下,房间内指定用户所在位置的三维坐标,默认值为[0,0,0]。数组长度为3,三个值依次对应X,Y,Z,每个值的取值范围为[-100,100]。
	SpatialPosition []*int32 `json:"SpatialPosition,omitempty"`
	// 当多个流的画面有重叠时,使用此参数设置指定画面的图层顺序。取值范围为 [0, 100]:0 表示该区域图像位于最下层,100 表示该区域图像位于最上层, 默认值为 0。值不合法时,自动调整为默认值。
	ZOrder *int32 `json:"ZOrder,omitempty"`
}
    type UpdateRecordBodyLayoutCustomLayoutRegionsItemSourceCrop ¶
type UpdateRecordBodyLayoutCustomLayoutRegionsItemSourceCrop struct {
	// 裁剪后得到的视频帧高度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	HeightProportion *float32 `json:"HeightProportion,omitempty"`
	// 裁剪后得到的视频帧左上角的横坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationX *float32 `json:"LocationX,omitempty"`
	// 裁剪后得到的视频帧左上角的纵坐标相对裁剪前整体画面的比例,取值的范围为 [0.0, 1.0)。默认值为 0.0。值不合法时,自动调整为默认值。
	LocationY *float32 `json:"LocationY,omitempty"`
	// 裁剪后得到的视频帧宽度相对裁剪前整体画面宽度的比例,取值范围为 (0.0, 1.0]。默认值为 1.0。值不合法时,自动调整为默认值。
	WidthProportion *float32 `json:"WidthProportion,omitempty"`
}
    UpdateRecordBodyLayoutCustomLayoutRegionsItemSourceCrop - 如果裁剪后计算得到的实际分辨率的宽或高不是偶数,会被自动调整为偶数
type UpdateRecordBodyLayoutMainVideoStream ¶
type UpdateRecordBodyLayoutMainVideoStream struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type UpdateRecordBodyTargetStreams ¶
type UpdateRecordBodyTargetStreams struct {
	// 由 Stream 组成的列表,可以为空。为空时,表示订阅房间内所有流。在一个 StreamList 中,Stream.Index 不能重复。
	StreamList []*UpdateRecordBodyTargetStreamsStreamListItem `json:"StreamList,omitempty"`
}
    type UpdateRecordBodyTargetStreamsStreamListItem ¶
type UpdateRecordBodyTargetStreamsStreamListItem struct {
	// REQUIRED; 用户Id,表示这个流所属的用户。
	UserID string `json:"UserId"`
	// 在自定义布局中,使用 Index 对流进行标志。后续在 Layout.regions.StreamIndex 中,你需要使用 Index 指定对应流的布局设置。
	Index *int32 `json:"Index,omitempty"`
	// 流的类型,值可以取0或1,默认值为0。0表示普通音视频流,1表示屏幕流。
	StreamType *int32 `json:"StreamType,omitempty"`
}
    type UpdateRecordQuery ¶
type UpdateRecordQuery struct{}
    type UpdateRecordReq ¶
type UpdateRecordReq struct {
	*UpdateRecordQuery
	*UpdateRecordBody
}
    type UpdateRecordRes ¶
type UpdateRecordRes struct {
	// REQUIRED
	ResponseMetadata UpdateRecordResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                         `json:"Result,omitempty"`
}
    type UpdateRecordResResponseMetadata ¶
type UpdateRecordResResponseMetadata 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 *UpdateRecordResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateRecordResResponseMetadataError ¶
type UpdateRecordResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateRecordResResponseMetadataError - 仅在请求失败时返回。
type UpdateRelayStream ¶
type UpdateRelayStream struct{}
    type UpdateRelayStreamBody ¶
type UpdateRelayStreamBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED
	Control UpdateRelayStreamBodyControl `json:"Control"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 任务 ID。你必须对每个任务设定 TaskId,且在进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
}
    type UpdateRelayStreamBodyControl ¶
type UpdateRelayStreamBodyControl struct {
	// REQUIRED; 在线流媒体地址。媒体格式应为:hls、rtmp、mp4、flv、dash、或 ts。如源流为海外,建议联系技术支持,以保障最佳体验。
	StreamURL string `json:"StreamUrl"`
	// 最大发送码率,单位为 Kbps,不填则不限制,转码时生效。
	Bitrate *int32 `json:"Bitrate,omitempty"`
	// 发送帧率,值的范围为[1,30],默认值为15,转码时生效。
	FrameRate *int32 `json:"FrameRate,omitempty"`
	// 是否循环播放,仅对源流为点播流时生效。
	Loop *bool `json:"Loop,omitempty"`
	// 媒体类型。
	// * 0:音视频
	// * 1:音频。采用此选项时,必须是 AAC 或 Opus 编码。
	// * 2:视频 默认值为0。
	MediaType *int32 `json:"MediaType,omitempty"`
	// 任务起始时间戳,用于定时播放,Unix时间,单位为秒。默认为 0,表示立即启动。此参数仅对 StartRelayStream接口生效。
	StartTimeStamp *int32 `json:"StartTimeStamp,omitempty"`
	// 流处理模式。
	// * 0:转码。采用此选项时,原视频编码方式必须是 H.264 或 ByteVC1。
	// * 1:转封装。采用此选项时,原视频编码方式必须是 H.264。转封装时,源流的视频关键帧间隔若过大,会影响 RTC 体验,建议 1s,但最大不超过 5s。 默认值为0。
	StreamMode *int32 `json:"StreamMode,omitempty"`
	// 视频高度,转码时必填。单位为像素,范围为 [16, 1920],必须是偶数,值为奇数时自动调整为偶数。
	VideoHeight *int32 `json:"VideoHeight,omitempty"`
	// 视频宽度。转码时必填,单位为像素,范围为 [16, 1920],必须是偶数,值为奇数时自动调整为偶数。
	VideoWidth *int32 `json:"VideoWidth,omitempty"`
}
    type UpdateRelayStreamQuery ¶
type UpdateRelayStreamQuery struct{}
    type UpdateRelayStreamReq ¶
type UpdateRelayStreamReq struct {
	*UpdateRelayStreamQuery
	*UpdateRelayStreamBody
}
    type UpdateRelayStreamRes ¶
type UpdateRelayStreamRes struct {
	// REQUIRED
	ResponseMetadata UpdateRelayStreamResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                              `json:"Result,omitempty"`
}
    type UpdateRelayStreamResResponseMetadata ¶
type UpdateRelayStreamResResponseMetadata 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 *UpdateRelayStreamResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateRelayStreamResResponseMetadataError ¶
type UpdateRelayStreamResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateRelayStreamResResponseMetadataError - 仅在请求失败时返回。
type UpdateSegment ¶
type UpdateSegment struct{}
    type UpdateSegmentBody ¶
type UpdateSegmentBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 切片任务 ID。你必须对每个切片任务,设定 TaskId,且在进行任务更新时也须使用该 TaskId。关于 TaskId 的详细说明,参看TaskId说明 。 关于 TaskId 及以上 Id 字段的命名规则,参看 ID
	// [69835#____id]。
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID *string `json:"BusinessId,omitempty"`
	// 音频切片的时长。单位为秒。范围为 [1, 600],默认值为 20秒。值不合法时,自动调整为默认值。 更新该字段后,计时器会重新启动,当前切片立即停止,生成一个新切片。
	Duration *int32 `json:"Duration,omitempty"`
	// 是否在开启音视切片时,立刻开始切片。选择 True 时,开启切片;选择 False 时,不切片。默认值 true。
	Handle *bool `json:"Handle,omitempty"`
	// 自定义文件前缀。切片名设置详情,参看切片名设置规则
	Identifier *string `json:"Identifier,omitempty"`
}
    type UpdateSegmentQuery ¶
type UpdateSegmentQuery struct{}
    type UpdateSegmentReq ¶
type UpdateSegmentReq struct {
	*UpdateSegmentQuery
	*UpdateSegmentBody
}
    type UpdateSegmentRes ¶
type UpdateSegmentRes struct {
	// REQUIRED
	ResponseMetadata UpdateSegmentResResponseMetadata `json:"ResponseMetadata"`
	Result           *string                          `json:"Result,omitempty"`
}
    type UpdateSegmentResResponseMetadata ¶
type UpdateSegmentResResponseMetadata 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 *UpdateSegmentResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateSegmentResResponseMetadataError ¶
type UpdateSegmentResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateSegmentResResponseMetadataError - 仅在请求失败时返回。
type UpdateSnapshot ¶
type UpdateSnapshot struct{}
    type UpdateSnapshotBody ¶
type UpdateSnapshotBody struct {
	// REQUIRED; 你的音视频应用的唯一标志
	AppID string `json:"AppId"`
	// REQUIRED; 房间的 ID,是房间的唯一标志
	RoomID string `json:"RoomId"`
	// REQUIRED; 截图任务 ID。你可以自行设定TaskId以区分不同的切片任务,且在后续进行任务更新和结束时也须使用该 TaskId。
	// TaskId 是任务的标识,在一个 AppId 的 RoomId 下 taskId 是唯一的,不同 AppId 或者不同 RoomId 下 TaskId 可以重复,因此 AppId + RoomId + TaskId 是任务的唯一标识,可以用来标识指定
	// AppId 下某个房间内正在运行的任务,从而能在此任务运行中进行更新或者停止此任务。
	// 关于 TaskId 及以上 Id 字段的命名规则符合正则表达式:[a-zA-Z0-9_@\-\.]{1,128}
	TaskID string `json:"TaskId"`
	// 业务标识
	BusinessID  *string                        `json:"BusinessId,omitempty"`
	ImageConfig *UpdateSnapshotBodyImageConfig `json:"ImageConfig,omitempty"`
}
    type UpdateSnapshotBodyImageConfig ¶
type UpdateSnapshotBodyImageConfig struct {
	// 图片的格式。值可取0或1,默认为0。选择0时,图片格式为 JEPG;选择1时,图片格式为 PNG。默认值为0。值不合法时,自动调整为默认值。
	Format *int32 `json:"Format,omitempty"`
	// 实际使用视频帧的高度,单位为像素,取值范围为[0, 1920],默认值为0,此时,和视频流的实际高度相同。值不合法时,自动调整为默认值。
	Height *int32 `json:"Height,omitempty"`
	// 相邻截图之间的间隔时间,单位为秒,取值范围为[1, 600],默认值为2。值不合法时,自动调整为默认值。
	Interval *int32 `json:"Interval,omitempty"`
	// 实际使用视频帧的宽度,单位为像素,取值范围为[0, 1920]。默认值为0,此时,和视频流的实际宽度相同。值不合法时,自动调整为默认值。
	Width *int32 `json:"Width,omitempty"`
}
    type UpdateSnapshotQuery ¶
type UpdateSnapshotQuery struct{}
    type UpdateSnapshotReq ¶
type UpdateSnapshotReq struct {
	*UpdateSnapshotQuery
	*UpdateSnapshotBody
}
    type UpdateSnapshotRes ¶
type UpdateSnapshotRes struct {
	// REQUIRED
	ResponseMetadata UpdateSnapshotResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result interface{} `json:"Result,omitempty"`
}
    type UpdateSnapshotResResponseMetadata ¶
type UpdateSnapshotResResponseMetadata 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 *UpdateSnapshotResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateSnapshotResResponseMetadataError ¶
type UpdateSnapshotResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateSnapshotResResponseMetadataError - 仅在请求失败时返回。
type UpdateVendorPolicy ¶
type UpdateVendorPolicy struct{}
    type UpdateVendorPolicyBody ¶
type UpdateVendorPolicyQuery ¶
type UpdateVendorPolicyQuery struct{}
    type UpdateVendorPolicyReq ¶
type UpdateVendorPolicyReq struct {
	*UpdateVendorPolicyQuery
	*UpdateVendorPolicyBody
}
    type UpdateVendorPolicyRes ¶
type UpdateVendorPolicyRes struct {
	// REQUIRED
	ResponseMetadata UpdateVendorPolicyResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *UpdateVendorPolicyResResult `json:"Result,omitempty"`
}
    type UpdateVendorPolicyResResponseMetadata ¶
type UpdateVendorPolicyResResponseMetadata 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 *UpdateVendorPolicyResResponseMetadataError `json:"Error,omitempty"`
}
    type UpdateVendorPolicyResResponseMetadataError ¶
type UpdateVendorPolicyResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    UpdateVendorPolicyResResponseMetadataError - 仅在请求失败时返回。
type UpdateVendorPolicyResResult ¶
type UpdateVendorPolicyResResult struct {
	// REQUIRED; 更新后的策略详情
	Policy UpdateVendorPolicyResResultPolicy `json:"Policy"`
}
    UpdateVendorPolicyResResult - 视请求的接口而定
type UpdateVendorPolicyResResultPolicy ¶
type UpdateVendorPolicyResResultPolicy struct {
	// REQUIRED; 应用ID
	AppID string `json:"AppID"`
	// REQUIRED; 应用标识
	BusinessID string `json:"BusinessID"`
	// REQUIRED; 创建时间(毫秒)
	CreateTime int32 `json:"CreateTime"`
	// REQUIRED; 数据条目的ID。后面删除和修改都需要指定该ID
	ID int32 `json:"ID"`
	// REQUIRED; 房间ID
	RoomID string `json:"RoomID"`
	// REQUIRED; 更新时间(毫秒)
	UpdateTime int32 `json:"UpdateTime"`
	// REQUIRED; 各线路放量比例
	VendorProportion string `json:"VendorProportion"`
}
    UpdateVendorPolicyResResultPolicy - 更新后的策略详情
type WbTranscodeCreate ¶
type WbTranscodeCreate struct{}
    type WbTranscodeCreateBody ¶
type WbTranscodeCreateBody struct {
	// REQUIRED; 应用的唯一标志。你可以通过控制台 [https://console.volcengine.com/rtc/listRTC]查看和复制你的 app_id。或通过调用ListApps [https://www.volcengine.com/docs/6348/74489]接口获取。
	AppID string `json:"app_id"`
	// REQUIRED; 用户 ID
	Operator string `json:"operator"`
	// REQUIRED; 需要转换为图片的文档链接地址。每次调用接口只能请求处理一份文档。
	Resource string `json:"resource"`
	// 转码成功后返回的 URL 预签名有效期,单位为秒,取值范围为:[0,604800]。默认值为 0。0表示无限期。为 0 时,你需要在 TOS 服务的 bucket 为公共读。
	PreSignDuration *int32 `json:"pre_sign_duration,omitempty"`
	// 静态转码的转码优先级
	// * 0: 非实时转码
	// * 1: 实时转码 默认值为 0。
	Priority *int32 `json:"priority,omitempty"`
	// 动态转码文件设置。动态转码必填,静态转码无需填写
	ResourceAttr *WbTranscodeCreateBodyResourceAttr `json:"resource_attr,omitempty"`
	// 对象存储属性。使用火山引擎的对象存储服务,且本次传入的参数与控制台设置的属性有差异,则以传入参数为准。
	// * 使用第三方的对象存储服务:必填
	// * 使用火山引擎的对象存储服务,并已经在控制台设置了图片存储属性,则此参数选填
	StorageConfig *WbTranscodeCreateBodyStorageConfig `json:"storage_config,omitempty"`
	// 转码参数设置
	TranscodeConfig *WbTranscodeCreateBodyTranscodeConfig `json:"transcode_config,omitempty"`
	// 转码类型
	// * 0: 静态转码
	// * 1: 动态转码 默认值为 0。
	TranscodeMode *int32 `json:"transcode_mode,omitempty"`
}
    type WbTranscodeCreateBodyResourceAttr ¶
type WbTranscodeCreateBodyResourceAttr struct {
	// REQUIRED; 文件名
	FileName string `json:"file_name"`
	// REQUIRED; 文件大小,单位:byte
	Size int32 `json:"size"`
}
    WbTranscodeCreateBodyResourceAttr - 动态转码文件设置。动态转码必填,静态转码无需填写
type WbTranscodeCreateBodyStorageConfig ¶
type WbTranscodeCreateBodyStorageConfig struct {
	// REQUIRED; 存储类型 【默认值】0: Tos1: 第三方对象存储接口,支持阿里云和亚马逊
	Type int32 `json:"type"`
	// 第三方对象存储服务参数设置
	CustomConfig *WbTranscodeCreateBodyStorageConfigCustomConfig `json:"custom_config,omitempty"`
	// 火山引擎的对象存储服务参数设置
	TosConfig *WbTranscodeCreateBodyStorageConfigTosConfig `json:"tos_config,omitempty"`
}
    WbTranscodeCreateBodyStorageConfig - 对象存储属性。使用火山引擎的对象存储服务,且本次传入的参数与控制台设置的属性有差异,则以传入参数为准。 * 使用第三方的对象存储服务:必填 * 使用火山引擎的对象存储服务,并已经在控制台设置了图片存储属性,则此参数选填
type WbTranscodeCreateBodyStorageConfigCustomConfig ¶
type WbTranscodeCreateBodyStorageConfigCustomConfig struct {
	// REQUIRED; Access Key
	AccessKey string `json:"access_key"`
	// REQUIRED; 桶名称
	Bucket string `json:"bucket"`
	// REQUIRED; 不同存储平台支持的 Region 不同,具体参看 Region对照表 [1217553]
	Region int32 `json:"region"`
	// REQUIRED; Secret Key AK/SK建议只开通写权限,关闭读权限。
	SecretKey string `json:"secret_key"`
	// REQUIRED; 第三方存储供应商0: Amazon 亚马逊1: Alicloud 阿里云
	Vendor int32 `json:"vendor"`
}
    WbTranscodeCreateBodyStorageConfigCustomConfig - 第三方对象存储服务参数设置
type WbTranscodeCreateBodyStorageConfigTosConfig ¶
type WbTranscodeCreateBodyStorageConfigTosConfig struct {
	// REQUIRED; Bucket 所属的火山引擎账号 ID。在登录火山引擎后,可在头像的悬浮菜单中找到账号 ID。[https://portal.volccdn.com/obj/volcfe/cloud-universal-doc/upload_0819c44c6aadff358a7dfc52c5daab57.png]
	AccountID string `json:"account_id"`
	// REQUIRED; 桶名称。登录TOS 控制台 [https://console.volcengine.com/tos/bucket]开通和获取。
	Bucket string `json:"bucket"`
	// REQUIRED; * 0: cn-beijing,华北 2(北京)
	// * 1:cn-guangzhou,华南 1(广州)
	// * 2:cn-shanghai,华东 2(上海)
	Region int32 `json:"region"`
}
    WbTranscodeCreateBodyStorageConfigTosConfig - 火山引擎的对象存储服务参数设置
type WbTranscodeCreateBodyTranscodeConfig ¶
type WbTranscodeCreateBodyTranscodeConfig struct {
	// REQUIRED; 输入文件类型1: ppt2: pptx3: doc4: docx5: pdf
	InputFormat int32 `json:"input_format"`
	// REQUIRED; 输出文件类型1: png2: jpg/jpeg
	OutputFormat int32 `json:"output_format"`
	// REQUIRED; 转码后的页面高度,单位为像素
	OutputHeight int32 `json:"output_height"`
	// REQUIRED; 转码后的页面宽度,单位为像素
	OutputWidth int32 `json:"output_width"`
	// 是否按照指定分辨率拉伸页面 默认为false,按照文件的原始宽高比适配指定分辨率。
	ForceUseResolution *bool `json:"force_use_resolution,omitempty"`
	// 是否生成缩略图,默认为false
	Thumbnail *bool `json:"thumbnail,omitempty"`
	// 缩略图分辨率高,默认为180
	ThumbnailHeight *int32 `json:"thumbnail_height,omitempty"`
	// 缩略图分辨率宽,默认为320
	ThumbnailWidth *int32 `json:"thumbnail_width,omitempty"`
}
    WbTranscodeCreateBodyTranscodeConfig - 转码参数设置
type WbTranscodeCreateQuery ¶
type WbTranscodeCreateQuery struct{}
    type WbTranscodeCreateReq ¶
type WbTranscodeCreateReq struct {
	*WbTranscodeCreateQuery
	*WbTranscodeCreateBody
}
    type WbTranscodeCreateRes ¶
type WbTranscodeCreateRes struct {
	// REQUIRED
	ResponseMetadata WbTranscodeCreateResResponseMetadata `json:"ResponseMetadata"`
	// 视请求的接口而定
	Result *WbTranscodeCreateResResult `json:"Result,omitempty"`
}
    type WbTranscodeCreateResResponseMetadata ¶
type WbTranscodeCreateResResponseMetadata 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 *WbTranscodeCreateResResponseMetadataError `json:"Error,omitempty"`
}
    type WbTranscodeCreateResResponseMetadataError ¶
type WbTranscodeCreateResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    WbTranscodeCreateResResponseMetadataError - 仅在请求失败时返回。
type WbTranscodeCreateResResult ¶
type WbTranscodeCreateResResult struct {
	// REQUIRED; task_id 为查询任务进度和获取转码后链接的必填参数
	TaskID string `json:"task_id"`
}
    WbTranscodeCreateResResult - 视请求的接口而定
type WbTranscodeGet ¶
type WbTranscodeGet struct{}
    type WbTranscodeGetBody ¶
type WbTranscodeGetBody struct{}
    type WbTranscodeGetQuery ¶
type WbTranscodeGetQuery struct {
	// REQUIRED; 应用的唯一标志。你可以通过控制台 [https://console.volcengine.com/rtc/listRTC]查看和复制你的 app_id。或通过调用ListApps [https://www.volcengine.com/docs/6348/74489]接口获取。
	AppID string `json:"app_id" query:"app_id"`
	// REQUIRED; 成功调用WbTranscodeQuery后返回的任务ID
	TaskID string `json:"task_id" query:"task_id"`
}
    type WbTranscodeGetReq ¶
type WbTranscodeGetReq struct {
	*WbTranscodeGetQuery
	*WbTranscodeGetBody
}
    type WbTranscodeGetRes ¶
type WbTranscodeGetRes struct {
	// REQUIRED
	ResponseMetadata WbTranscodeGetResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result WbTranscodeGetResResult `json:"Result"`
}
    type WbTranscodeGetResResponseMetadata ¶
type WbTranscodeGetResResponseMetadata 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 *WbTranscodeGetResResponseMetadataError `json:"Error,omitempty"`
}
    type WbTranscodeGetResResponseMetadataError ¶
type WbTranscodeGetResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    WbTranscodeGetResResponseMetadataError - 仅在请求失败时返回。
type WbTranscodeGetResResult ¶
type WbTranscodeGetResResult struct {
	// REQUIRED; 动态转码结果FileId,使用动态转码结果时在SDK接口传入
	FileID string `json:"file_id"`
	// REQUIRED; 转码文件名
	FileName string `json:"file_name"`
	// REQUIRED; 转码后的页面高度,单位为像素
	Height int32 `json:"height"`
	// REQUIRED; 静态转码图片详情
	Images []WbTranscodeGetResResultImagesItem `json:"images"`
	// REQUIRED; 转码类型
	// * 0: 静态转码
	// * 1: 动态转码
	TranscodeMode int32 `json:"transcode_mode"`
	// REQUIRED; 转码后的页面宽度,单位为像素
	Width int32 `json:"width"`
}
    type WbTranscodeQueryBody ¶
type WbTranscodeQueryBody struct{}
    type WbTranscodeQueryQuery ¶
type WbTranscodeQueryQuery struct {
	// REQUIRED; 应用的唯一标志。你可以通过控制台 [https://console.volcengine.com/rtc/listRTC]查看和复制你的 app_id。或通过调用ListApps [https://www.volcengine.com/docs/6348/74489]接口获取。
	AppID string `json:"app_id" query:"app_id"`
	// REQUIRED; 成功调用WbTranscodeQuery后返回的任务ID
	TaskID string `json:"task_id" query:"task_id"`
}
    type WbTranscodeQueryReq ¶
type WbTranscodeQueryReq struct {
	*WbTranscodeQueryQuery
	*WbTranscodeQueryBody
}
    type WbTranscodeQueryRes ¶
type WbTranscodeQueryRes struct {
	// REQUIRED
	ResponseMetadata WbTranscodeQueryResResponseMetadata `json:"ResponseMetadata"`
	// REQUIRED
	Result WbTranscodeQueryResResult `json:"Result"`
}
    type WbTranscodeQueryResResponseMetadata ¶
type WbTranscodeQueryResResponseMetadata 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 *WbTranscodeQueryResResponseMetadataError `json:"Error,omitempty"`
}
    type WbTranscodeQueryResResponseMetadataError ¶
type WbTranscodeQueryResResponseMetadataError struct {
	// REQUIRED; API 的错误码
	Code string `json:"Code"`
	// REQUIRED; 具体的错误信息
	Message string `json:"Message"`
	// 网关的错误码。(请求失败时返回)
	CodeN *int32 `json:"CodeN,omitempty"`
}
    WbTranscodeQueryResResponseMetadataError - 仅在请求失败时返回。
type WbTranscodeQueryResResult ¶
type WbTranscodeQueryResResult struct {
	// REQUIRED; 转码任务状态
	// * 0:未开始
	// * 1:进行中
	// * 2:已完成
	// * 3:失败
	Status int32 `json:"status"`
	// 错误码
	ErrCode *int32 `json:"err_code,omitempty"`
	// 错误信息
	ErrMsg *string `json:"err_msg,omitempty"`
	// 静态转码进度。100表示已完成。 动态转码恒定为0。
	Progress *int32 `json:"progress,omitempty"`
}