model

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	AppName *string `json:"app_name,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	State *AppState `json:"state,omitempty"`

	Scope *AppScope `json:"scope,omitempty"`

	TenantName *string `json:"tenant_name,omitempty"`

	Domain *string `json:"domain,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	Authentication *AppAuth `json:"authentication,omitempty"`

	Callbacks *AppCallbacks `json:"callbacks,omitempty"`

	AutoRecordMode *AppAutoRecordMode `json:"auto_record_mode,omitempty"`
}

app详细信息

func (App) String

func (o App) String() string

type AppAuth

type AppAuth struct {
	Enable *bool `json:"enable,omitempty"`

	Expire *int32 `json:"expire,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

鉴权配置

func (AppAuth) String

func (o AppAuth) String() string

type AppAuthReq

type AppAuthReq struct {
	Enable bool `json:"enable"`

	Expire *int32 `json:"expire,omitempty"`
}

修改app鉴权请求

func (AppAuthReq) String

func (o AppAuthReq) String() string

type AppAutoRecordMode

type AppAutoRecordMode struct {
	Mode AppAutoRecordModeMode `json:"mode"`

	RecordRuleId *string `json:"record_rule_id,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

app自动录制模式

func (AppAutoRecordMode) String

func (o AppAutoRecordMode) String() string

type AppAutoRecordModeMode

type AppAutoRecordModeMode struct {
	// contains filtered or unexported fields
}

func (AppAutoRecordModeMode) MarshalJSON

func (c AppAutoRecordModeMode) MarshalJSON() ([]byte, error)

func (*AppAutoRecordModeMode) UnmarshalJSON

func (c *AppAutoRecordModeMode) UnmarshalJSON(b []byte) error

type AppAutoRecordModeModeEnum

type AppAutoRecordModeModeEnum struct {
	AUTO_RECORD_OFF        AppAutoRecordModeMode
	AUTO_INDIVIDUAL_RECORD AppAutoRecordModeMode
}

func GetAppAutoRecordModeModeEnum

func GetAppAutoRecordModeModeEnum() AppAutoRecordModeModeEnum

type AppCallbackUrl

type AppCallbackUrl struct {
	Url *string `json:"url,omitempty"`

	AuthKey *string `json:"auth_key,omitempty"`

	NotifyEventSubscription *[]AppCallbackUrlNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

回调配置

func (AppCallbackUrl) String

func (o AppCallbackUrl) String() string

type AppCallbackUrlNotifyEventSubscription

type AppCallbackUrlNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (AppCallbackUrlNotifyEventSubscription) MarshalJSON

func (c AppCallbackUrlNotifyEventSubscription) MarshalJSON() ([]byte, error)

func (*AppCallbackUrlNotifyEventSubscription) UnmarshalJSON

func (c *AppCallbackUrlNotifyEventSubscription) UnmarshalJSON(b []byte) error

type AppCallbackUrlNotifyEventSubscriptionEnum

type AppCallbackUrlNotifyEventSubscriptionEnum struct {
	RECORD_NEW_FILE_START AppCallbackUrlNotifyEventSubscription
	RECORD_FILE_COMPLETE  AppCallbackUrlNotifyEventSubscription
}

func GetAppCallbackUrlNotifyEventSubscriptionEnum

func GetAppCallbackUrlNotifyEventSubscriptionEnum() AppCallbackUrlNotifyEventSubscriptionEnum

type AppCallbackUrlReq

type AppCallbackUrlReq struct {
	Url string `json:"url"`

	AuthKey *string `json:"auth_key,omitempty"`
}

修改app回调请求

func (AppCallbackUrlReq) String

func (o AppCallbackUrlReq) String() string

type AppCallbacks

type AppCallbacks struct {
	PushCallback *AppCallbackUrl `json:"push_callback,omitempty"`

	RecordCallback *AppCallbackUrl `json:"record_callback,omitempty"`
}

app回调配置

func (AppCallbacks) String

func (o AppCallbacks) String() string

type AppReq

type AppReq struct {
	AppName string `json:"app_name"`
}

创建应用请求体

func (AppReq) String

func (o AppReq) String() string

type AppScope

type AppScope struct {
	// contains filtered or unexported fields
}

func (AppScope) MarshalJSON

func (c AppScope) MarshalJSON() ([]byte, error)

func (*AppScope) UnmarshalJSON

func (c *AppScope) UnmarshalJSON(b []byte) error

type AppScopeEnum

type AppScopeEnum struct {
	DOMESTIC AppScope
	OVERSEA  AppScope
	GLOBAL   AppScope
}

func GetAppScopeEnum

func GetAppScopeEnum() AppScopeEnum

type AppState

type AppState struct {
	State *AppStateState `json:"state,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

app状态信息

func (AppState) String

func (o AppState) String() string

type AppStateState

type AppStateState struct {
	// contains filtered or unexported fields
}

func (AppStateState) MarshalJSON

func (c AppStateState) MarshalJSON() ([]byte, error)

func (*AppStateState) UnmarshalJSON

func (c *AppStateState) UnmarshalJSON(b []byte) error

type AppStateStateEnum

type AppStateStateEnum struct {
	ACTIVATION   AppStateState
	DEACTIVATION AppStateState
	ARREARS      AppStateState
	DELETED      AppStateState
}

func GetAppStateStateEnum

func GetAppStateStateEnum() AppStateStateEnum

type AutoRecordModeReq

type AutoRecordModeReq struct {
	Mode AutoRecordModeReqMode `json:"mode"`

	RecordRuleId *string `json:"record_rule_id,omitempty"`
}

配置app自动录制模式请求

func (AutoRecordModeReq) String

func (o AutoRecordModeReq) String() string

type AutoRecordModeReqMode

type AutoRecordModeReqMode struct {
	// contains filtered or unexported fields
}

func (AutoRecordModeReqMode) MarshalJSON

func (c AutoRecordModeReqMode) MarshalJSON() ([]byte, error)

func (*AutoRecordModeReqMode) UnmarshalJSON

func (c *AutoRecordModeReqMode) UnmarshalJSON(b []byte) error

type AutoRecordModeReqModeEnum

type AutoRecordModeReqModeEnum struct {
	AUTO_RECORD_OFF        AutoRecordModeReqMode
	AUTO_INDIVIDUAL_RECORD AutoRecordModeReqMode
}

func GetAutoRecordModeReqModeEnum

func GetAutoRecordModeReqModeEnum() AutoRecordModeReqModeEnum

type CreateAppRequest

type CreateAppRequest struct {
	Authorization *string `json:"Authorization,omitempty"`

	XSdkDate *string `json:"X-Sdk-Date,omitempty"`

	XProjectId *string `json:"X-Project-Id,omitempty"`

	Body *AppReq `json:"body,omitempty"`
}

Request Object

func (CreateAppRequest) String

func (o CreateAppRequest) String() string

type CreateAppResponse

type CreateAppResponse struct {
	AppId *string `json:"app_id,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAppResponse) String

func (o CreateAppResponse) String() string

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

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

type CreateIndividualStreamJobResponseSelectStreamType

type CreateIndividualStreamJobResponseSelectStreamType struct {
	// contains filtered or unexported fields
}

func (CreateIndividualStreamJobResponseSelectStreamType) MarshalJSON

func (*CreateIndividualStreamJobResponseSelectStreamType) UnmarshalJSON

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 CreateIndividualStreamJobResponseStopReason

type CreateIndividualStreamJobResponseStopReason struct {
	// contains filtered or unexported fields
}

func (CreateIndividualStreamJobResponseStopReason) MarshalJSON

func (*CreateIndividualStreamJobResponseStopReason) UnmarshalJSON

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 (*CreateIndividualStreamJobResponseVideoType) UnmarshalJSON

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 CreateRecordRuleRequest

type CreateRecordRuleRequest 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 *RecordRuleReq `json:"body,omitempty"`
}

Request Object

func (CreateRecordRuleRequest) String

func (o CreateRecordRuleRequest) String() string

type CreateRecordRuleResponse

type CreateRecordRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr,omitempty"`

	RecordFormats *[]CreateRecordRuleResponseRecordFormats `json:"record_formats,omitempty"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRecordRuleResponse) String

func (o CreateRecordRuleResponse) String() string

type CreateRecordRuleResponseRecordFormats

type CreateRecordRuleResponseRecordFormats struct {
	// contains filtered or unexported fields
}

func (CreateRecordRuleResponseRecordFormats) MarshalJSON

func (c CreateRecordRuleResponseRecordFormats) MarshalJSON() ([]byte, error)

func (*CreateRecordRuleResponseRecordFormats) UnmarshalJSON

func (c *CreateRecordRuleResponseRecordFormats) UnmarshalJSON(b []byte) error

type CreateRecordRuleResponseRecordFormatsEnum

type CreateRecordRuleResponseRecordFormatsEnum struct {
	HLS CreateRecordRuleResponseRecordFormats
	MP4 CreateRecordRuleResponseRecordFormats
}

func GetCreateRecordRuleResponseRecordFormatsEnum

func GetCreateRecordRuleResponseRecordFormatsEnum() CreateRecordRuleResponseRecordFormatsEnum

type DeleteAppRequest

type DeleteAppRequest 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"`
}

Request Object

func (DeleteAppRequest) String

func (o DeleteAppRequest) String() string

type DeleteAppResponse

type DeleteAppResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAppResponse) String

