model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App added in v0.0.53

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 added in v0.0.53

func (o App) String() string

type AppAuth added in v0.0.53

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 added in v0.0.53

func (o AppAuth) String() string

type AppAuthReq added in v0.0.53

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

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

修改app鉴权请求

func (AppAuthReq) String added in v0.0.53

func (o AppAuthReq) String() string

type AppAutoRecordMode added in v0.0.53

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

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

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

app自动录制模式

func (AppAutoRecordMode) String added in v0.0.53

func (o AppAutoRecordMode) String() string

type AppAutoRecordModeMode added in v0.0.53

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

func (AppAutoRecordModeMode) MarshalJSON added in v0.0.53

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

func (*AppAutoRecordModeMode) UnmarshalJSON added in v0.0.53

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

type AppAutoRecordModeModeEnum added in v0.0.53

type AppAutoRecordModeModeEnum struct {
	AUTO_RECORD_OFF        AppAutoRecordModeMode
	AUTO_INDIVIDUAL_RECORD AppAutoRecordModeMode
}

func GetAppAutoRecordModeModeEnum added in v0.0.53

func GetAppAutoRecordModeModeEnum() AppAutoRecordModeModeEnum

type AppCallbackUrl added in v0.0.53

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 added in v0.0.53

func (o AppCallbackUrl) String() string

type AppCallbackUrlNotifyEventSubscription added in v0.0.53

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

func (AppCallbackUrlNotifyEventSubscription) MarshalJSON added in v0.0.53

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

func (*AppCallbackUrlNotifyEventSubscription) UnmarshalJSON added in v0.0.53

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

type AppCallbackUrlNotifyEventSubscriptionEnum added in v0.0.53

type AppCallbackUrlNotifyEventSubscriptionEnum struct {
	RECORD_NEW_FILE_START AppCallbackUrlNotifyEventSubscription
	RECORD_FILE_COMPLETE  AppCallbackUrlNotifyEventSubscription
}

func GetAppCallbackUrlNotifyEventSubscriptionEnum added in v0.0.53

func GetAppCallbackUrlNotifyEventSubscriptionEnum() AppCallbackUrlNotifyEventSubscriptionEnum

type AppCallbackUrlReq added in v0.0.53

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

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

修改app回调请求

func (AppCallbackUrlReq) String added in v0.0.53

func (o AppCallbackUrlReq) String() string

type AppCallbacks added in v0.0.53

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

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

app回调配置

func (AppCallbacks) String added in v0.0.53

func (o AppCallbacks) String() string

type AppReq added in v0.0.53

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

创建应用请求体

func (AppReq) String added in v0.0.53

func (o AppReq) String() string

type AppScope added in v0.0.53

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

func (AppScope) MarshalJSON added in v0.0.53

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

func (*AppScope) UnmarshalJSON added in v0.0.53

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

type AppScopeEnum added in v0.0.53

type AppScopeEnum struct {
	DOMESTIC AppScope
	OVERSEA  AppScope
	GLOBAL   AppScope
}

func GetAppScopeEnum added in v0.0.53

func GetAppScopeEnum() AppScopeEnum

type AppState added in v0.0.53

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

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

app状态信息

func (AppState) String added in v0.0.53

func (o AppState) String() string

type AppStateState added in v0.0.53

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

func (AppStateState) MarshalJSON added in v0.0.53

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

func (*AppStateState) UnmarshalJSON added in v0.0.53

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

type AppStateStateEnum added in v0.0.53

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

func GetAppStateStateEnum added in v0.0.53

func GetAppStateStateEnum() AppStateStateEnum

type AutoRecordModeReq added in v0.0.53

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

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

配置app自动录制模式请求

func (AutoRecordModeReq) String added in v0.0.53

func (o AutoRecordModeReq) String() string

type AutoRecordModeReqMode added in v0.0.53

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

func (AutoRecordModeReqMode) MarshalJSON added in v0.0.53

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

func (*AutoRecordModeReqMode) UnmarshalJSON added in v0.0.53

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

type AutoRecordModeReqModeEnum added in v0.0.53

type AutoRecordModeReqModeEnum struct {
	AUTO_RECORD_OFF        AutoRecordModeReqMode
	AUTO_INDIVIDUAL_RECORD AutoRecordModeReqMode
}

func GetAutoRecordModeReqModeEnum added in v0.0.53

func GetAutoRecordModeReqModeEnum() AutoRecordModeReqModeEnum

type CreateAppRequest added in v0.0.53

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 added in v0.0.53

func (o CreateAppRequest) String() string

type CreateAppResponse added in v0.0.53

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

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

Response Object

