Documentation ¶
Index ¶
- type CreateIndividualStreamJobRequest
- type CreateIndividualStreamJobResponse
- type CreateIndividualStreamJobResponseSelectStreamType
- type CreateIndividualStreamJobResponseSelectStreamTypeEnum
- type CreateIndividualStreamJobResponseState
- type CreateIndividualStreamJobResponseStateEnum
- type CreateIndividualStreamJobResponseStopReason
- type CreateIndividualStreamJobResponseStopReasonEnum
- type CreateIndividualStreamJobResponseVideoType
- type CreateIndividualStreamJobResponseVideoTypeEnum
- type CreateMixJobRequest
- type CreateMixJobResponse
- type CreateMixJobResponseState
- type CreateMixJobResponseStateEnum
- type CreateMixJobResponseStopReason
- type CreateMixJobResponseStopReasonEnum
- type IndividualStreamJobReq
- type IndividualStreamJobReqSelectStreamType
- type IndividualStreamJobReqSelectStreamTypeEnum
- type IndividualStreamJobReqVideoType
- type IndividualStreamJobReqVideoTypeEnum
- type MixJobReq
- type MixLayoutPane
- type MixLayoutPaneCropMode
- type MixLayoutPaneCropModeEnum
- type MixLayoutPaneVideoType
- type MixLayoutPaneVideoTypeEnum
- type MixParam
- type MixParamEncodeTemplate
- type MixParamEncodeTemplateEnum
- type MixUserBackgroundImage
- type PublishParam
- type RecordParam
- type ShowIndividualStreamJobRequest
- type ShowIndividualStreamJobResponse
- type ShowIndividualStreamJobResponseSelectStreamType
- type ShowIndividualStreamJobResponseSelectStreamTypeEnum
- type ShowIndividualStreamJobResponseState
- type ShowIndividualStreamJobResponseStateEnum
- type ShowIndividualStreamJobResponseStopReason
- type ShowIndividualStreamJobResponseStopReasonEnum
- type ShowIndividualStreamJobResponseVideoType
- type ShowIndividualStreamJobResponseVideoTypeEnum
- type ShowMixJobRequest
- type ShowMixJobResponse
- type ShowMixJobResponseState
- type ShowMixJobResponseStateEnum
- type ShowMixJobResponseStopReason
- type ShowMixJobResponseStopReasonEnum
- type StopIndividualStreamJobRequest
- type StopIndividualStreamJobResponse
- type StopMixJobRequest
- type StopMixJobResponse
- type UpdateMixJobReq
- type UpdateMixJobRequest
- type UpdateMixJobResponse
- type UpdateMixJobResponseState
- type UpdateMixJobResponseStateEnum
- type UpdateMixJobResponseStopReason
- type UpdateMixJobResponseStopReasonEnum
- type UpdateMixParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateIndividualStreamJobRequest ¶
type CreateIndividualStreamJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` Body *IndividualStreamJobReq `json:"body,omitempty"` }
Request Object
func (CreateIndividualStreamJobRequest) String ¶
func (o CreateIndividualStreamJobRequest) String() string
type CreateIndividualStreamJobResponse ¶
type CreateIndividualStreamJobResponse struct { JobId *string `json:"job_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` AppId *string `json:"app_id,omitempty"` RoomId *string `json:"room_id,omitempty"` UserId *string `json:"user_id,omitempty"` IsRecordAudio *bool `json:"is_record_audio,omitempty"` VideoType *CreateIndividualStreamJobResponseVideoType `json:"video_type,omitempty"` SelectStreamType *CreateIndividualStreamJobResponseSelectStreamType `json:"select_stream_type,omitempty"` MaxIdleTime *int32 `json:"max_idle_time,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` State *CreateIndividualStreamJobResponseState `json:"state,omitempty"` StopReason *CreateIndividualStreamJobResponseStopReason `json:"stop_reason,omitempty"` Description *string `json:"description,omitempty"` StartTime *string `json:"start_time,omitempty"` StopTime *string `json:"stop_time,omitempty"` XRequestId *string `json:"X-request-Id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateIndividualStreamJobResponse) String ¶
func (o CreateIndividualStreamJobResponse) String() string
type CreateIndividualStreamJobResponseSelectStreamType ¶
type CreateIndividualStreamJobResponseSelectStreamType struct {
// contains filtered or unexported fields
}
func (CreateIndividualStreamJobResponseSelectStreamType) MarshalJSON ¶
func (c CreateIndividualStreamJobResponseSelectStreamType) MarshalJSON() ([]byte, error)
func (*CreateIndividualStreamJobResponseSelectStreamType) UnmarshalJSON ¶
func (c *CreateIndividualStreamJobResponseSelectStreamType) UnmarshalJSON(b []byte) error
type CreateIndividualStreamJobResponseSelectStreamTypeEnum ¶
type CreateIndividualStreamJobResponseSelectStreamTypeEnum struct { LD CreateIndividualStreamJobResponseSelectStreamType SD CreateIndividualStreamJobResponseSelectStreamType HD CreateIndividualStreamJobResponseSelectStreamType FHD CreateIndividualStreamJobResponseSelectStreamType }
func GetCreateIndividualStreamJobResponseSelectStreamTypeEnum ¶
func GetCreateIndividualStreamJobResponseSelectStreamTypeEnum() CreateIndividualStreamJobResponseSelectStreamTypeEnum
type CreateIndividualStreamJobResponseState ¶
type CreateIndividualStreamJobResponseState struct {
// contains filtered or unexported fields
}
func (CreateIndividualStreamJobResponseState) MarshalJSON ¶
func (c CreateIndividualStreamJobResponseState) MarshalJSON() ([]byte, error)
func (*CreateIndividualStreamJobResponseState) UnmarshalJSON ¶
func (c *CreateIndividualStreamJobResponseState) UnmarshalJSON(b []byte) error
type CreateIndividualStreamJobResponseStateEnum ¶
type CreateIndividualStreamJobResponseStateEnum struct { INIT CreateIndividualStreamJobResponseState RUNNING CreateIndividualStreamJobResponseState STOPPED CreateIndividualStreamJobResponseState }
func GetCreateIndividualStreamJobResponseStateEnum ¶
func GetCreateIndividualStreamJobResponseStateEnum() CreateIndividualStreamJobResponseStateEnum
type CreateIndividualStreamJobResponseStopReason ¶
type CreateIndividualStreamJobResponseStopReason struct {
// contains filtered or unexported fields
}
func (CreateIndividualStreamJobResponseStopReason) MarshalJSON ¶
func (c CreateIndividualStreamJobResponseStopReason) MarshalJSON() ([]byte, error)
func (*CreateIndividualStreamJobResponseStopReason) UnmarshalJSON ¶
func (c *CreateIndividualStreamJobResponseStopReason) UnmarshalJSON(b []byte) error
type CreateIndividualStreamJobResponseStopReasonEnum ¶
type CreateIndividualStreamJobResponseStopReasonEnum struct { TENANT_STOP CreateIndividualStreamJobResponseStopReason EXCEED_MAX_IDLE_TIME CreateIndividualStreamJobResponseStopReason INTERNAL_ERROR CreateIndividualStreamJobResponseStopReason }
func GetCreateIndividualStreamJobResponseStopReasonEnum ¶
func GetCreateIndividualStreamJobResponseStopReasonEnum() CreateIndividualStreamJobResponseStopReasonEnum
type CreateIndividualStreamJobResponseVideoType ¶
type CreateIndividualStreamJobResponseVideoType struct {
// contains filtered or unexported fields
}
func (CreateIndividualStreamJobResponseVideoType) MarshalJSON ¶
func (c CreateIndividualStreamJobResponseVideoType) MarshalJSON() ([]byte, error)
func (*CreateIndividualStreamJobResponseVideoType) UnmarshalJSON ¶
func (c *CreateIndividualStreamJobResponseVideoType) UnmarshalJSON(b []byte) error
type CreateIndividualStreamJobResponseVideoTypeEnum ¶
type CreateIndividualStreamJobResponseVideoTypeEnum struct { CAMERASTREAM CreateIndividualStreamJobResponseVideoType SCREENSTREAM CreateIndividualStreamJobResponseVideoType EMPTY CreateIndividualStreamJobResponseVideoType }
func GetCreateIndividualStreamJobResponseVideoTypeEnum ¶
func GetCreateIndividualStreamJobResponseVideoTypeEnum() CreateIndividualStreamJobResponseVideoTypeEnum
type CreateMixJobRequest ¶
type CreateMixJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` Body *MixJobReq `json:"body,omitempty"` }
Request Object
func (CreateMixJobRequest) String ¶
func (o CreateMixJobRequest) String() string
type CreateMixJobResponse ¶
type CreateMixJobResponse struct { JobId *string `json:"job_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` AppId *string `json:"app_id,omitempty"` RoomId *string `json:"room_id,omitempty"` MixParam *MixParam `json:"mix_param,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` State *CreateMixJobResponseState `json:"state,omitempty"` StopReason *CreateMixJobResponseStopReason `json:"stop_reason,omitempty"` Description *string `json:"description,omitempty"` StartTime *string `json:"start_time,omitempty"` StopTime *string `json:"stop_time,omitempty"` XRequestId *string `json:"X-request-Id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMixJobResponse) String ¶
func (o CreateMixJobResponse) String() string
type CreateMixJobResponseState ¶
type CreateMixJobResponseState struct {
// contains filtered or unexported fields
}
func (CreateMixJobResponseState) MarshalJSON ¶
func (c CreateMixJobResponseState) MarshalJSON() ([]byte, error)
func (*CreateMixJobResponseState) UnmarshalJSON ¶
func (c *CreateMixJobResponseState) UnmarshalJSON(b []byte) error
type CreateMixJobResponseStateEnum ¶
type CreateMixJobResponseStateEnum struct { INIT CreateMixJobResponseState RUNNING CreateMixJobResponseState STOPPED CreateMixJobResponseState }
func GetCreateMixJobResponseStateEnum ¶
func GetCreateMixJobResponseStateEnum() CreateMixJobResponseStateEnum
type CreateMixJobResponseStopReason ¶
type CreateMixJobResponseStopReason struct {
// contains filtered or unexported fields
}
func (CreateMixJobResponseStopReason) MarshalJSON ¶
func (c CreateMixJobResponseStopReason) MarshalJSON() ([]byte, error)
func (*CreateMixJobResponseStopReason) UnmarshalJSON ¶
func (c *CreateMixJobResponseStopReason) UnmarshalJSON(b []byte) error
type CreateMixJobResponseStopReasonEnum ¶
type CreateMixJobResponseStopReasonEnum struct { TENANT_STOP CreateMixJobResponseStopReason EXCEED_MAX_IDLE_TIME CreateMixJobResponseStopReason INTERNAL_ERROR CreateMixJobResponseStopReason }
func GetCreateMixJobResponseStopReasonEnum ¶
func GetCreateMixJobResponseStopReasonEnum() CreateMixJobResponseStopReasonEnum
type IndividualStreamJobReq ¶
type IndividualStreamJobReq struct { RoomId string `json:"room_id"` UserId string `json:"user_id"` IsRecordAudio *bool `json:"is_record_audio,omitempty"` VideoType *IndividualStreamJobReqVideoType `json:"video_type,omitempty"` SelectStreamType *IndividualStreamJobReqSelectStreamType `json:"select_stream_type,omitempty"` MaxIdleTime *int32 `json:"max_idle_time,omitempty"` PublishParam *PublishParam `json:"publish_param,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` }
单流任务请求,转推和录制至少选一个
func (IndividualStreamJobReq) String ¶
func (o IndividualStreamJobReq) String() string
type IndividualStreamJobReqSelectStreamType ¶
type IndividualStreamJobReqSelectStreamType struct {
// contains filtered or unexported fields
}
func (IndividualStreamJobReqSelectStreamType) MarshalJSON ¶
func (c IndividualStreamJobReqSelectStreamType) MarshalJSON() ([]byte, error)
func (*IndividualStreamJobReqSelectStreamType) UnmarshalJSON ¶
func (c *IndividualStreamJobReqSelectStreamType) UnmarshalJSON(b []byte) error
type IndividualStreamJobReqSelectStreamTypeEnum ¶
type IndividualStreamJobReqSelectStreamTypeEnum struct { LD IndividualStreamJobReqSelectStreamType SD IndividualStreamJobReqSelectStreamType HD IndividualStreamJobReqSelectStreamType FHD IndividualStreamJobReqSelectStreamType }
func GetIndividualStreamJobReqSelectStreamTypeEnum ¶
func GetIndividualStreamJobReqSelectStreamTypeEnum() IndividualStreamJobReqSelectStreamTypeEnum
type IndividualStreamJobReqVideoType ¶
type IndividualStreamJobReqVideoType struct {
// contains filtered or unexported fields
}
func (IndividualStreamJobReqVideoType) MarshalJSON ¶
func (c IndividualStreamJobReqVideoType) MarshalJSON() ([]byte, error)
func (*IndividualStreamJobReqVideoType) UnmarshalJSON ¶
func (c *IndividualStreamJobReqVideoType) UnmarshalJSON(b []byte) error
type IndividualStreamJobReqVideoTypeEnum ¶
type IndividualStreamJobReqVideoTypeEnum struct { CAMERASTREAM IndividualStreamJobReqVideoType SCREENSTREAM IndividualStreamJobReqVideoType }
func GetIndividualStreamJobReqVideoTypeEnum ¶
func GetIndividualStreamJobReqVideoTypeEnum() IndividualStreamJobReqVideoTypeEnum
type MixJobReq ¶
type MixJobReq struct { MixParam *MixParam `json:"mix_param"` PublishParam *PublishParam `json:"publish_param,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` }
合流任务参数,转推和录制至少选一个
type MixLayoutPane ¶
type MixLayoutPane struct { Id *int32 `json:"id,omitempty"` UserId *string `json:"user_id,omitempty"` VideoType *MixLayoutPaneVideoType `json:"video_type,omitempty"` X float32 `json:"x,omitempty"` Y float32 `json:"y,omitempty"` Width float32 `json:"width,omitempty"` Height float32 `json:"height,omitempty"` Zorder *int32 `json:"zorder,omitempty"` CropMode *MixLayoutPaneCropMode `json:"crop_mode,omitempty"` }
录制视频混流参数。 用法如下: 如果某窗格需要展示某个固定用户的视频: 例如:{ \"id\": 1, \"user_id\": \"user001\", \"video_type\": \"CAMERASTREAM\" } 如果某窗格需要展示某个固定用户的共享屏幕: 例如:{ \"id\": 1, \"user_id\": \"user001\", \"video_type\": \"SCREENSTREAM\" } 如果某窗格需要展示共享桌面,不特定用户: 例如:{ \"id\": 1, \"video_type\": \"SCREENSTREAM\"}
func (MixLayoutPane) String ¶
func (o MixLayoutPane) String() string
type MixLayoutPaneCropMode ¶
type MixLayoutPaneCropMode struct {
// contains filtered or unexported fields
}
func (MixLayoutPaneCropMode) MarshalJSON ¶
func (c MixLayoutPaneCropMode) MarshalJSON() ([]byte, error)
func (*MixLayoutPaneCropMode) UnmarshalJSON ¶
func (c *MixLayoutPaneCropMode) UnmarshalJSON(b []byte) error
type MixLayoutPaneCropModeEnum ¶
type MixLayoutPaneCropModeEnum struct { KEEP_RATIO_PADDING MixLayoutPaneCropMode KEEP_RATIO_CROP MixLayoutPaneCropMode }
func GetMixLayoutPaneCropModeEnum ¶
func GetMixLayoutPaneCropModeEnum() MixLayoutPaneCropModeEnum
type MixLayoutPaneVideoType ¶
type MixLayoutPaneVideoType struct {
// contains filtered or unexported fields
}
func (MixLayoutPaneVideoType) MarshalJSON ¶
func (c MixLayoutPaneVideoType) MarshalJSON() ([]byte, error)
func (*MixLayoutPaneVideoType) UnmarshalJSON ¶
func (c *MixLayoutPaneVideoType) UnmarshalJSON(b []byte) error
type MixLayoutPaneVideoTypeEnum ¶
type MixLayoutPaneVideoTypeEnum struct { CAMERASTREAM MixLayoutPaneVideoType SCREENSTREAM MixLayoutPaneVideoType }
func GetMixLayoutPaneVideoTypeEnum ¶
func GetMixLayoutPaneVideoTypeEnum() MixLayoutPaneVideoTypeEnum
type MixParam ¶
type MixParam struct { RoomId string `json:"room_id"` EncodeTemplate MixParamEncodeTemplate `json:"encode_template"` MaxIdleTime *int32 `json:"max_idle_time,omitempty"` LayoutTemplate *string `json:"layout_template,omitempty"` DefaultUserBackgroundImage *string `json:"default_user_background_image,omitempty"` ScreenBackgroundImage *string `json:"screen_background_image,omitempty"` BackgroundImage *string `json:"background_image,omitempty"` LayoutPanes *[]MixLayoutPane `json:"layout_panes,omitempty"` UserBackgroundImages *[]MixUserBackgroundImage `json:"user_background_images,omitempty"` }
合流参数 - 纯音频录制 encode_template 填 audio_only,音频合流会动态选择最大三方的声音。 layout_template、layout_panes 以及其他视频相关参数都不填,填就忽略。 - 音视频录制(包括共享桌面) encode_template 非 audio_only,layout_template必须非空。 音频合流会动态选择最大三方的声音
type MixParamEncodeTemplate ¶
type MixParamEncodeTemplate struct {
// contains filtered or unexported fields
}
func (MixParamEncodeTemplate) MarshalJSON ¶
func (c MixParamEncodeTemplate) MarshalJSON() ([]byte, error)
func (*MixParamEncodeTemplate) UnmarshalJSON ¶
func (c *MixParamEncodeTemplate) UnmarshalJSON(b []byte) error
type MixParamEncodeTemplateEnum ¶
type MixParamEncodeTemplateEnum struct { E_1920X1080_30_4620 MixParamEncodeTemplate E_1920X1080_15_3460 MixParamEncodeTemplate E_1280X720_30_3420 MixParamEncodeTemplate E_1280X720_15_2260 MixParamEncodeTemplate }
func GetMixParamEncodeTemplateEnum ¶
func GetMixParamEncodeTemplateEnum() MixParamEncodeTemplateEnum
type MixUserBackgroundImage ¶
type MixUserBackgroundImage struct { UserId string `json:"user_id"` ImageUri string `json:"image_uri"` }
指定用户的背景图,优先级大于default_user_background_image
func (MixUserBackgroundImage) String ¶
func (o MixUserBackgroundImage) String() string
type PublishParam ¶
type PublishParam struct {
RtmpUrls []string `json:"rtmp_urls"`
}
转推参数
func (PublishParam) String ¶
func (o PublishParam) String() string
type RecordParam ¶
type RecordParam struct {
RecordRuleId string `json:"record_rule_id"`
}
录制参数
func (RecordParam) String ¶
func (o RecordParam) String() string
type ShowIndividualStreamJobRequest ¶
type ShowIndividualStreamJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` JobId string `json:"job_id"` }
Request Object
func (ShowIndividualStreamJobRequest) String ¶
func (o ShowIndividualStreamJobRequest) String() string
type ShowIndividualStreamJobResponse ¶
type ShowIndividualStreamJobResponse struct { JobId *string `json:"job_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` AppId *string `json:"app_id,omitempty"` RoomId *string `json:"room_id,omitempty"` UserId *string `json:"user_id,omitempty"` IsRecordAudio *bool `json:"is_record_audio,omitempty"` VideoType *ShowIndividualStreamJobResponseVideoType `json:"video_type,omitempty"` SelectStreamType *ShowIndividualStreamJobResponseSelectStreamType `json:"select_stream_type,omitempty"` MaxIdleTime *int32 `json:"max_idle_time,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` State *ShowIndividualStreamJobResponseState `json:"state,omitempty"` StopReason *ShowIndividualStreamJobResponseStopReason `json:"stop_reason,omitempty"` Description *string `json:"description,omitempty"` StartTime *string `json:"start_time,omitempty"` StopTime *string `json:"stop_time,omitempty"` XRequestId *string `json:"X-request-Id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIndividualStreamJobResponse) String ¶
func (o ShowIndividualStreamJobResponse) String() string
type ShowIndividualStreamJobResponseSelectStreamType ¶
type ShowIndividualStreamJobResponseSelectStreamType struct {
// contains filtered or unexported fields
}
func (ShowIndividualStreamJobResponseSelectStreamType) MarshalJSON ¶
func (c ShowIndividualStreamJobResponseSelectStreamType) MarshalJSON() ([]byte, error)
func (*ShowIndividualStreamJobResponseSelectStreamType) UnmarshalJSON ¶
func (c *ShowIndividualStreamJobResponseSelectStreamType) UnmarshalJSON(b []byte) error
type ShowIndividualStreamJobResponseSelectStreamTypeEnum ¶
type ShowIndividualStreamJobResponseSelectStreamTypeEnum struct { LD ShowIndividualStreamJobResponseSelectStreamType SD ShowIndividualStreamJobResponseSelectStreamType HD ShowIndividualStreamJobResponseSelectStreamType FHD ShowIndividualStreamJobResponseSelectStreamType }
func GetShowIndividualStreamJobResponseSelectStreamTypeEnum ¶
func GetShowIndividualStreamJobResponseSelectStreamTypeEnum() ShowIndividualStreamJobResponseSelectStreamTypeEnum
type ShowIndividualStreamJobResponseState ¶
type ShowIndividualStreamJobResponseState struct {
// contains filtered or unexported fields
}
func (ShowIndividualStreamJobResponseState) MarshalJSON ¶
func (c ShowIndividualStreamJobResponseState) MarshalJSON() ([]byte, error)
func (*ShowIndividualStreamJobResponseState) UnmarshalJSON ¶
func (c *ShowIndividualStreamJobResponseState) UnmarshalJSON(b []byte) error
type ShowIndividualStreamJobResponseStateEnum ¶
type ShowIndividualStreamJobResponseStateEnum struct { INIT ShowIndividualStreamJobResponseState RUNNING ShowIndividualStreamJobResponseState STOPPED ShowIndividualStreamJobResponseState }
func GetShowIndividualStreamJobResponseStateEnum ¶
func GetShowIndividualStreamJobResponseStateEnum() ShowIndividualStreamJobResponseStateEnum
type ShowIndividualStreamJobResponseStopReason ¶
type ShowIndividualStreamJobResponseStopReason struct {
// contains filtered or unexported fields
}
func (ShowIndividualStreamJobResponseStopReason) MarshalJSON ¶
func (c ShowIndividualStreamJobResponseStopReason) MarshalJSON() ([]byte, error)
func (*ShowIndividualStreamJobResponseStopReason) UnmarshalJSON ¶
func (c *ShowIndividualStreamJobResponseStopReason) UnmarshalJSON(b []byte) error
type ShowIndividualStreamJobResponseStopReasonEnum ¶
type ShowIndividualStreamJobResponseStopReasonEnum struct { TENANT_STOP ShowIndividualStreamJobResponseStopReason EXCEED_MAX_IDLE_TIME ShowIndividualStreamJobResponseStopReason INTERNAL_ERROR ShowIndividualStreamJobResponseStopReason }
func GetShowIndividualStreamJobResponseStopReasonEnum ¶
func GetShowIndividualStreamJobResponseStopReasonEnum() ShowIndividualStreamJobResponseStopReasonEnum
type ShowIndividualStreamJobResponseVideoType ¶
type ShowIndividualStreamJobResponseVideoType struct {
// contains filtered or unexported fields
}
func (ShowIndividualStreamJobResponseVideoType) MarshalJSON ¶
func (c ShowIndividualStreamJobResponseVideoType) MarshalJSON() ([]byte, error)
func (*ShowIndividualStreamJobResponseVideoType) UnmarshalJSON ¶
func (c *ShowIndividualStreamJobResponseVideoType) UnmarshalJSON(b []byte) error
type ShowIndividualStreamJobResponseVideoTypeEnum ¶
type ShowIndividualStreamJobResponseVideoTypeEnum struct { CAMERASTREAM ShowIndividualStreamJobResponseVideoType SCREENSTREAM ShowIndividualStreamJobResponseVideoType EMPTY ShowIndividualStreamJobResponseVideoType }
func GetShowIndividualStreamJobResponseVideoTypeEnum ¶
func GetShowIndividualStreamJobResponseVideoTypeEnum() ShowIndividualStreamJobResponseVideoTypeEnum
type ShowMixJobRequest ¶
type ShowMixJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` JobId string `json:"job_id"` }
Request Object
func (ShowMixJobRequest) String ¶
func (o ShowMixJobRequest) String() string
type ShowMixJobResponse ¶
type ShowMixJobResponse struct { JobId *string `json:"job_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` AppId *string `json:"app_id,omitempty"` RoomId *string `json:"room_id,omitempty"` MixParam *MixParam `json:"mix_param,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` State *ShowMixJobResponseState `json:"state,omitempty"` StopReason *ShowMixJobResponseStopReason `json:"stop_reason,omitempty"` Description *string `json:"description,omitempty"` StartTime *string `json:"start_time,omitempty"` StopTime *string `json:"stop_time,omitempty"` XRequestId *string `json:"X-request-Id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMixJobResponse) String ¶
func (o ShowMixJobResponse) String() string
type ShowMixJobResponseState ¶
type ShowMixJobResponseState struct {
// contains filtered or unexported fields
}
func (ShowMixJobResponseState) MarshalJSON ¶
func (c ShowMixJobResponseState) MarshalJSON() ([]byte, error)
func (*ShowMixJobResponseState) UnmarshalJSON ¶
func (c *ShowMixJobResponseState) UnmarshalJSON(b []byte) error
type ShowMixJobResponseStateEnum ¶
type ShowMixJobResponseStateEnum struct { INIT ShowMixJobResponseState RUNNING ShowMixJobResponseState STOPPED ShowMixJobResponseState }
func GetShowMixJobResponseStateEnum ¶
func GetShowMixJobResponseStateEnum() ShowMixJobResponseStateEnum
type ShowMixJobResponseStopReason ¶
type ShowMixJobResponseStopReason struct {
// contains filtered or unexported fields
}
func (ShowMixJobResponseStopReason) MarshalJSON ¶
func (c ShowMixJobResponseStopReason) MarshalJSON() ([]byte, error)
func (*ShowMixJobResponseStopReason) UnmarshalJSON ¶
func (c *ShowMixJobResponseStopReason) UnmarshalJSON(b []byte) error
type ShowMixJobResponseStopReasonEnum ¶
type ShowMixJobResponseStopReasonEnum struct { TENANT_STOP ShowMixJobResponseStopReason EXCEED_MAX_IDLE_TIME ShowMixJobResponseStopReason INTERNAL_ERROR ShowMixJobResponseStopReason }
func GetShowMixJobResponseStopReasonEnum ¶
func GetShowMixJobResponseStopReasonEnum() ShowMixJobResponseStopReasonEnum
type StopIndividualStreamJobRequest ¶
type StopIndividualStreamJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` JobId string `json:"job_id"` }
Request Object
func (StopIndividualStreamJobRequest) String ¶
func (o StopIndividualStreamJobRequest) String() string
type StopIndividualStreamJobResponse ¶
type StopIndividualStreamJobResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StopIndividualStreamJobResponse) String ¶
func (o StopIndividualStreamJobResponse) String() string
type StopMixJobRequest ¶
type StopMixJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` JobId string `json:"job_id"` }
Request Object
func (StopMixJobRequest) String ¶
func (o StopMixJobRequest) String() string
type StopMixJobResponse ¶
type StopMixJobResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StopMixJobResponse) String ¶
func (o StopMixJobResponse) String() string
type UpdateMixJobReq ¶
type UpdateMixJobReq struct {
MixParam *UpdateMixParam `json:"mix_param"`
}
合流任务参数
func (UpdateMixJobReq) String ¶
func (o UpdateMixJobReq) String() string
type UpdateMixJobRequest ¶
type UpdateMixJobRequest struct { Authorization *string `json:"Authorization,omitempty"` XSdkDate *string `json:"X-Sdk-Date,omitempty"` XProjectId *string `json:"X-Project-Id,omitempty"` AppId string `json:"app_id"` JobId string `json:"job_id"` Body *UpdateMixJobReq `json:"body,omitempty"` }
Request Object
func (UpdateMixJobRequest) String ¶
func (o UpdateMixJobRequest) String() string
type UpdateMixJobResponse ¶
type UpdateMixJobResponse struct { JobId *string `json:"job_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` AppId *string `json:"app_id,omitempty"` RoomId *string `json:"room_id,omitempty"` MixParam *MixParam `json:"mix_param,omitempty"` RecordParam *RecordParam `json:"record_param,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` State *UpdateMixJobResponseState `json:"state,omitempty"` StopReason *UpdateMixJobResponseStopReason `json:"stop_reason,omitempty"` Description *string `json:"description,omitempty"` StartTime *string `json:"start_time,omitempty"` StopTime *string `json:"stop_time,omitempty"` XRequestId *string `json:"X-request-Id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMixJobResponse) String ¶
func (o UpdateMixJobResponse) String() string
type UpdateMixJobResponseState ¶
type UpdateMixJobResponseState struct {
// contains filtered or unexported fields
}
func (UpdateMixJobResponseState) MarshalJSON ¶
func (c UpdateMixJobResponseState) MarshalJSON() ([]byte, error)
func (*UpdateMixJobResponseState) UnmarshalJSON ¶
func (c *UpdateMixJobResponseState) UnmarshalJSON(b []byte) error
type UpdateMixJobResponseStateEnum ¶
type UpdateMixJobResponseStateEnum struct { INIT UpdateMixJobResponseState RUNNING UpdateMixJobResponseState STOPPED UpdateMixJobResponseState }
func GetUpdateMixJobResponseStateEnum ¶
func GetUpdateMixJobResponseStateEnum() UpdateMixJobResponseStateEnum
type UpdateMixJobResponseStopReason ¶
type UpdateMixJobResponseStopReason struct {
// contains filtered or unexported fields
}
func (UpdateMixJobResponseStopReason) MarshalJSON ¶
func (c UpdateMixJobResponseStopReason) MarshalJSON() ([]byte, error)
func (*UpdateMixJobResponseStopReason) UnmarshalJSON ¶
func (c *UpdateMixJobResponseStopReason) UnmarshalJSON(b []byte) error
type UpdateMixJobResponseStopReasonEnum ¶
type UpdateMixJobResponseStopReasonEnum struct { TENANT_STOP UpdateMixJobResponseStopReason EXCEED_MAX_IDLE_TIME UpdateMixJobResponseStopReason INTERNAL_ERROR UpdateMixJobResponseStopReason }
func GetUpdateMixJobResponseStopReasonEnum ¶
func GetUpdateMixJobResponseStopReasonEnum() UpdateMixJobResponseStopReasonEnum
type UpdateMixParam ¶
type UpdateMixParam struct { LayoutTemplate *string `json:"layout_template,omitempty"` BackgroundImage *string `json:"background_image,omitempty"` DefaultUserBackgroundImage *string `json:"default_user_background_image,omitempty"` ScreenBackgroundImage *string `json:"screen_background_image,omitempty"` MaxIdleTime *int32 `json:"max_idle_time,omitempty"` LayoutPanes *[]MixLayoutPane `json:"layout_panes,omitempty"` UserBackgroundImages *[]MixUserBackgroundImage `json:"user_background_images,omitempty"` }
可修改的合流参数
func (UpdateMixParam) String ¶
func (o UpdateMixParam) String() string
Source Files ¶
- model_create_individual_stream_job_request.go
- model_create_individual_stream_job_response.go
- model_create_mix_job_request.go
- model_create_mix_job_response.go
- model_individual_stream_job_req.go
- model_mix_job_req.go
- model_mix_layout_pane.go
- model_mix_param.go
- model_mix_user_background_image.go
- model_publish_param.go
- model_record_param.go
- model_show_individual_stream_job_request.go
- model_show_individual_stream_job_response.go
- model_show_mix_job_request.go
- model_show_mix_job_response.go
- model_stop_individual_stream_job_request.go
- model_stop_individual_stream_job_response.go
- model_stop_mix_job_request.go
- model_stop_mix_job_response.go
- model_update_mix_job_req.go
- model_update_mix_job_request.go
- model_update_mix_job_response.go
- model_update_mix_param.go