func (o DeleteAppResponse) String() string

type DeleteRecordRuleRequest

type DeleteRecordRuleRequest 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"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteRecordRuleRequest) String

func (o DeleteRecordRuleRequest) String() string

type DeleteRecordRuleResponse

type DeleteRecordRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteRecordRuleResponse) String

func (o DeleteRecordRuleResponse) String() string

type HlsRecordConfig

type HlsRecordConfig struct {
	RecordCycle int32 `json:"record_cycle"`

	RecordPrefix *string `json:"record_prefix,omitempty"`

	RecordSliceDuration *int32 `json:"record_slice_duration,omitempty"`

	RecordMaxDurationToMergeFile *int32 `json:"record_max_duration_to_merge_file,omitempty"`
}

func (HlsRecordConfig) String

func (o HlsRecordConfig) String() string

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 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 ListAppsRequest

type ListAppsRequest struct {
	Authorization *string `json:"Authorization,omitempty"`

	XSdkDate *string `json:"X-Sdk-Date,omitempty"`

	XProjectId *string `json:"X-Project-Id,omitempty"`

	State *ListAppsRequestState `json:"state,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListAppsRequest) String

func (o ListAppsRequest) String() string

type ListAppsRequestState

type ListAppsRequestState struct {
	// contains filtered or unexported fields
}

func (ListAppsRequestState) MarshalJSON

func (c ListAppsRequestState) MarshalJSON() ([]byte, error)

func (*ListAppsRequestState) UnmarshalJSON

func (c *ListAppsRequestState) UnmarshalJSON(b []byte) error

type ListAppsRequestStateEnum

type ListAppsRequestStateEnum struct {
	ACTIVATION   ListAppsRequestState
	DEACTIVATION ListAppsRequestState
	ARREARS      ListAppsRequestState
}

func GetListAppsRequestStateEnum

func GetListAppsRequestStateEnum() ListAppsRequestStateEnum

type ListAppsResponse

type ListAppsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Apps *[]App `json:"apps,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListAppsResponse) String

func (o ListAppsResponse) String() string

type ListRecordRulesRequest

type ListRecordRulesRequest 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"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListRecordRulesRequest) String

func (o ListRecordRulesRequest) String() string

type ListRecordRulesResponse

type ListRecordRulesResponse struct {
	Rules *[]RecordRule `json:"rules,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRecordRulesResponse) String

func (o ListRecordRulesResponse) String() string

type MixJobReq

type MixJobReq struct {
	MixParam *MixParam `json:"mix_param"`

	PublishParam *PublishParam `json:"publish_param,omitempty"`

	RecordParam *RecordParam `json:"record_param,omitempty"`
}

合流任务参数,转推和录制至少选一个

func (MixJobReq) String

func (o MixJobReq) String() string

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必须非空。 音频合流会动态选择最大三方的声音

func (MixParam) String

func (o MixParam) String() string

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 Mp4RecordConfig

type Mp4RecordConfig struct {
	RecordCycle int32 `json:"record_cycle"`

	RecordPrefix *string `json:"record_prefix,omitempty"`

	RecordMaxDurationToMergeFile *int32 `json:"record_max_duration_to_merge_file,omitempty"`
}

func (Mp4RecordConfig) String

func (o Mp4RecordConfig) String() string

type PublishParam

type PublishParam struct {
	RtmpUrls []string `json:"rtmp_urls"`
}

转推参数

func (PublishParam) String

func (o PublishParam) String() string

type RecordObsFileAddr

type RecordObsFileAddr struct {
	Location RecordObsFileAddrLocation `json:"location"`

	ProjectId string `json:"project_id"`

	Bucket string `json:"bucket"`

	Object *string `json:"object,omitempty"`
}

func (RecordObsFileAddr) String

func (o RecordObsFileAddr) String() string

type RecordObsFileAddrLocation

type RecordObsFileAddrLocation struct {
	// contains filtered or unexported fields
}

func (RecordObsFileAddrLocation) MarshalJSON

func (c RecordObsFileAddrLocation) MarshalJSON() ([]byte, error)

func (*RecordObsFileAddrLocation) UnmarshalJSON

func (c *RecordObsFileAddrLocation) UnmarshalJSON(b []byte) error

type RecordObsFileAddrLocationEnum

type RecordObsFileAddrLocationEnum struct {
	CN_NORTH_4 RecordObsFileAddrLocation
}

func GetRecordObsFileAddrLocationEnum

func GetRecordObsFileAddrLocationEnum() RecordObsFileAddrLocationEnum

type RecordParam

type RecordParam struct {
	RecordRuleId string `json:"record_rule_id"`
}

录制参数

func (RecordParam) String

func (o RecordParam) String() string

type RecordRule

type RecordRule struct {
	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr,omitempty"`

	RecordFormats *[]RecordRuleRecordFormats `json:"record_formats,omitempty"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

创建状态回调请求体

func (RecordRule) String

func (o RecordRule) String() string

type RecordRuleRecordFormats

type RecordRuleRecordFormats struct {
	// contains filtered or unexported fields
}

func (RecordRuleRecordFormats) MarshalJSON

func (c RecordRuleRecordFormats) MarshalJSON() ([]byte, error)

func (*RecordRuleRecordFormats) UnmarshalJSON

func (c *RecordRuleRecordFormats) UnmarshalJSON(b []byte) error

type RecordRuleRecordFormatsEnum

type RecordRuleRecordFormatsEnum struct {
	HLS RecordRuleRecordFormats
	MP4 RecordRuleRecordFormats
}

func GetRecordRuleRecordFormatsEnum

func GetRecordRuleRecordFormatsEnum() RecordRuleRecordFormatsEnum

type RecordRuleReq

type RecordRuleReq struct {
	ObsAddr *RecordObsFileAddr `json:"obs_addr"`

	RecordFormats []RecordRuleReqRecordFormats `json:"record_formats"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`
}

修改录制规则

func (RecordRuleReq) String

func (o RecordRuleReq) String() string

type RecordRuleReqRecordFormats

type RecordRuleReqRecordFormats struct {
	// contains filtered or unexported fields
}

func (RecordRuleReqRecordFormats) MarshalJSON

func (c RecordRuleReqRecordFormats) MarshalJSON() ([]byte, error)

func (*RecordRuleReqRecordFormats) UnmarshalJSON

func (c *RecordRuleReqRecordFormats) UnmarshalJSON(b []byte) error

type RecordRuleReqRecordFormatsEnum

type RecordRuleReqRecordFormatsEnum struct {
	HLS RecordRuleReqRecordFormats
	MP4 RecordRuleReqRecordFormats
}

func GetRecordRuleReqRecordFormatsEnum

func GetRecordRuleReqRecordFormatsEnum() RecordRuleReqRecordFormatsEnum

type ShowAppRequest

type ShowAppRequest 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"`
}

Request Object

func (ShowAppRequest) String

func (o ShowAppRequest) String() string

type ShowAppResponse

type ShowAppResponse struct {
	AppName *string `json:"app_name,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	State *AppState `json:"state,omitempty"`

	Scope *ShowAppResponseScope `json:"scope,omitempty"`

	TenantName *string `json:"tenant_name,omitempty"`

	Domain *string `json:"domain,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	Authentication *AppAuth `json:"authentication,omitempty"`

	Callbacks *AppCallbacks `json:"callbacks,omitempty"`

	AutoRecordMode *AppAutoRecordMode `json:"auto_record_mode,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAppResponse) String

func (o ShowAppResponse) String() string

type ShowAppResponseScope

type ShowAppResponseScope struct {
	// contains filtered or unexported fields
}

func (ShowAppResponseScope) MarshalJSON

func (c ShowAppResponseScope) MarshalJSON() ([]byte, error)

func (*ShowAppResponseScope) UnmarshalJSON

func (c *ShowAppResponseScope) UnmarshalJSON(b []byte) error

type ShowAppResponseScopeEnum

type ShowAppResponseScopeEnum struct {
	DOMESTIC ShowAppResponseScope
	OVERSEA  ShowAppResponseScope
	GLOBAL   ShowAppResponseScope
}

func GetShowAppResponseScopeEnum

func GetShowAppResponseScopeEnum() ShowAppResponseScopeEnum

type ShowAutoRecordRequest

type ShowAutoRecordRequest 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"`
}

Request Object

func (ShowAutoRecordRequest) String

func (o ShowAutoRecordRequest) String() string

type ShowAutoRecordResponse

type ShowAutoRecordResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AutoRecordMode *AppAutoRecordMode `json:"auto_record_mode,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAutoRecordResponse) String

func (o ShowAutoRecordResponse) 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

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

type ShowIndividualStreamJobResponseSelectStreamType

type ShowIndividualStreamJobResponseSelectStreamType struct {
	// contains filtered or unexported fields
}

func (ShowIndividualStreamJobResponseSelectStreamType) MarshalJSON

func (*ShowIndividualStreamJobResponseSelectStreamType) UnmarshalJSON

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 ShowIndividualStreamJobResponseStopReason

type ShowIndividualStreamJobResponseStopReason struct {
	// contains filtered or unexported fields
}

func (ShowIndividualStreamJobResponseStopReason) MarshalJSON

func (*ShowIndividualStreamJobResponseStopReason) UnmarshalJSON

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 (*ShowIndividualStreamJobResponseVideoType) UnmarshalJSON

func (c *ShowIndividualStreamJobResponseVideoType) UnmarshalJSON(b []byte) error

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 ShowRecordCallbackRequest

type ShowRecordCallbackRequest 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"`
}