func (CreateAppResponse) String added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

func (o CreateRecordRuleRequest) String() string

type CreateRecordRuleResponse added in v0.0.53

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 added in v0.0.53

func (o CreateRecordRuleResponse) String() string

type CreateRecordRuleResponseRecordFormats added in v0.0.53

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

func (CreateRecordRuleResponseRecordFormats) MarshalJSON added in v0.0.53

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

func (*CreateRecordRuleResponseRecordFormats) UnmarshalJSON added in v0.0.53

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

type CreateRecordRuleResponseRecordFormatsEnum added in v0.0.53

type CreateRecordRuleResponseRecordFormatsEnum struct {
	HLS CreateRecordRuleResponseRecordFormats
	MP4 CreateRecordRuleResponseRecordFormats
}

func GetCreateRecordRuleResponseRecordFormatsEnum added in v0.0.53

func GetCreateRecordRuleResponseRecordFormatsEnum() CreateRecordRuleResponseRecordFormatsEnum

type DeleteAppRequest added in v0.0.53

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 added in v0.0.53

func (o DeleteAppRequest) String() string

type DeleteAppResponse added in v0.0.53

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

Response Object

func (DeleteAppResponse) String added in v0.0.53

func (o DeleteAppResponse) String() string

type DeleteRecordRuleRequest added in v0.0.53

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 added in v0.0.53

func (o DeleteRecordRuleRequest) String() string

type DeleteRecordRuleResponse added in v0.0.53

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

Response Object

func (DeleteRecordRuleResponse) String added in v0.0.53

func (o DeleteRecordRuleResponse) String() string

type HlsRecordConfig added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

func (o ListAppsRequest) String() string

type ListAppsRequestState added in v0.0.53

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

func (ListAppsRequestState) MarshalJSON added in v0.0.53

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

func (*ListAppsRequestState) UnmarshalJSON added in v0.0.53

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

type ListAppsRequestStateEnum added in v0.0.53

type ListAppsRequestStateEnum struct {
	ACTIVATION   ListAppsRequestState
	DEACTIVATION ListAppsRequestState
	ARREARS      ListAppsRequestState
}

func GetListAppsRequestStateEnum added in v0.0.53

func GetListAppsRequestStateEnum() ListAppsRequestStateEnum

type ListAppsResponse added in v0.0.53

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 added in v0.0.53

func (o ListAppsResponse) String() string

type ListRecordRulesRequest added in v0.0.53

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 added in v0.0.53

func (o ListRecordRulesRequest) String() string

type ListRecordRulesResponse added in v0.0.53

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

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

Response Object

func (ListRecordRulesResponse) String added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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

	ProjectId string `json:"project_id"`

	Bucket string `json:"bucket"`

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

func (RecordObsFileAddr) String added in v0.0.53

func (o RecordObsFileAddr) String() string

type RecordObsFileAddrLocation added in v0.0.53

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

func (RecordObsFileAddrLocation) MarshalJSON added in v0.0.53

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

func (*RecordObsFileAddrLocation) UnmarshalJSON added in v0.0.53

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

type RecordObsFileAddrLocationEnum added in v0.0.53

type RecordObsFileAddrLocationEnum struct {
	CN_NORTH_4 RecordObsFileAddrLocation
}

func GetRecordObsFileAddrLocationEnum added in v0.0.53

func GetRecordObsFileAddrLocationEnum() RecordObsFileAddrLocationEnum

type RecordParam

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

录制参数

func (RecordParam) String

func (o RecordParam) String() string

type RecordRule added in v0.0.53

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 added in v0.0.53

func (o RecordRule) String() string

type RecordRuleRecordFormats added in v0.0.53

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

func (RecordRuleRecordFormats) MarshalJSON added in v0.0.53

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

func (*RecordRuleRecordFormats) UnmarshalJSON added in v0.0.53

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

type RecordRuleRecordFormatsEnum added in v0.0.53

type RecordRuleRecordFormatsEnum struct {
	HLS RecordRuleRecordFormats
	MP4 RecordRuleRecordFormats
}

func GetRecordRuleRecordFormatsEnum added in v0.0.53

func GetRecordRuleRecordFormatsEnum() RecordRuleRecordFormatsEnum

type RecordRuleReq added in v0.0.53

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 added in v0.0.53

func (o RecordRuleReq) String() string

type RecordRuleReqRecordFormats added in v0.0.53

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

func (RecordRuleReqRecordFormats) MarshalJSON added in v0.0.53

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

func (*RecordRuleReqRecordFormats) UnmarshalJSON added in v0.0.53

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

type RecordRuleReqRecordFormatsEnum added in v0.0.53