Request Object

func (ShowRecordCallbackRequest) String

func (o ShowRecordCallbackRequest) String() string

type ShowRecordCallbackResponse

type ShowRecordCallbackResponse struct {
	AppId *string `json:"app_id,omitempty"`

	RecordCallback *AppCallbackUrl `json:"record_callback,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRecordCallbackResponse) String

type ShowRecordRuleRequest

type ShowRecordRuleRequest 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"`

	RuleId string `json:"rule_id"`
}

Request Object

func (ShowRecordRuleRequest) String

func (o ShowRecordRuleRequest) String() string

type ShowRecordRuleResponse

type ShowRecordRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr,omitempty"`

	RecordFormats *[]ShowRecordRuleResponseRecordFormats `json:"record_formats,omitempty"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRecordRuleResponse) String

func (o ShowRecordRuleResponse) String() string

type ShowRecordRuleResponseRecordFormats

type ShowRecordRuleResponseRecordFormats struct {
	// contains filtered or unexported fields
}

func (ShowRecordRuleResponseRecordFormats) MarshalJSON

func (c ShowRecordRuleResponseRecordFormats) MarshalJSON() ([]byte, error)

func (*ShowRecordRuleResponseRecordFormats) UnmarshalJSON

func (c *ShowRecordRuleResponseRecordFormats) UnmarshalJSON(b []byte) error

type ShowRecordRuleResponseRecordFormatsEnum

type ShowRecordRuleResponseRecordFormatsEnum struct {
	HLS ShowRecordRuleResponseRecordFormats
	MP4 ShowRecordRuleResponseRecordFormats
}

func GetShowRecordRuleResponseRecordFormatsEnum

func GetShowRecordRuleResponseRecordFormatsEnum() ShowRecordRuleResponseRecordFormatsEnum

type ShowUrlAuthRequest

type ShowUrlAuthRequest 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"`
}

Request Object

func (ShowUrlAuthRequest) String

func (o ShowUrlAuthRequest) String() string

type ShowUrlAuthResponse

type ShowUrlAuthResponse struct {
	AppId *string `json:"app_id,omitempty"`

	Authentication *AppAuth `json:"authentication,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowUrlAuthResponse) String

func (o ShowUrlAuthResponse) String() string

type StartAppRequest

type StartAppRequest 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"`
}

Request Object

func (StartAppRequest) String

func (o StartAppRequest) String() string

type StartAppResponse

type StartAppResponse struct {
	AppId *string `json:"app_id,omitempty"`

	State *AppState `json:"state,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartAppResponse) String

func (o StartAppResponse) String() string

type StopAppRequest

type StopAppRequest 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"`
}

Request Object

func (StopAppRequest) String

func (o StopAppRequest) String() string

type StopAppResponse

type StopAppResponse struct {
	AppId *string `json:"app_id,omitempty"`

	State *AppState `json:"state,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StopAppResponse) String

func (o StopAppResponse) String() string

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

type StopIndividualStreamJobResponse

type StopIndividualStreamJobResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (StopIndividualStreamJobResponse) 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 UpdateAutoRecordRequest

type UpdateAutoRecordRequest 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 *AutoRecordModeReq `json:"body,omitempty"`
}

Request Object

func (UpdateAutoRecordRequest) String

func (o UpdateAutoRecordRequest) String() string

type UpdateAutoRecordResponse

type UpdateAutoRecordResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AutoRecordMode *AppAutoRecordMode `json:"auto_record_mode,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAutoRecordResponse) String

func (o UpdateAutoRecordResponse) 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

type UpdateRecordCallbackRequest

type UpdateRecordCallbackRequest 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 *AppCallbackUrlReq `json:"body,omitempty"`
}