type RecordRuleReqRecordFormatsEnum struct {
	HLS RecordRuleReqRecordFormats
	MP4 RecordRuleReqRecordFormats
}

func GetRecordRuleReqRecordFormatsEnum added in v0.0.53

func GetRecordRuleReqRecordFormatsEnum() RecordRuleReqRecordFormatsEnum

type ShowAppRequest added in v0.0.53

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 added in v0.0.53

func (o ShowAppRequest) String() string

type ShowAppResponse added in v0.0.53

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 added in v0.0.53

func (o ShowAppResponse) String() string

type ShowAppResponseScope added in v0.0.53

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

func (ShowAppResponseScope) MarshalJSON added in v0.0.53

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

func (*ShowAppResponseScope) UnmarshalJSON added in v0.0.53

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

type ShowAppResponseScopeEnum added in v0.0.53

type ShowAppResponseScopeEnum struct {
	DOMESTIC ShowAppResponseScope
	OVERSEA  ShowAppResponseScope
	GLOBAL   ShowAppResponseScope
}

func GetShowAppResponseScopeEnum added in v0.0.53

func GetShowAppResponseScopeEnum() ShowAppResponseScopeEnum

type ShowAutoRecordRequest added in v0.0.53

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 added in v0.0.53

func (o ShowAutoRecordRequest) String() string

type ShowAutoRecordResponse added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

func (o ShowRecordCallbackRequest) String() string

type ShowRecordCallbackResponse added in v0.0.53

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 added in v0.0.53

type ShowRecordRuleRequest added in v0.0.53

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 added in v0.0.53

func (o ShowRecordRuleRequest) String() string

type ShowRecordRuleResponse added in v0.0.53

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 added in v0.0.53

func (o ShowRecordRuleResponse) String() string

type ShowRecordRuleResponseRecordFormats added in v0.0.53

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

func (ShowRecordRuleResponseRecordFormats) MarshalJSON added in v0.0.53

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

func (*ShowRecordRuleResponseRecordFormats) UnmarshalJSON added in v0.0.53

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

type ShowRecordRuleResponseRecordFormatsEnum added in v0.0.53

type ShowRecordRuleResponseRecordFormatsEnum struct {
	HLS ShowRecordRuleResponseRecordFormats
	MP4 ShowRecordRuleResponseRecordFormats
}

func GetShowRecordRuleResponseRecordFormatsEnum added in v0.0.53

func GetShowRecordRuleResponseRecordFormatsEnum() ShowRecordRuleResponseRecordFormatsEnum

type ShowUrlAuthRequest added in v0.0.53

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 added in v0.0.53

func (o ShowUrlAuthRequest) String() string

type ShowUrlAuthResponse added in v0.0.53

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 added in v0.0.53

func (o ShowUrlAuthResponse) String() string

type StartAppRequest added in v0.0.53

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 added in v0.0.53

func (o StartAppRequest) String() string

type StartAppResponse added in v0.0.53

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 added in v0.0.53

func (o StartAppResponse) String() string

type StopAppRequest added in v0.0.53

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 added in v0.0.53

func (o StopAppRequest) String() string

type StopAppResponse added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

func (o UpdateAutoRecordRequest) String() string

type UpdateAutoRecordResponse added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

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 added in v0.0.53

type UpdateRecordCallbackResponse added in v0.0.53

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 added in v0.0.53

type UpdateRecordRuleRequest added in v0.0.53

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 added in v0.0.53

func (o UpdateRecordRuleRequest) String() string

type UpdateRecordRuleResponse added in v0.0.53

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 added in v0.0.53

func (o UpdateRecordRuleResponse) String() string

type UpdateRecordRuleResponseRecordFormats added in v0.0.53

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

func (UpdateRecordRuleResponseRecordFormats) MarshalJSON added in v0.0.53

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

func (*UpdateRecordRuleResponseRecordFormats) UnmarshalJSON added in v0.0.53

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

type UpdateRecordRuleResponseRecordFormatsEnum added in v0.0.53

type UpdateRecordRuleResponseRecordFormatsEnum struct {
	HLS UpdateRecordRuleResponseRecordFormats
	MP4 UpdateRecordRuleResponseRecordFormats
}

func GetUpdateRecordRuleResponseRecordFormatsEnum added in v0.0.53

func GetUpdateRecordRuleResponseRecordFormatsEnum() UpdateRecordRuleResponseRecordFormatsEnum

type UpdateUrlAuthRequest added in v0.0.53

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 added in v0.0.53

func (o UpdateUrlAuthRequest) String() string

type UpdateUrlAuthResponse added in v0.0.53

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 added in v0.0.53

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