Request Object

func (UpdateRecordCallbackRequest) String

type UpdateRecordCallbackResponse

type UpdateRecordCallbackResponse struct {
	AppId *string `json:"app_id,omitempty"`

	RecordCallback *AppCallbackUrl `json:"record_callback,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateRecordCallbackResponse) String

type UpdateRecordRuleRequest

type UpdateRecordRuleRequest 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"`

	RuleId string `json:"rule_id"`

	Body *RecordRuleReq `json:"body,omitempty"`
}

Request Object

func (UpdateRecordRuleRequest) String

func (o UpdateRecordRuleRequest) String() string

type UpdateRecordRuleResponse

type UpdateRecordRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr,omitempty"`

	RecordFormats *[]UpdateRecordRuleResponseRecordFormats `json:"record_formats,omitempty"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateRecordRuleResponse) String

func (o UpdateRecordRuleResponse) String() string

type UpdateRecordRuleResponseRecordFormats

type UpdateRecordRuleResponseRecordFormats struct {
	// contains filtered or unexported fields
}

func (UpdateRecordRuleResponseRecordFormats) MarshalJSON

func (c UpdateRecordRuleResponseRecordFormats) MarshalJSON() ([]byte, error)

func (*UpdateRecordRuleResponseRecordFormats) UnmarshalJSON

func (c *UpdateRecordRuleResponseRecordFormats) UnmarshalJSON(b []byte) error

type UpdateRecordRuleResponseRecordFormatsEnum

type UpdateRecordRuleResponseRecordFormatsEnum struct {
	HLS UpdateRecordRuleResponseRecordFormats
	MP4 UpdateRecordRuleResponseRecordFormats
}

func GetUpdateRecordRuleResponseRecordFormatsEnum

func GetUpdateRecordRuleResponseRecordFormatsEnum() UpdateRecordRuleResponseRecordFormatsEnum

type UpdateUrlAuthRequest

type UpdateUrlAuthRequest 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 *AppAuthReq `json:"body,omitempty"`
}

Request Object

func (UpdateUrlAuthRequest) String

func (o UpdateUrlAuthRequest) String() string

type UpdateUrlAuthResponse

type UpdateUrlAuthResponse struct {
	AppId *string `json:"app_id,omitempty"`

	Authentication *AppAuth `json:"authentication,omitempty"`

	XRequestId     *string `json:"X-request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateUrlAuthResponse) String

func (o UpdateUrlAuthResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL