Documentation ¶
Overview ¶
Package zlm provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- func NewAddFFmpegSourceRequest(server string, params *AddFFmpegSourceParams) (*http.Request, error)
- func NewAddStreamProxyRequest(server string, params *AddStreamProxyParams) (*http.Request, error)
- func NewAddStreamPusherProxyRequest(server string, params *AddStreamPusherProxyParams) (*http.Request, error)
- func NewBroadcastMessageRequest(server string, params *BroadcastMessageParams) (*http.Request, error)
- func NewCloseRtpServerRequest(server string, params *CloseRtpServerParams) (*http.Request, error)
- func NewCloseStreamRequest(server string, params *CloseStreamParams) (*http.Request, error)
- func NewCloseStreamsRequest(server string, params *CloseStreamsParams) (*http.Request, error)
- func NewConnectRtpServerRequest(server string, params *ConnectRtpServerParams) (*http.Request, error)
- func NewDelFFmpegSourceRequest(server string, params *DelFFmpegSourceParams) (*http.Request, error)
- func NewDelStreamProxyRequest(server string, params *DelStreamProxyParams) (*http.Request, error)
- func NewDelStreamPusherProxyRequest(server string, params *DelStreamPusherProxyParams) (*http.Request, error)
- func NewDeleteRecordDirectoryRequest(server string, params *DeleteRecordDirectoryParams) (*http.Request, error)
- func NewDownloadFileRequest(server string, params *DownloadFileParams) (*http.Request, error)
- func NewGetAllSessionRequest(server string, params *GetAllSessionParams) (*http.Request, error)
- func NewGetApiListRequest(server string, params *GetApiListParams) (*http.Request, error)
- func NewGetMediaInfoRequest(server string, params *GetMediaInfoParams) (*http.Request, error)
- func NewGetMediaListRequest(server string, params *GetMediaListParams) (*http.Request, error)
- func NewGetMediaPlayerListRequest(server string, params *GetMediaPlayerListParams) (*http.Request, error)
- func NewGetMp4RecordFileRequest(server string, params *GetMp4RecordFileParams) (*http.Request, error)
- func NewGetProxyInfoRequest(server string, params *GetProxyInfoParams) (*http.Request, error)
- func NewGetProxyPusherInfoRequest(server string, params *GetProxyPusherInfoParams) (*http.Request, error)
- func NewGetRtpInfoRequest(server string, params *GetRtpInfoParams) (*http.Request, error)
- func NewGetServerConfigRequest(server string, params *GetServerConfigParams) (*http.Request, error)
- func NewGetSnapRequest(server string, params *GetSnapParams) (*http.Request, error)
- func NewGetStatisticRequest(server string, params *GetStatisticParams) (*http.Request, error)
- func NewGetThreadsLoadRequest(server string, params *GetThreadsLoadParams) (*http.Request, error)
- func NewGetWorkThreadsLoadRequest(server string, params *GetWorkThreadsLoadParams) (*http.Request, error)
- func NewIsMediaOnlineRequest(server string, params *IsMediaOnlineParams) (*http.Request, error)
- func NewIsRecordingRequest(server string, params *IsRecordingParams) (*http.Request, error)
- func NewKickSessionRequest(server string, params *KickSessionParams) (*http.Request, error)
- func NewKickSessionsRequest(server string, params *KickSessionsParams) (*http.Request, error)
- func NewListRtpServerRequest(server string, params *ListRtpServerParams) (*http.Request, error)
- func NewLoadMP4FileRequest(server string, params *LoadMP4FileParams) (*http.Request, error)
- func NewOpenRtpServerRequest(server string, params *OpenRtpServerParams) (*http.Request, error)
- func NewPauseRtpCheckRequest(server string, params *PauseRtpCheckParams) (*http.Request, error)
- func NewRestartServerRequest(server string, params *RestartServerParams) (*http.Request, error)
- func NewResumeRtpCheckRequest(server string, params *ResumeRtpCheckParams) (*http.Request, error)
- func NewSeekRecordStampRequest(server string, params *SeekRecordStampParams) (*http.Request, error)
- func NewSetRecordSpeedRequest(server string, params *SetRecordSpeedParams) (*http.Request, error)
- func NewSetServerConfigRequest(server string, params *SetServerConfigParams) (*http.Request, error)
- func NewStartRecordRequest(server string, params *StartRecordParams) (*http.Request, error)
- func NewStartSendRtpPassiveRequest(server string, params *StartSendRtpPassiveParams) (*http.Request, error)
- func NewStartSendRtpRequest(server string, params *StartSendRtpParams) (*http.Request, error)
- func NewStopRecordRequest(server string, params *StopRecordParams) (*http.Request, error)
- func NewStopSendRtpRequest(server string, params *StopSendRtpParams) (*http.Request, error)
- func NewUpdateRtpServerSSRCRequest(server string, params *UpdateRtpServerSSRCParams) (*http.Request, error)
- func NewVersionRequest(server string, params *VersionParams) (*http.Request, error)
- type AddFFmpegSourceParams
- type AddFFmpegSourceResponse
- type AddStreamProxyParams
- type AddStreamProxyResponse
- type AddStreamPusherProxyParams
- type AddStreamPusherProxyResponse
- type BroadcastMessageParams
- type BroadcastMessageResponse
- type Client
- func (c *Client) AddFFmpegSource(ctx context.Context, params *AddFFmpegSourceParams, ...) (*http.Response, error)
- func (c *Client) AddStreamProxy(ctx context.Context, params *AddStreamProxyParams, ...) (*http.Response, error)
- func (c *Client) AddStreamPusherProxy(ctx context.Context, params *AddStreamPusherProxyParams, ...) (*http.Response, error)
- func (c *Client) BroadcastMessage(ctx context.Context, params *BroadcastMessageParams, ...) (*http.Response, error)
- func (c *Client) CloseRtpServer(ctx context.Context, params *CloseRtpServerParams, ...) (*http.Response, error)
- func (c *Client) CloseStream(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CloseStreams(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConnectRtpServer(ctx context.Context, params *ConnectRtpServerParams, ...) (*http.Response, error)
- func (c *Client) DelFFmpegSource(ctx context.Context, params *DelFFmpegSourceParams, ...) (*http.Response, error)
- func (c *Client) DelStreamProxy(ctx context.Context, params *DelStreamProxyParams, ...) (*http.Response, error)
- func (c *Client) DelStreamPusherProxy(ctx context.Context, params *DelStreamPusherProxyParams, ...) (*http.Response, error)
- func (c *Client) DeleteRecordDirectory(ctx context.Context, params *DeleteRecordDirectoryParams, ...) (*http.Response, error)
- func (c *Client) DownloadFile(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllSession(ctx context.Context, params *GetAllSessionParams, ...) (*http.Response, error)
- func (c *Client) GetApiList(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMediaInfo(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMediaList(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMediaPlayerList(ctx context.Context, params *GetMediaPlayerListParams, ...) (*http.Response, error)
- func (c *Client) GetMp4RecordFile(ctx context.Context, params *GetMp4RecordFileParams, ...) (*http.Response, error)
- func (c *Client) GetProxyInfo(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProxyPusherInfo(ctx context.Context, params *GetProxyPusherInfoParams, ...) (*http.Response, error)
- func (c *Client) GetRtpInfo(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetServerConfig(ctx context.Context, params *GetServerConfigParams, ...) (*http.Response, error)
- func (c *Client) GetSnap(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatistic(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetThreadsLoad(ctx context.Context, params *GetThreadsLoadParams, ...) (*http.Response, error)
- func (c *Client) GetWorkThreadsLoad(ctx context.Context, params *GetWorkThreadsLoadParams, ...) (*http.Response, error)
- func (c *Client) IsMediaOnline(ctx context.Context, params *IsMediaOnlineParams, ...) (*http.Response, error)
- func (c *Client) IsRecording(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) KickSession(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) KickSessions(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRtpServer(ctx context.Context, params *ListRtpServerParams, ...) (*http.Response, error)
- func (c *Client) LoadMP4File(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OpenRtpServer(ctx context.Context, params *OpenRtpServerParams, ...) (*http.Response, error)
- func (c *Client) PauseRtpCheck(ctx context.Context, params *PauseRtpCheckParams, ...) (*http.Response, error)
- func (c *Client) RestartServer(ctx context.Context, params *RestartServerParams, ...) (*http.Response, error)
- func (c *Client) ResumeRtpCheck(ctx context.Context, params *ResumeRtpCheckParams, ...) (*http.Response, error)
- func (c *Client) SeekRecordStamp(ctx context.Context, params *SeekRecordStampParams, ...) (*http.Response, error)
- func (c *Client) SetRecordSpeed(ctx context.Context, params *SetRecordSpeedParams, ...) (*http.Response, error)
- func (c *Client) SetServerConfig(ctx context.Context, params *SetServerConfigParams, ...) (*http.Response, error)
- func (c *Client) StartRecord(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StartSendRtp(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StartSendRtpPassive(ctx context.Context, params *StartSendRtpPassiveParams, ...) (*http.Response, error)
- func (c *Client) StopRecord(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StopSendRtp(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateRtpServerSSRC(ctx context.Context, params *UpdateRtpServerSSRCParams, ...) (*http.Response, error)
- func (c *Client) Version(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddFFmpegSourceWithResponse(ctx context.Context, params *AddFFmpegSourceParams, ...) (*AddFFmpegSourceResponse, error)
- func (c *ClientWithResponses) AddStreamProxyWithResponse(ctx context.Context, params *AddStreamProxyParams, ...) (*AddStreamProxyResponse, error)
- func (c *ClientWithResponses) AddStreamPusherProxyWithResponse(ctx context.Context, params *AddStreamPusherProxyParams, ...) (*AddStreamPusherProxyResponse, error)
- func (c *ClientWithResponses) BroadcastMessageWithResponse(ctx context.Context, params *BroadcastMessageParams, ...) (*BroadcastMessageResponse, error)
- func (c *ClientWithResponses) CloseRtpServerWithResponse(ctx context.Context, params *CloseRtpServerParams, ...) (*CloseRtpServerResponse, error)
- func (c *ClientWithResponses) CloseStreamWithResponse(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*CloseStreamResponse, error)
- func (c *ClientWithResponses) CloseStreamsWithResponse(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*CloseStreamsResponse, error)
- func (c *ClientWithResponses) ConnectRtpServerWithResponse(ctx context.Context, params *ConnectRtpServerParams, ...) (*ConnectRtpServerResponse, error)
- func (c *ClientWithResponses) DelFFmpegSourceWithResponse(ctx context.Context, params *DelFFmpegSourceParams, ...) (*DelFFmpegSourceResponse, error)
- func (c *ClientWithResponses) DelStreamProxyWithResponse(ctx context.Context, params *DelStreamProxyParams, ...) (*DelStreamProxyResponse, error)
- func (c *ClientWithResponses) DelStreamPusherProxyWithResponse(ctx context.Context, params *DelStreamPusherProxyParams, ...) (*DelStreamPusherProxyResponse, error)
- func (c *ClientWithResponses) DeleteRecordDirectoryWithResponse(ctx context.Context, params *DeleteRecordDirectoryParams, ...) (*DeleteRecordDirectoryResponse, error)
- func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*DownloadFileResponse, error)
- func (c *ClientWithResponses) GetAllSessionWithResponse(ctx context.Context, params *GetAllSessionParams, ...) (*GetAllSessionResponse, error)
- func (c *ClientWithResponses) GetApiListWithResponse(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*GetApiListResponse, error)
- func (c *ClientWithResponses) GetMediaInfoWithResponse(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*GetMediaInfoResponse, error)
- func (c *ClientWithResponses) GetMediaListWithResponse(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*GetMediaListResponse, error)
- func (c *ClientWithResponses) GetMediaPlayerListWithResponse(ctx context.Context, params *GetMediaPlayerListParams, ...) (*GetMediaPlayerListResponse, error)
- func (c *ClientWithResponses) GetMp4RecordFileWithResponse(ctx context.Context, params *GetMp4RecordFileParams, ...) (*GetMp4RecordFileResponse, error)
- func (c *ClientWithResponses) GetProxyInfoWithResponse(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*GetProxyInfoResponse, error)
- func (c *ClientWithResponses) GetProxyPusherInfoWithResponse(ctx context.Context, params *GetProxyPusherInfoParams, ...) (*GetProxyPusherInfoResponse, error)
- func (c *ClientWithResponses) GetRtpInfoWithResponse(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*GetRtpInfoResponse, error)
- func (c *ClientWithResponses) GetServerConfigWithResponse(ctx context.Context, params *GetServerConfigParams, ...) (*GetServerConfigResponse, error)
- func (c *ClientWithResponses) GetSnapWithResponse(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*GetSnapResponse, error)
- func (c *ClientWithResponses) GetStatisticWithResponse(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*GetStatisticResponse, error)
- func (c *ClientWithResponses) GetThreadsLoadWithResponse(ctx context.Context, params *GetThreadsLoadParams, ...) (*GetThreadsLoadResponse, error)
- func (c *ClientWithResponses) GetWorkThreadsLoadWithResponse(ctx context.Context, params *GetWorkThreadsLoadParams, ...) (*GetWorkThreadsLoadResponse, error)
- func (c *ClientWithResponses) IsMediaOnlineWithResponse(ctx context.Context, params *IsMediaOnlineParams, ...) (*IsMediaOnlineResponse, error)
- func (c *ClientWithResponses) IsRecordingWithResponse(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*IsRecordingResponse, error)
- func (c *ClientWithResponses) KickSessionWithResponse(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*KickSessionResponse, error)
- func (c *ClientWithResponses) KickSessionsWithResponse(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*KickSessionsResponse, error)
- func (c *ClientWithResponses) ListRtpServerWithResponse(ctx context.Context, params *ListRtpServerParams, ...) (*ListRtpServerResponse, error)
- func (c *ClientWithResponses) LoadMP4FileWithResponse(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*LoadMP4FileResponse, error)
- func (c *ClientWithResponses) OpenRtpServerWithResponse(ctx context.Context, params *OpenRtpServerParams, ...) (*OpenRtpServerResponse, error)
- func (c *ClientWithResponses) PauseRtpCheckWithResponse(ctx context.Context, params *PauseRtpCheckParams, ...) (*PauseRtpCheckResponse, error)
- func (c *ClientWithResponses) RestartServerWithResponse(ctx context.Context, params *RestartServerParams, ...) (*RestartServerResponse, error)
- func (c *ClientWithResponses) ResumeRtpCheckWithResponse(ctx context.Context, params *ResumeRtpCheckParams, ...) (*ResumeRtpCheckResponse, error)
- func (c *ClientWithResponses) SeekRecordStampWithResponse(ctx context.Context, params *SeekRecordStampParams, ...) (*SeekRecordStampResponse, error)
- func (c *ClientWithResponses) SetRecordSpeedWithResponse(ctx context.Context, params *SetRecordSpeedParams, ...) (*SetRecordSpeedResponse, error)
- func (c *ClientWithResponses) SetServerConfigWithResponse(ctx context.Context, params *SetServerConfigParams, ...) (*SetServerConfigResponse, error)
- func (c *ClientWithResponses) StartRecordWithResponse(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*StartRecordResponse, error)
- func (c *ClientWithResponses) StartSendRtpPassiveWithResponse(ctx context.Context, params *StartSendRtpPassiveParams, ...) (*StartSendRtpPassiveResponse, error)
- func (c *ClientWithResponses) StartSendRtpWithResponse(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*StartSendRtpResponse, error)
- func (c *ClientWithResponses) StopRecordWithResponse(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*StopRecordResponse, error)
- func (c *ClientWithResponses) StopSendRtpWithResponse(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*StopSendRtpResponse, error)
- func (c *ClientWithResponses) UpdateRtpServerSSRCWithResponse(ctx context.Context, params *UpdateRtpServerSSRCParams, ...) (*UpdateRtpServerSSRCResponse, error)
- func (c *ClientWithResponses) VersionWithResponse(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*VersionResponse, error)
- type ClientWithResponsesInterface
- type CloseRtpServerParams
- type CloseRtpServerResponse
- type CloseStreamParams
- type CloseStreamResponse
- type CloseStreamsParams
- type CloseStreamsResponse
- type ConnectRtpServerParams
- type ConnectRtpServerResponse
- type DelFFmpegSourceParams
- type DelFFmpegSourceResponse
- type DelStreamProxyParams
- type DelStreamProxyResponse
- type DelStreamPusherProxyParams
- type DelStreamPusherProxyResponse
- type DeleteRecordDirectoryParams
- type DeleteRecordDirectoryResponse
- type DownloadFileParams
- type DownloadFileResponse
- type GetAllSessionParams
- type GetAllSessionResponse
- type GetApiListParams
- type GetApiListResponse
- type GetMediaInfoParams
- type GetMediaInfoResponse
- type GetMediaListParams
- type GetMediaListResponse
- type GetMediaPlayerListParams
- type GetMediaPlayerListResponse
- type GetMp4RecordFileParams
- type GetMp4RecordFileResponse
- type GetProxyInfoParams
- type GetProxyInfoResponse
- type GetProxyPusherInfoParams
- type GetProxyPusherInfoResponse
- type GetRtpInfoParams
- type GetRtpInfoResponse
- type GetServerConfigParams
- type GetServerConfigResponse
- type GetSnapParams
- type GetSnapResponse
- type GetStatisticParams
- type GetStatisticResponse
- type GetThreadsLoadParams
- type GetThreadsLoadResponse
- type GetWorkThreadsLoadParams
- type GetWorkThreadsLoadResponse
- type HttpRequestDoer
- type IsMediaOnlineParams
- type IsMediaOnlineResponse
- type IsRecordingParams
- type IsRecordingResponse
- type KickSessionParams
- type KickSessionResponse
- type KickSessionsParams
- type KickSessionsResponse
- type ListRtpServerParams
- type ListRtpServerResponse
- type LoadMP4FileParams
- type LoadMP4FileResponse
- type OpenRtpServerParams
- type OpenRtpServerResponse
- type PauseRtpCheckParams
- type PauseRtpCheckResponse
- type RequestEditorFn
- type RestartServerParams
- type RestartServerResponse
- type ResumeRtpCheckParams
- type ResumeRtpCheckResponse
- type SeekRecordStampParams
- type SeekRecordStampResponse
- type SetRecordSpeedParams
- type SetRecordSpeedResponse
- type SetServerConfigParams
- type SetServerConfigResponse
- type StartRecordParams
- type StartRecordResponse
- type StartSendRtpParams
- type StartSendRtpPassiveParams
- type StartSendRtpPassiveResponse
- type StartSendRtpResponse
- type StopRecordParams
- type StopRecordResponse
- type StopSendRtpParams
- type StopSendRtpResponse
- type UpdateRtpServerSSRCParams
- type UpdateRtpServerSSRCResponse
- type VersionParams
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddFFmpegSourceRequest ¶
func NewAddFFmpegSourceRequest(server string, params *AddFFmpegSourceParams) (*http.Request, error)
NewAddFFmpegSourceRequest generates requests for AddFFmpegSource
func NewAddStreamProxyRequest ¶
func NewAddStreamProxyRequest(server string, params *AddStreamProxyParams) (*http.Request, error)
NewAddStreamProxyRequest generates requests for AddStreamProxy
func NewAddStreamPusherProxyRequest ¶
func NewAddStreamPusherProxyRequest(server string, params *AddStreamPusherProxyParams) (*http.Request, error)
NewAddStreamPusherProxyRequest generates requests for AddStreamPusherProxy
func NewBroadcastMessageRequest ¶
func NewBroadcastMessageRequest(server string, params *BroadcastMessageParams) (*http.Request, error)
NewBroadcastMessageRequest generates requests for BroadcastMessage
func NewCloseRtpServerRequest ¶
func NewCloseRtpServerRequest(server string, params *CloseRtpServerParams) (*http.Request, error)
NewCloseRtpServerRequest generates requests for CloseRtpServer
func NewCloseStreamRequest ¶
func NewCloseStreamRequest(server string, params *CloseStreamParams) (*http.Request, error)
NewCloseStreamRequest generates requests for CloseStream
func NewCloseStreamsRequest ¶
func NewCloseStreamsRequest(server string, params *CloseStreamsParams) (*http.Request, error)
NewCloseStreamsRequest generates requests for CloseStreams
func NewConnectRtpServerRequest ¶
func NewConnectRtpServerRequest(server string, params *ConnectRtpServerParams) (*http.Request, error)
NewConnectRtpServerRequest generates requests for ConnectRtpServer
func NewDelFFmpegSourceRequest ¶
func NewDelFFmpegSourceRequest(server string, params *DelFFmpegSourceParams) (*http.Request, error)
NewDelFFmpegSourceRequest generates requests for DelFFmpegSource
func NewDelStreamProxyRequest ¶
func NewDelStreamProxyRequest(server string, params *DelStreamProxyParams) (*http.Request, error)
NewDelStreamProxyRequest generates requests for DelStreamProxy
func NewDelStreamPusherProxyRequest ¶
func NewDelStreamPusherProxyRequest(server string, params *DelStreamPusherProxyParams) (*http.Request, error)
NewDelStreamPusherProxyRequest generates requests for DelStreamPusherProxy
func NewDeleteRecordDirectoryRequest ¶
func NewDeleteRecordDirectoryRequest(server string, params *DeleteRecordDirectoryParams) (*http.Request, error)
NewDeleteRecordDirectoryRequest generates requests for DeleteRecordDirectory
func NewDownloadFileRequest ¶
func NewDownloadFileRequest(server string, params *DownloadFileParams) (*http.Request, error)
NewDownloadFileRequest generates requests for DownloadFile
func NewGetAllSessionRequest ¶
func NewGetAllSessionRequest(server string, params *GetAllSessionParams) (*http.Request, error)
NewGetAllSessionRequest generates requests for GetAllSession
func NewGetApiListRequest ¶
func NewGetApiListRequest(server string, params *GetApiListParams) (*http.Request, error)
NewGetApiListRequest generates requests for GetApiList
func NewGetMediaInfoRequest ¶
func NewGetMediaInfoRequest(server string, params *GetMediaInfoParams) (*http.Request, error)
NewGetMediaInfoRequest generates requests for GetMediaInfo
func NewGetMediaListRequest ¶
func NewGetMediaListRequest(server string, params *GetMediaListParams) (*http.Request, error)
NewGetMediaListRequest generates requests for GetMediaList
func NewGetMediaPlayerListRequest ¶
func NewGetMediaPlayerListRequest(server string, params *GetMediaPlayerListParams) (*http.Request, error)
NewGetMediaPlayerListRequest generates requests for GetMediaPlayerList
func NewGetMp4RecordFileRequest ¶
func NewGetMp4RecordFileRequest(server string, params *GetMp4RecordFileParams) (*http.Request, error)
NewGetMp4RecordFileRequest generates requests for GetMp4RecordFile
func NewGetProxyInfoRequest ¶
func NewGetProxyInfoRequest(server string, params *GetProxyInfoParams) (*http.Request, error)
NewGetProxyInfoRequest generates requests for GetProxyInfo
func NewGetProxyPusherInfoRequest ¶
func NewGetProxyPusherInfoRequest(server string, params *GetProxyPusherInfoParams) (*http.Request, error)
NewGetProxyPusherInfoRequest generates requests for GetProxyPusherInfo
func NewGetRtpInfoRequest ¶
func NewGetRtpInfoRequest(server string, params *GetRtpInfoParams) (*http.Request, error)
NewGetRtpInfoRequest generates requests for GetRtpInfo
func NewGetServerConfigRequest ¶
func NewGetServerConfigRequest(server string, params *GetServerConfigParams) (*http.Request, error)
NewGetServerConfigRequest generates requests for GetServerConfig
func NewGetSnapRequest ¶
func NewGetSnapRequest(server string, params *GetSnapParams) (*http.Request, error)
NewGetSnapRequest generates requests for GetSnap
func NewGetStatisticRequest ¶
func NewGetStatisticRequest(server string, params *GetStatisticParams) (*http.Request, error)
NewGetStatisticRequest generates requests for GetStatistic
func NewGetThreadsLoadRequest ¶
func NewGetThreadsLoadRequest(server string, params *GetThreadsLoadParams) (*http.Request, error)
NewGetThreadsLoadRequest generates requests for GetThreadsLoad
func NewGetWorkThreadsLoadRequest ¶
func NewGetWorkThreadsLoadRequest(server string, params *GetWorkThreadsLoadParams) (*http.Request, error)
NewGetWorkThreadsLoadRequest generates requests for GetWorkThreadsLoad
func NewIsMediaOnlineRequest ¶
func NewIsMediaOnlineRequest(server string, params *IsMediaOnlineParams) (*http.Request, error)
NewIsMediaOnlineRequest generates requests for IsMediaOnline
func NewIsRecordingRequest ¶
func NewIsRecordingRequest(server string, params *IsRecordingParams) (*http.Request, error)
NewIsRecordingRequest generates requests for IsRecording
func NewKickSessionRequest ¶
func NewKickSessionRequest(server string, params *KickSessionParams) (*http.Request, error)
NewKickSessionRequest generates requests for KickSession
func NewKickSessionsRequest ¶
func NewKickSessionsRequest(server string, params *KickSessionsParams) (*http.Request, error)
NewKickSessionsRequest generates requests for KickSessions
func NewListRtpServerRequest ¶
func NewListRtpServerRequest(server string, params *ListRtpServerParams) (*http.Request, error)
NewListRtpServerRequest generates requests for ListRtpServer
func NewLoadMP4FileRequest ¶
func NewLoadMP4FileRequest(server string, params *LoadMP4FileParams) (*http.Request, error)
NewLoadMP4FileRequest generates requests for LoadMP4File
func NewOpenRtpServerRequest ¶
func NewOpenRtpServerRequest(server string, params *OpenRtpServerParams) (*http.Request, error)
NewOpenRtpServerRequest generates requests for OpenRtpServer
func NewPauseRtpCheckRequest ¶
func NewPauseRtpCheckRequest(server string, params *PauseRtpCheckParams) (*http.Request, error)
NewPauseRtpCheckRequest generates requests for PauseRtpCheck
func NewRestartServerRequest ¶
func NewRestartServerRequest(server string, params *RestartServerParams) (*http.Request, error)
NewRestartServerRequest generates requests for RestartServer
func NewResumeRtpCheckRequest ¶
func NewResumeRtpCheckRequest(server string, params *ResumeRtpCheckParams) (*http.Request, error)
NewResumeRtpCheckRequest generates requests for ResumeRtpCheck
func NewSeekRecordStampRequest ¶
func NewSeekRecordStampRequest(server string, params *SeekRecordStampParams) (*http.Request, error)
NewSeekRecordStampRequest generates requests for SeekRecordStamp
func NewSetRecordSpeedRequest ¶
func NewSetRecordSpeedRequest(server string, params *SetRecordSpeedParams) (*http.Request, error)
NewSetRecordSpeedRequest generates requests for SetRecordSpeed
func NewSetServerConfigRequest ¶
func NewSetServerConfigRequest(server string, params *SetServerConfigParams) (*http.Request, error)
NewSetServerConfigRequest generates requests for SetServerConfig
func NewStartRecordRequest ¶
func NewStartRecordRequest(server string, params *StartRecordParams) (*http.Request, error)
NewStartRecordRequest generates requests for StartRecord
func NewStartSendRtpPassiveRequest ¶
func NewStartSendRtpPassiveRequest(server string, params *StartSendRtpPassiveParams) (*http.Request, error)
NewStartSendRtpPassiveRequest generates requests for StartSendRtpPassive
func NewStartSendRtpRequest ¶
func NewStartSendRtpRequest(server string, params *StartSendRtpParams) (*http.Request, error)
NewStartSendRtpRequest generates requests for StartSendRtp
func NewStopRecordRequest ¶
func NewStopRecordRequest(server string, params *StopRecordParams) (*http.Request, error)
NewStopRecordRequest generates requests for StopRecord
func NewStopSendRtpRequest ¶
func NewStopSendRtpRequest(server string, params *StopSendRtpParams) (*http.Request, error)
NewStopSendRtpRequest generates requests for StopSendRtp
func NewUpdateRtpServerSSRCRequest ¶
func NewUpdateRtpServerSSRCRequest(server string, params *UpdateRtpServerSSRCParams) (*http.Request, error)
NewUpdateRtpServerSSRCRequest generates requests for UpdateRtpServerSSRC
func NewVersionRequest ¶
func NewVersionRequest(server string, params *VersionParams) (*http.Request, error)
NewVersionRequest generates requests for Version
Types ¶
type AddFFmpegSourceParams ¶
type AddFFmpegSourceParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // SrcUrl FFmpeg拉流地址,支持任意协议或格式(只要FFmpeg支持即可) SrcUrl *string `form:"src_url,omitempty" json:"src_url,omitempty"` // DstUrl FFmpeg rtmp推流地址,一般都是推给自己,例如rtmp://127.0.0.1/live/stream_form_ffmpeg DstUrl *string `form:"dst_url,omitempty" json:"dst_url,omitempty"` // TimeoutMs FFmpeg推流成功超时时间,单位毫秒 TimeoutMs *int `form:"timeout_ms,omitempty" json:"timeout_ms,omitempty"` // EnableHls 是否开启hls录制 EnableHls *int `form:"enable_hls,omitempty" json:"enable_hls,omitempty"` // EnableMp4 是否开启mp4录制 EnableMp4 *int `form:"enable_mp4,omitempty" json:"enable_mp4,omitempty"` // FfmpegCmdKey FFmpeg命名参数模板,置空则采用配置项:ffmpeg.cmd FfmpegCmdKey *string `form:"ffmpeg_cmd_key,omitempty" json:"ffmpeg_cmd_key,omitempty"` }
AddFFmpegSourceParams defines parameters for AddFFmpegSource.
type AddFFmpegSourceResponse ¶
func ParseAddFFmpegSourceResponse ¶
func ParseAddFFmpegSourceResponse(rsp *http.Response) (*AddFFmpegSourceResponse, error)
ParseAddFFmpegSourceResponse parses an HTTP response from a AddFFmpegSourceWithResponse call
func (AddFFmpegSourceResponse) Status ¶
func (r AddFFmpegSourceResponse) Status() string
Status returns HTTPResponse.Status
func (AddFFmpegSourceResponse) StatusCode ¶
func (r AddFFmpegSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddStreamProxyParams ¶
type AddStreamProxyParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 添加的流的虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 添加的流的应用名,例如live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 添加的流的id名,例如test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Url 拉流地址,例如rtmp://live.hkstv.hk.lxdns.com/live/hks2 Url *string `form:"url,omitempty" json:"url,omitempty"` }
AddStreamProxyParams defines parameters for AddStreamProxy.
type AddStreamProxyResponse ¶
func ParseAddStreamProxyResponse ¶
func ParseAddStreamProxyResponse(rsp *http.Response) (*AddStreamProxyResponse, error)
ParseAddStreamProxyResponse parses an HTTP response from a AddStreamProxyWithResponse call
func (AddStreamProxyResponse) Status ¶
func (r AddStreamProxyResponse) Status() string
Status returns HTTPResponse.Status
func (AddStreamProxyResponse) StatusCode ¶
func (r AddStreamProxyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddStreamPusherProxyParams ¶
type AddStreamPusherProxyParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 推流协议,支持rtsp、rtmp,大小写敏感 Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 已注册流的虚拟主机,一般为__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 已注册流的应用名,例如live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 已注册流的id名,例如test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // DstUrl 推流地址,需要与schema字段协议一致 DstUrl *string `form:"dst_url,omitempty" json:"dst_url,omitempty"` }
AddStreamPusherProxyParams defines parameters for AddStreamPusherProxy.
type AddStreamPusherProxyResponse ¶
func ParseAddStreamPusherProxyResponse ¶
func ParseAddStreamPusherProxyResponse(rsp *http.Response) (*AddStreamPusherProxyResponse, error)
ParseAddStreamPusherProxyResponse parses an HTTP response from a AddStreamPusherProxyWithResponse call
func (AddStreamPusherProxyResponse) Status ¶
func (r AddStreamPusherProxyResponse) Status() string
Status returns HTTPResponse.Status
func (AddStreamPusherProxyResponse) StatusCode ¶
func (r AddStreamPusherProxyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BroadcastMessageParams ¶
type BroadcastMessageParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp,目前仅支持rtsp协议 Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` Msg *string `form:"msg,omitempty" json:"msg,omitempty"` }
BroadcastMessageParams defines parameters for BroadcastMessage.
type BroadcastMessageResponse ¶
func ParseBroadcastMessageResponse ¶
func ParseBroadcastMessageResponse(rsp *http.Response) (*BroadcastMessageResponse, error)
ParseBroadcastMessageResponse parses an HTTP response from a BroadcastMessageWithResponse call
func (BroadcastMessageResponse) Status ¶
func (r BroadcastMessageResponse) Status() string
Status returns HTTPResponse.Status
func (BroadcastMessageResponse) StatusCode ¶
func (r BroadcastMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddFFmpegSource ¶
func (c *Client) AddFFmpegSource(ctx context.Context, params *AddFFmpegSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddStreamProxy ¶
func (c *Client) AddStreamProxy(ctx context.Context, params *AddStreamProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddStreamPusherProxy ¶
func (c *Client) AddStreamPusherProxy(ctx context.Context, params *AddStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BroadcastMessage ¶
func (c *Client) BroadcastMessage(ctx context.Context, params *BroadcastMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CloseRtpServer ¶
func (c *Client) CloseRtpServer(ctx context.Context, params *CloseRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CloseStream ¶
func (c *Client) CloseStream(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CloseStreams ¶
func (c *Client) CloseStreams(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectRtpServer ¶
func (c *Client) ConnectRtpServer(ctx context.Context, params *ConnectRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DelFFmpegSource ¶
func (c *Client) DelFFmpegSource(ctx context.Context, params *DelFFmpegSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DelStreamProxy ¶
func (c *Client) DelStreamProxy(ctx context.Context, params *DelStreamProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DelStreamPusherProxy ¶
func (c *Client) DelStreamPusherProxy(ctx context.Context, params *DelStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRecordDirectory ¶
func (c *Client) DeleteRecordDirectory(ctx context.Context, params *DeleteRecordDirectoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadFile ¶
func (c *Client) DownloadFile(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllSession ¶
func (c *Client) GetAllSession(ctx context.Context, params *GetAllSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiList ¶
func (c *Client) GetApiList(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMediaInfo ¶
func (c *Client) GetMediaInfo(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMediaList ¶
func (c *Client) GetMediaList(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMediaPlayerList ¶
func (c *Client) GetMediaPlayerList(ctx context.Context, params *GetMediaPlayerListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMp4RecordFile ¶
func (c *Client) GetMp4RecordFile(ctx context.Context, params *GetMp4RecordFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProxyInfo ¶
func (c *Client) GetProxyInfo(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProxyPusherInfo ¶
func (c *Client) GetProxyPusherInfo(ctx context.Context, params *GetProxyPusherInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRtpInfo ¶
func (c *Client) GetRtpInfo(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetServerConfig ¶
func (c *Client) GetServerConfig(ctx context.Context, params *GetServerConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSnap ¶
func (c *Client) GetSnap(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatistic ¶
func (c *Client) GetStatistic(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetThreadsLoad ¶
func (c *Client) GetThreadsLoad(ctx context.Context, params *GetThreadsLoadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWorkThreadsLoad ¶
func (c *Client) GetWorkThreadsLoad(ctx context.Context, params *GetWorkThreadsLoadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IsMediaOnline ¶
func (c *Client) IsMediaOnline(ctx context.Context, params *IsMediaOnlineParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IsRecording ¶
func (c *Client) IsRecording(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) KickSession ¶
func (c *Client) KickSession(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) KickSessions ¶
func (c *Client) KickSessions(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRtpServer ¶
func (c *Client) ListRtpServer(ctx context.Context, params *ListRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LoadMP4File ¶
func (c *Client) LoadMP4File(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OpenRtpServer ¶
func (c *Client) OpenRtpServer(ctx context.Context, params *OpenRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PauseRtpCheck ¶
func (c *Client) PauseRtpCheck(ctx context.Context, params *PauseRtpCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RestartServer ¶
func (c *Client) RestartServer(ctx context.Context, params *RestartServerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeRtpCheck ¶
func (c *Client) ResumeRtpCheck(ctx context.Context, params *ResumeRtpCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SeekRecordStamp ¶
func (c *Client) SeekRecordStamp(ctx context.Context, params *SeekRecordStampParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetRecordSpeed ¶
func (c *Client) SetRecordSpeed(ctx context.Context, params *SetRecordSpeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetServerConfig ¶
func (c *Client) SetServerConfig(ctx context.Context, params *SetServerConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartRecord ¶
func (c *Client) StartRecord(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartSendRtp ¶
func (c *Client) StartSendRtp(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartSendRtpPassive ¶
func (c *Client) StartSendRtpPassive(ctx context.Context, params *StartSendRtpPassiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StopRecord ¶
func (c *Client) StopRecord(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StopSendRtp ¶
func (c *Client) StopSendRtp(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRtpServerSSRC ¶
func (c *Client) UpdateRtpServerSSRC(ctx context.Context, params *UpdateRtpServerSSRCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Version ¶
func (c *Client) Version(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // AddFFmpegSource request AddFFmpegSource(ctx context.Context, params *AddFFmpegSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddStreamProxy request AddStreamProxy(ctx context.Context, params *AddStreamProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddStreamPusherProxy request AddStreamPusherProxy(ctx context.Context, params *AddStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // BroadcastMessage request BroadcastMessage(ctx context.Context, params *BroadcastMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CloseRtpServer request CloseRtpServer(ctx context.Context, params *CloseRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CloseStream request CloseStream(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CloseStreams request CloseStreams(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ConnectRtpServer request ConnectRtpServer(ctx context.Context, params *ConnectRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DelFFmpegSource request DelFFmpegSource(ctx context.Context, params *DelFFmpegSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DelStreamProxy request DelStreamProxy(ctx context.Context, params *DelStreamProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DelStreamPusherProxy request DelStreamPusherProxy(ctx context.Context, params *DelStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteRecordDirectory request DeleteRecordDirectory(ctx context.Context, params *DeleteRecordDirectoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DownloadFile request DownloadFile(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAllSession request GetAllSession(ctx context.Context, params *GetAllSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiList request GetApiList(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMediaInfo request GetMediaInfo(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMediaList request GetMediaList(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMediaPlayerList request GetMediaPlayerList(ctx context.Context, params *GetMediaPlayerListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMp4RecordFile request GetMp4RecordFile(ctx context.Context, params *GetMp4RecordFileParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProxyInfo request GetProxyInfo(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProxyPusherInfo request GetProxyPusherInfo(ctx context.Context, params *GetProxyPusherInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetRtpInfo request GetRtpInfo(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetServerConfig request GetServerConfig(ctx context.Context, params *GetServerConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSnap request GetSnap(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatistic request GetStatistic(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetThreadsLoad request GetThreadsLoad(ctx context.Context, params *GetThreadsLoadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWorkThreadsLoad request GetWorkThreadsLoad(ctx context.Context, params *GetWorkThreadsLoadParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IsMediaOnline request IsMediaOnline(ctx context.Context, params *IsMediaOnlineParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IsRecording request IsRecording(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error) // KickSession request KickSession(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error) // KickSessions request KickSessions(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListRtpServer request ListRtpServer(ctx context.Context, params *ListRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // LoadMP4File request LoadMP4File(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*http.Response, error) // OpenRtpServer request OpenRtpServer(ctx context.Context, params *OpenRtpServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PauseRtpCheck request PauseRtpCheck(ctx context.Context, params *PauseRtpCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error) // RestartServer request RestartServer(ctx context.Context, params *RestartServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ResumeRtpCheck request ResumeRtpCheck(ctx context.Context, params *ResumeRtpCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SeekRecordStamp request SeekRecordStamp(ctx context.Context, params *SeekRecordStampParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SetRecordSpeed request SetRecordSpeed(ctx context.Context, params *SetRecordSpeedParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SetServerConfig request SetServerConfig(ctx context.Context, params *SetServerConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StartRecord request StartRecord(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StartSendRtp request StartSendRtp(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StartSendRtpPassive request StartSendRtpPassive(ctx context.Context, params *StartSendRtpPassiveParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StopRecord request StopRecord(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StopSendRtp request StopSendRtp(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateRtpServerSSRC request UpdateRtpServerSSRC(ctx context.Context, params *UpdateRtpServerSSRCParams, reqEditors ...RequestEditorFn) (*http.Response, error) // Version request Version(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddFFmpegSourceWithResponse ¶
func (c *ClientWithResponses) AddFFmpegSourceWithResponse(ctx context.Context, params *AddFFmpegSourceParams, reqEditors ...RequestEditorFn) (*AddFFmpegSourceResponse, error)
AddFFmpegSourceWithResponse request returning *AddFFmpegSourceResponse
func (*ClientWithResponses) AddStreamProxyWithResponse ¶
func (c *ClientWithResponses) AddStreamProxyWithResponse(ctx context.Context, params *AddStreamProxyParams, reqEditors ...RequestEditorFn) (*AddStreamProxyResponse, error)
AddStreamProxyWithResponse request returning *AddStreamProxyResponse
func (*ClientWithResponses) AddStreamPusherProxyWithResponse ¶
func (c *ClientWithResponses) AddStreamPusherProxyWithResponse(ctx context.Context, params *AddStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*AddStreamPusherProxyResponse, error)
AddStreamPusherProxyWithResponse request returning *AddStreamPusherProxyResponse
func (*ClientWithResponses) BroadcastMessageWithResponse ¶
func (c *ClientWithResponses) BroadcastMessageWithResponse(ctx context.Context, params *BroadcastMessageParams, reqEditors ...RequestEditorFn) (*BroadcastMessageResponse, error)
BroadcastMessageWithResponse request returning *BroadcastMessageResponse
func (*ClientWithResponses) CloseRtpServerWithResponse ¶
func (c *ClientWithResponses) CloseRtpServerWithResponse(ctx context.Context, params *CloseRtpServerParams, reqEditors ...RequestEditorFn) (*CloseRtpServerResponse, error)
CloseRtpServerWithResponse request returning *CloseRtpServerResponse
func (*ClientWithResponses) CloseStreamWithResponse ¶
func (c *ClientWithResponses) CloseStreamWithResponse(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*CloseStreamResponse, error)
CloseStreamWithResponse request returning *CloseStreamResponse
func (*ClientWithResponses) CloseStreamsWithResponse ¶
func (c *ClientWithResponses) CloseStreamsWithResponse(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*CloseStreamsResponse, error)
CloseStreamsWithResponse request returning *CloseStreamsResponse
func (*ClientWithResponses) ConnectRtpServerWithResponse ¶
func (c *ClientWithResponses) ConnectRtpServerWithResponse(ctx context.Context, params *ConnectRtpServerParams, reqEditors ...RequestEditorFn) (*ConnectRtpServerResponse, error)
ConnectRtpServerWithResponse request returning *ConnectRtpServerResponse
func (*ClientWithResponses) DelFFmpegSourceWithResponse ¶
func (c *ClientWithResponses) DelFFmpegSourceWithResponse(ctx context.Context, params *DelFFmpegSourceParams, reqEditors ...RequestEditorFn) (*DelFFmpegSourceResponse, error)
DelFFmpegSourceWithResponse request returning *DelFFmpegSourceResponse
func (*ClientWithResponses) DelStreamProxyWithResponse ¶
func (c *ClientWithResponses) DelStreamProxyWithResponse(ctx context.Context, params *DelStreamProxyParams, reqEditors ...RequestEditorFn) (*DelStreamProxyResponse, error)
DelStreamProxyWithResponse request returning *DelStreamProxyResponse
func (*ClientWithResponses) DelStreamPusherProxyWithResponse ¶
func (c *ClientWithResponses) DelStreamPusherProxyWithResponse(ctx context.Context, params *DelStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*DelStreamPusherProxyResponse, error)
DelStreamPusherProxyWithResponse request returning *DelStreamPusherProxyResponse
func (*ClientWithResponses) DeleteRecordDirectoryWithResponse ¶
func (c *ClientWithResponses) DeleteRecordDirectoryWithResponse(ctx context.Context, params *DeleteRecordDirectoryParams, reqEditors ...RequestEditorFn) (*DeleteRecordDirectoryResponse, error)
DeleteRecordDirectoryWithResponse request returning *DeleteRecordDirectoryResponse
func (*ClientWithResponses) DownloadFileWithResponse ¶
func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*DownloadFileResponse, error)
DownloadFileWithResponse request returning *DownloadFileResponse
func (*ClientWithResponses) GetAllSessionWithResponse ¶
func (c *ClientWithResponses) GetAllSessionWithResponse(ctx context.Context, params *GetAllSessionParams, reqEditors ...RequestEditorFn) (*GetAllSessionResponse, error)
GetAllSessionWithResponse request returning *GetAllSessionResponse
func (*ClientWithResponses) GetApiListWithResponse ¶
func (c *ClientWithResponses) GetApiListWithResponse(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*GetApiListResponse, error)
GetApiListWithResponse request returning *GetApiListResponse
func (*ClientWithResponses) GetMediaInfoWithResponse ¶
func (c *ClientWithResponses) GetMediaInfoWithResponse(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*GetMediaInfoResponse, error)
GetMediaInfoWithResponse request returning *GetMediaInfoResponse
func (*ClientWithResponses) GetMediaListWithResponse ¶
func (c *ClientWithResponses) GetMediaListWithResponse(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*GetMediaListResponse, error)
GetMediaListWithResponse request returning *GetMediaListResponse
func (*ClientWithResponses) GetMediaPlayerListWithResponse ¶
func (c *ClientWithResponses) GetMediaPlayerListWithResponse(ctx context.Context, params *GetMediaPlayerListParams, reqEditors ...RequestEditorFn) (*GetMediaPlayerListResponse, error)
GetMediaPlayerListWithResponse request returning *GetMediaPlayerListResponse
func (*ClientWithResponses) GetMp4RecordFileWithResponse ¶
func (c *ClientWithResponses) GetMp4RecordFileWithResponse(ctx context.Context, params *GetMp4RecordFileParams, reqEditors ...RequestEditorFn) (*GetMp4RecordFileResponse, error)
GetMp4RecordFileWithResponse request returning *GetMp4RecordFileResponse
func (*ClientWithResponses) GetProxyInfoWithResponse ¶
func (c *ClientWithResponses) GetProxyInfoWithResponse(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*GetProxyInfoResponse, error)
GetProxyInfoWithResponse request returning *GetProxyInfoResponse
func (*ClientWithResponses) GetProxyPusherInfoWithResponse ¶
func (c *ClientWithResponses) GetProxyPusherInfoWithResponse(ctx context.Context, params *GetProxyPusherInfoParams, reqEditors ...RequestEditorFn) (*GetProxyPusherInfoResponse, error)
GetProxyPusherInfoWithResponse request returning *GetProxyPusherInfoResponse
func (*ClientWithResponses) GetRtpInfoWithResponse ¶
func (c *ClientWithResponses) GetRtpInfoWithResponse(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*GetRtpInfoResponse, error)
GetRtpInfoWithResponse request returning *GetRtpInfoResponse
func (*ClientWithResponses) GetServerConfigWithResponse ¶
func (c *ClientWithResponses) GetServerConfigWithResponse(ctx context.Context, params *GetServerConfigParams, reqEditors ...RequestEditorFn) (*GetServerConfigResponse, error)
GetServerConfigWithResponse request returning *GetServerConfigResponse
func (*ClientWithResponses) GetSnapWithResponse ¶
func (c *ClientWithResponses) GetSnapWithResponse(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*GetSnapResponse, error)
GetSnapWithResponse request returning *GetSnapResponse
func (*ClientWithResponses) GetStatisticWithResponse ¶
func (c *ClientWithResponses) GetStatisticWithResponse(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*GetStatisticResponse, error)
GetStatisticWithResponse request returning *GetStatisticResponse
func (*ClientWithResponses) GetThreadsLoadWithResponse ¶
func (c *ClientWithResponses) GetThreadsLoadWithResponse(ctx context.Context, params *GetThreadsLoadParams, reqEditors ...RequestEditorFn) (*GetThreadsLoadResponse, error)
GetThreadsLoadWithResponse request returning *GetThreadsLoadResponse
func (*ClientWithResponses) GetWorkThreadsLoadWithResponse ¶
func (c *ClientWithResponses) GetWorkThreadsLoadWithResponse(ctx context.Context, params *GetWorkThreadsLoadParams, reqEditors ...RequestEditorFn) (*GetWorkThreadsLoadResponse, error)
GetWorkThreadsLoadWithResponse request returning *GetWorkThreadsLoadResponse
func (*ClientWithResponses) IsMediaOnlineWithResponse ¶
func (c *ClientWithResponses) IsMediaOnlineWithResponse(ctx context.Context, params *IsMediaOnlineParams, reqEditors ...RequestEditorFn) (*IsMediaOnlineResponse, error)
IsMediaOnlineWithResponse request returning *IsMediaOnlineResponse
func (*ClientWithResponses) IsRecordingWithResponse ¶
func (c *ClientWithResponses) IsRecordingWithResponse(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*IsRecordingResponse, error)
IsRecordingWithResponse request returning *IsRecordingResponse
func (*ClientWithResponses) KickSessionWithResponse ¶
func (c *ClientWithResponses) KickSessionWithResponse(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*KickSessionResponse, error)
KickSessionWithResponse request returning *KickSessionResponse
func (*ClientWithResponses) KickSessionsWithResponse ¶
func (c *ClientWithResponses) KickSessionsWithResponse(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*KickSessionsResponse, error)
KickSessionsWithResponse request returning *KickSessionsResponse
func (*ClientWithResponses) ListRtpServerWithResponse ¶
func (c *ClientWithResponses) ListRtpServerWithResponse(ctx context.Context, params *ListRtpServerParams, reqEditors ...RequestEditorFn) (*ListRtpServerResponse, error)
ListRtpServerWithResponse request returning *ListRtpServerResponse
func (*ClientWithResponses) LoadMP4FileWithResponse ¶
func (c *ClientWithResponses) LoadMP4FileWithResponse(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*LoadMP4FileResponse, error)
LoadMP4FileWithResponse request returning *LoadMP4FileResponse
func (*ClientWithResponses) OpenRtpServerWithResponse ¶
func (c *ClientWithResponses) OpenRtpServerWithResponse(ctx context.Context, params *OpenRtpServerParams, reqEditors ...RequestEditorFn) (*OpenRtpServerResponse, error)
OpenRtpServerWithResponse request returning *OpenRtpServerResponse
func (*ClientWithResponses) PauseRtpCheckWithResponse ¶
func (c *ClientWithResponses) PauseRtpCheckWithResponse(ctx context.Context, params *PauseRtpCheckParams, reqEditors ...RequestEditorFn) (*PauseRtpCheckResponse, error)
PauseRtpCheckWithResponse request returning *PauseRtpCheckResponse
func (*ClientWithResponses) RestartServerWithResponse ¶
func (c *ClientWithResponses) RestartServerWithResponse(ctx context.Context, params *RestartServerParams, reqEditors ...RequestEditorFn) (*RestartServerResponse, error)
RestartServerWithResponse request returning *RestartServerResponse
func (*ClientWithResponses) ResumeRtpCheckWithResponse ¶
func (c *ClientWithResponses) ResumeRtpCheckWithResponse(ctx context.Context, params *ResumeRtpCheckParams, reqEditors ...RequestEditorFn) (*ResumeRtpCheckResponse, error)
ResumeRtpCheckWithResponse request returning *ResumeRtpCheckResponse
func (*ClientWithResponses) SeekRecordStampWithResponse ¶
func (c *ClientWithResponses) SeekRecordStampWithResponse(ctx context.Context, params *SeekRecordStampParams, reqEditors ...RequestEditorFn) (*SeekRecordStampResponse, error)
SeekRecordStampWithResponse request returning *SeekRecordStampResponse
func (*ClientWithResponses) SetRecordSpeedWithResponse ¶
func (c *ClientWithResponses) SetRecordSpeedWithResponse(ctx context.Context, params *SetRecordSpeedParams, reqEditors ...RequestEditorFn) (*SetRecordSpeedResponse, error)
SetRecordSpeedWithResponse request returning *SetRecordSpeedResponse
func (*ClientWithResponses) SetServerConfigWithResponse ¶
func (c *ClientWithResponses) SetServerConfigWithResponse(ctx context.Context, params *SetServerConfigParams, reqEditors ...RequestEditorFn) (*SetServerConfigResponse, error)
SetServerConfigWithResponse request returning *SetServerConfigResponse
func (*ClientWithResponses) StartRecordWithResponse ¶
func (c *ClientWithResponses) StartRecordWithResponse(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*StartRecordResponse, error)
StartRecordWithResponse request returning *StartRecordResponse
func (*ClientWithResponses) StartSendRtpPassiveWithResponse ¶
func (c *ClientWithResponses) StartSendRtpPassiveWithResponse(ctx context.Context, params *StartSendRtpPassiveParams, reqEditors ...RequestEditorFn) (*StartSendRtpPassiveResponse, error)
StartSendRtpPassiveWithResponse request returning *StartSendRtpPassiveResponse
func (*ClientWithResponses) StartSendRtpWithResponse ¶
func (c *ClientWithResponses) StartSendRtpWithResponse(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*StartSendRtpResponse, error)
StartSendRtpWithResponse request returning *StartSendRtpResponse
func (*ClientWithResponses) StopRecordWithResponse ¶
func (c *ClientWithResponses) StopRecordWithResponse(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*StopRecordResponse, error)
StopRecordWithResponse request returning *StopRecordResponse
func (*ClientWithResponses) StopSendRtpWithResponse ¶
func (c *ClientWithResponses) StopSendRtpWithResponse(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*StopSendRtpResponse, error)
StopSendRtpWithResponse request returning *StopSendRtpResponse
func (*ClientWithResponses) UpdateRtpServerSSRCWithResponse ¶
func (c *ClientWithResponses) UpdateRtpServerSSRCWithResponse(ctx context.Context, params *UpdateRtpServerSSRCParams, reqEditors ...RequestEditorFn) (*UpdateRtpServerSSRCResponse, error)
UpdateRtpServerSSRCWithResponse request returning *UpdateRtpServerSSRCResponse
func (*ClientWithResponses) VersionWithResponse ¶
func (c *ClientWithResponses) VersionWithResponse(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*VersionResponse, error)
VersionWithResponse request returning *VersionResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // AddFFmpegSourceWithResponse request AddFFmpegSourceWithResponse(ctx context.Context, params *AddFFmpegSourceParams, reqEditors ...RequestEditorFn) (*AddFFmpegSourceResponse, error) // AddStreamProxyWithResponse request AddStreamProxyWithResponse(ctx context.Context, params *AddStreamProxyParams, reqEditors ...RequestEditorFn) (*AddStreamProxyResponse, error) // AddStreamPusherProxyWithResponse request AddStreamPusherProxyWithResponse(ctx context.Context, params *AddStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*AddStreamPusherProxyResponse, error) // BroadcastMessageWithResponse request BroadcastMessageWithResponse(ctx context.Context, params *BroadcastMessageParams, reqEditors ...RequestEditorFn) (*BroadcastMessageResponse, error) // CloseRtpServerWithResponse request CloseRtpServerWithResponse(ctx context.Context, params *CloseRtpServerParams, reqEditors ...RequestEditorFn) (*CloseRtpServerResponse, error) // CloseStreamWithResponse request CloseStreamWithResponse(ctx context.Context, params *CloseStreamParams, reqEditors ...RequestEditorFn) (*CloseStreamResponse, error) // CloseStreamsWithResponse request CloseStreamsWithResponse(ctx context.Context, params *CloseStreamsParams, reqEditors ...RequestEditorFn) (*CloseStreamsResponse, error) // ConnectRtpServerWithResponse request ConnectRtpServerWithResponse(ctx context.Context, params *ConnectRtpServerParams, reqEditors ...RequestEditorFn) (*ConnectRtpServerResponse, error) // DelFFmpegSourceWithResponse request DelFFmpegSourceWithResponse(ctx context.Context, params *DelFFmpegSourceParams, reqEditors ...RequestEditorFn) (*DelFFmpegSourceResponse, error) // DelStreamProxyWithResponse request DelStreamProxyWithResponse(ctx context.Context, params *DelStreamProxyParams, reqEditors ...RequestEditorFn) (*DelStreamProxyResponse, error) // DelStreamPusherProxyWithResponse request DelStreamPusherProxyWithResponse(ctx context.Context, params *DelStreamPusherProxyParams, reqEditors ...RequestEditorFn) (*DelStreamPusherProxyResponse, error) // DeleteRecordDirectoryWithResponse request DeleteRecordDirectoryWithResponse(ctx context.Context, params *DeleteRecordDirectoryParams, reqEditors ...RequestEditorFn) (*DeleteRecordDirectoryResponse, error) // DownloadFileWithResponse request DownloadFileWithResponse(ctx context.Context, params *DownloadFileParams, reqEditors ...RequestEditorFn) (*DownloadFileResponse, error) // GetAllSessionWithResponse request GetAllSessionWithResponse(ctx context.Context, params *GetAllSessionParams, reqEditors ...RequestEditorFn) (*GetAllSessionResponse, error) // GetApiListWithResponse request GetApiListWithResponse(ctx context.Context, params *GetApiListParams, reqEditors ...RequestEditorFn) (*GetApiListResponse, error) // GetMediaInfoWithResponse request GetMediaInfoWithResponse(ctx context.Context, params *GetMediaInfoParams, reqEditors ...RequestEditorFn) (*GetMediaInfoResponse, error) // GetMediaListWithResponse request GetMediaListWithResponse(ctx context.Context, params *GetMediaListParams, reqEditors ...RequestEditorFn) (*GetMediaListResponse, error) // GetMediaPlayerListWithResponse request GetMediaPlayerListWithResponse(ctx context.Context, params *GetMediaPlayerListParams, reqEditors ...RequestEditorFn) (*GetMediaPlayerListResponse, error) // GetMp4RecordFileWithResponse request GetMp4RecordFileWithResponse(ctx context.Context, params *GetMp4RecordFileParams, reqEditors ...RequestEditorFn) (*GetMp4RecordFileResponse, error) // GetProxyInfoWithResponse request GetProxyInfoWithResponse(ctx context.Context, params *GetProxyInfoParams, reqEditors ...RequestEditorFn) (*GetProxyInfoResponse, error) // GetProxyPusherInfoWithResponse request GetProxyPusherInfoWithResponse(ctx context.Context, params *GetProxyPusherInfoParams, reqEditors ...RequestEditorFn) (*GetProxyPusherInfoResponse, error) // GetRtpInfoWithResponse request GetRtpInfoWithResponse(ctx context.Context, params *GetRtpInfoParams, reqEditors ...RequestEditorFn) (*GetRtpInfoResponse, error) // GetServerConfigWithResponse request GetServerConfigWithResponse(ctx context.Context, params *GetServerConfigParams, reqEditors ...RequestEditorFn) (*GetServerConfigResponse, error) // GetSnapWithResponse request GetSnapWithResponse(ctx context.Context, params *GetSnapParams, reqEditors ...RequestEditorFn) (*GetSnapResponse, error) // GetStatisticWithResponse request GetStatisticWithResponse(ctx context.Context, params *GetStatisticParams, reqEditors ...RequestEditorFn) (*GetStatisticResponse, error) // GetThreadsLoadWithResponse request GetThreadsLoadWithResponse(ctx context.Context, params *GetThreadsLoadParams, reqEditors ...RequestEditorFn) (*GetThreadsLoadResponse, error) // GetWorkThreadsLoadWithResponse request GetWorkThreadsLoadWithResponse(ctx context.Context, params *GetWorkThreadsLoadParams, reqEditors ...RequestEditorFn) (*GetWorkThreadsLoadResponse, error) // IsMediaOnlineWithResponse request IsMediaOnlineWithResponse(ctx context.Context, params *IsMediaOnlineParams, reqEditors ...RequestEditorFn) (*IsMediaOnlineResponse, error) // IsRecordingWithResponse request IsRecordingWithResponse(ctx context.Context, params *IsRecordingParams, reqEditors ...RequestEditorFn) (*IsRecordingResponse, error) // KickSessionWithResponse request KickSessionWithResponse(ctx context.Context, params *KickSessionParams, reqEditors ...RequestEditorFn) (*KickSessionResponse, error) // KickSessionsWithResponse request KickSessionsWithResponse(ctx context.Context, params *KickSessionsParams, reqEditors ...RequestEditorFn) (*KickSessionsResponse, error) // ListRtpServerWithResponse request ListRtpServerWithResponse(ctx context.Context, params *ListRtpServerParams, reqEditors ...RequestEditorFn) (*ListRtpServerResponse, error) // LoadMP4FileWithResponse request LoadMP4FileWithResponse(ctx context.Context, params *LoadMP4FileParams, reqEditors ...RequestEditorFn) (*LoadMP4FileResponse, error) // OpenRtpServerWithResponse request OpenRtpServerWithResponse(ctx context.Context, params *OpenRtpServerParams, reqEditors ...RequestEditorFn) (*OpenRtpServerResponse, error) // PauseRtpCheckWithResponse request PauseRtpCheckWithResponse(ctx context.Context, params *PauseRtpCheckParams, reqEditors ...RequestEditorFn) (*PauseRtpCheckResponse, error) // RestartServerWithResponse request RestartServerWithResponse(ctx context.Context, params *RestartServerParams, reqEditors ...RequestEditorFn) (*RestartServerResponse, error) // ResumeRtpCheckWithResponse request ResumeRtpCheckWithResponse(ctx context.Context, params *ResumeRtpCheckParams, reqEditors ...RequestEditorFn) (*ResumeRtpCheckResponse, error) // SeekRecordStampWithResponse request SeekRecordStampWithResponse(ctx context.Context, params *SeekRecordStampParams, reqEditors ...RequestEditorFn) (*SeekRecordStampResponse, error) // SetRecordSpeedWithResponse request SetRecordSpeedWithResponse(ctx context.Context, params *SetRecordSpeedParams, reqEditors ...RequestEditorFn) (*SetRecordSpeedResponse, error) // SetServerConfigWithResponse request SetServerConfigWithResponse(ctx context.Context, params *SetServerConfigParams, reqEditors ...RequestEditorFn) (*SetServerConfigResponse, error) // StartRecordWithResponse request StartRecordWithResponse(ctx context.Context, params *StartRecordParams, reqEditors ...RequestEditorFn) (*StartRecordResponse, error) // StartSendRtpWithResponse request StartSendRtpWithResponse(ctx context.Context, params *StartSendRtpParams, reqEditors ...RequestEditorFn) (*StartSendRtpResponse, error) // StartSendRtpPassiveWithResponse request StartSendRtpPassiveWithResponse(ctx context.Context, params *StartSendRtpPassiveParams, reqEditors ...RequestEditorFn) (*StartSendRtpPassiveResponse, error) // StopRecordWithResponse request StopRecordWithResponse(ctx context.Context, params *StopRecordParams, reqEditors ...RequestEditorFn) (*StopRecordResponse, error) // StopSendRtpWithResponse request StopSendRtpWithResponse(ctx context.Context, params *StopSendRtpParams, reqEditors ...RequestEditorFn) (*StopSendRtpResponse, error) // UpdateRtpServerSSRCWithResponse request UpdateRtpServerSSRCWithResponse(ctx context.Context, params *UpdateRtpServerSSRCParams, reqEditors ...RequestEditorFn) (*UpdateRtpServerSSRCResponse, error) // VersionWithResponse request VersionWithResponse(ctx context.Context, params *VersionParams, reqEditors ...RequestEditorFn) (*VersionResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloseRtpServerParams ¶
type CloseRtpServerParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // StreamId 该端口绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
CloseRtpServerParams defines parameters for CloseRtpServer.
type CloseRtpServerResponse ¶
func ParseCloseRtpServerResponse ¶
func ParseCloseRtpServerResponse(rsp *http.Response) (*CloseRtpServerResponse, error)
ParseCloseRtpServerResponse parses an HTTP response from a CloseRtpServerWithResponse call
func (CloseRtpServerResponse) Status ¶
func (r CloseRtpServerResponse) Status() string
Status returns HTTPResponse.Status
func (CloseRtpServerResponse) StatusCode ¶
func (r CloseRtpServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CloseStreamParams ¶
type CloseStreamParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
CloseStreamParams defines parameters for CloseStream.
type CloseStreamResponse ¶
func ParseCloseStreamResponse ¶
func ParseCloseStreamResponse(rsp *http.Response) (*CloseStreamResponse, error)
ParseCloseStreamResponse parses an HTTP response from a CloseStreamWithResponse call
func (CloseStreamResponse) Status ¶
func (r CloseStreamResponse) Status() string
Status returns HTTPResponse.Status
func (CloseStreamResponse) StatusCode ¶
func (r CloseStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CloseStreamsParams ¶
type CloseStreamsParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
CloseStreamsParams defines parameters for CloseStreams.
type CloseStreamsResponse ¶
func ParseCloseStreamsResponse ¶
func ParseCloseStreamsResponse(rsp *http.Response) (*CloseStreamsResponse, error)
ParseCloseStreamsResponse parses an HTTP response from a CloseStreamsWithResponse call
func (CloseStreamsResponse) Status ¶
func (r CloseStreamsResponse) Status() string
Status returns HTTPResponse.Status
func (CloseStreamsResponse) StatusCode ¶
func (r CloseStreamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectRtpServerParams ¶
type ConnectRtpServerParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // DstUrl tcp主动模式时服务端地址 DstUrl *int `form:"dst_url,omitempty" json:"dst_url,omitempty"` // DstPort tcp主动模式时服务端端口 DstPort *int `form:"dst_port,omitempty" json:"dst_port,omitempty"` // StreamId OpenRtpServer时绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
ConnectRtpServerParams defines parameters for ConnectRtpServer.
type ConnectRtpServerResponse ¶
func ParseConnectRtpServerResponse ¶
func ParseConnectRtpServerResponse(rsp *http.Response) (*ConnectRtpServerResponse, error)
ParseConnectRtpServerResponse parses an HTTP response from a ConnectRtpServerWithResponse call
func (ConnectRtpServerResponse) Status ¶
func (r ConnectRtpServerResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectRtpServerResponse) StatusCode ¶
func (r ConnectRtpServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DelFFmpegSourceParams ¶
type DelFFmpegSourceParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` Key *string `form:"key,omitempty" json:"key,omitempty"` }
DelFFmpegSourceParams defines parameters for DelFFmpegSource.
type DelFFmpegSourceResponse ¶
func ParseDelFFmpegSourceResponse ¶
func ParseDelFFmpegSourceResponse(rsp *http.Response) (*DelFFmpegSourceResponse, error)
ParseDelFFmpegSourceResponse parses an HTTP response from a DelFFmpegSourceWithResponse call
func (DelFFmpegSourceResponse) Status ¶
func (r DelFFmpegSourceResponse) Status() string
Status returns HTTPResponse.Status
func (DelFFmpegSourceResponse) StatusCode ¶
func (r DelFFmpegSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DelStreamProxyParams ¶
type DelStreamProxyParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Key addStreamProxy接口返回的key Key *string `form:"key,omitempty" json:"key,omitempty"` }
DelStreamProxyParams defines parameters for DelStreamProxy.
type DelStreamProxyResponse ¶
func ParseDelStreamProxyResponse ¶
func ParseDelStreamProxyResponse(rsp *http.Response) (*DelStreamProxyResponse, error)
ParseDelStreamProxyResponse parses an HTTP response from a DelStreamProxyWithResponse call
func (DelStreamProxyResponse) Status ¶
func (r DelStreamProxyResponse) Status() string
Status returns HTTPResponse.Status
func (DelStreamProxyResponse) StatusCode ¶
func (r DelStreamProxyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DelStreamPusherProxyParams ¶
type DelStreamPusherProxyParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Key addStreamPusherProxy接口返回的key Key *string `form:"key,omitempty" json:"key,omitempty"` }
DelStreamPusherProxyParams defines parameters for DelStreamPusherProxy.
type DelStreamPusherProxyResponse ¶
func ParseDelStreamPusherProxyResponse ¶
func ParseDelStreamPusherProxyResponse(rsp *http.Response) (*DelStreamPusherProxyResponse, error)
ParseDelStreamPusherProxyResponse parses an HTTP response from a DelStreamPusherProxyWithResponse call
func (DelStreamPusherProxyResponse) Status ¶
func (r DelStreamPusherProxyResponse) Status() string
Status returns HTTPResponse.Status
func (DelStreamPusherProxyResponse) StatusCode ¶
func (r DelStreamPusherProxyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRecordDirectoryParams ¶
type DeleteRecordDirectoryParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Period 流的录像日期,格式为2020-01-01,如果不是完整的日期,那么会删除失败 Period *string `form:"period,omitempty" json:"period,omitempty"` }
DeleteRecordDirectoryParams defines parameters for DeleteRecordDirectory.
type DeleteRecordDirectoryResponse ¶
func ParseDeleteRecordDirectoryResponse ¶
func ParseDeleteRecordDirectoryResponse(rsp *http.Response) (*DeleteRecordDirectoryResponse, error)
ParseDeleteRecordDirectoryResponse parses an HTTP response from a DeleteRecordDirectoryWithResponse call
func (DeleteRecordDirectoryResponse) Status ¶
func (r DeleteRecordDirectoryResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRecordDirectoryResponse) StatusCode ¶
func (r DeleteRecordDirectoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadFileParams ¶
type DownloadFileParams struct { // FilePath 文件绝对路径,根据文件名生成Content-Type;该接口将触发on_http_access hook FilePath *string `form:"file_path,omitempty" json:"file_path,omitempty"` }
DownloadFileParams defines parameters for DownloadFile.
type DownloadFileResponse ¶
func ParseDownloadFileResponse ¶
func ParseDownloadFileResponse(rsp *http.Response) (*DownloadFileResponse, error)
ParseDownloadFileResponse parses an HTTP response from a DownloadFileWithResponse call
func (DownloadFileResponse) Status ¶
func (r DownloadFileResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadFileResponse) StatusCode ¶
func (r DownloadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllSessionParams ¶
type GetAllSessionParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetAllSessionParams defines parameters for GetAllSession.
type GetAllSessionResponse ¶
func ParseGetAllSessionResponse ¶
func ParseGetAllSessionResponse(rsp *http.Response) (*GetAllSessionResponse, error)
ParseGetAllSessionResponse parses an HTTP response from a GetAllSessionWithResponse call
func (GetAllSessionResponse) Status ¶
func (r GetAllSessionResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllSessionResponse) StatusCode ¶
func (r GetAllSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiListParams ¶
type GetApiListParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetApiListParams defines parameters for GetApiList.
type GetApiListResponse ¶
func ParseGetApiListResponse ¶
func ParseGetApiListResponse(rsp *http.Response) (*GetApiListResponse, error)
ParseGetApiListResponse parses an HTTP response from a GetApiListWithResponse call
func (GetApiListResponse) Status ¶
func (r GetApiListResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiListResponse) StatusCode ¶
func (r GetApiListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaInfoParams ¶
type GetMediaInfoParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
GetMediaInfoParams defines parameters for GetMediaInfo.
type GetMediaInfoResponse ¶
func ParseGetMediaInfoResponse ¶
func ParseGetMediaInfoResponse(rsp *http.Response) (*GetMediaInfoResponse, error)
ParseGetMediaInfoResponse parses an HTTP response from a GetMediaInfoWithResponse call
func (GetMediaInfoResponse) Status ¶
func (r GetMediaInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaInfoResponse) StatusCode ¶
func (r GetMediaInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaListParams ¶
type GetMediaListParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetMediaListParams defines parameters for GetMediaList.
type GetMediaListResponse ¶
func ParseGetMediaListResponse ¶
func ParseGetMediaListResponse(rsp *http.Response) (*GetMediaListResponse, error)
ParseGetMediaListResponse parses an HTTP response from a GetMediaListWithResponse call
func (GetMediaListResponse) Status ¶
func (r GetMediaListResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaListResponse) StatusCode ¶
func (r GetMediaListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaPlayerListParams ¶
type GetMediaPlayerListParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
GetMediaPlayerListParams defines parameters for GetMediaPlayerList.
type GetMediaPlayerListResponse ¶
func ParseGetMediaPlayerListResponse ¶
func ParseGetMediaPlayerListResponse(rsp *http.Response) (*GetMediaPlayerListResponse, error)
ParseGetMediaPlayerListResponse parses an HTTP response from a GetMediaPlayerListWithResponse call
func (GetMediaPlayerListResponse) Status ¶
func (r GetMediaPlayerListResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaPlayerListResponse) StatusCode ¶
func (r GetMediaPlayerListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMp4RecordFileParams ¶
type GetMp4RecordFileParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // CustomizedPath 录像文件保存自定义根目录,为空则采用配置文件设置 CustomizedPath *string `form:"customized_path,omitempty" json:"customized_path,omitempty"` // Period 流的录像日期,格式为2020-02-01,如果不是完整的日期,那么是搜索录像文件夹列表,否则搜索对应日期下的mp4文件列表 Period *string `form:"period,omitempty" json:"period,omitempty"` }
GetMp4RecordFileParams defines parameters for GetMp4RecordFile.
type GetMp4RecordFileResponse ¶
func ParseGetMp4RecordFileResponse ¶
func ParseGetMp4RecordFileResponse(rsp *http.Response) (*GetMp4RecordFileResponse, error)
ParseGetMp4RecordFileResponse parses an HTTP response from a GetMp4RecordFileWithResponse call
func (GetMp4RecordFileResponse) Status ¶
func (r GetMp4RecordFileResponse) Status() string
Status returns HTTPResponse.Status
func (GetMp4RecordFileResponse) StatusCode ¶
func (r GetMp4RecordFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProxyInfoParams ¶
type GetProxyInfoParams struct { Secret *string `form:"secret,omitempty" json:"secret,omitempty"` Key *string `form:"key,omitempty" json:"key,omitempty"` }
GetProxyInfoParams defines parameters for GetProxyInfo.
type GetProxyInfoResponse ¶
func ParseGetProxyInfoResponse ¶
func ParseGetProxyInfoResponse(rsp *http.Response) (*GetProxyInfoResponse, error)
ParseGetProxyInfoResponse parses an HTTP response from a GetProxyInfoWithResponse call
func (GetProxyInfoResponse) Status ¶
func (r GetProxyInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetProxyInfoResponse) StatusCode ¶
func (r GetProxyInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProxyPusherInfoParams ¶
type GetProxyPusherInfoParams struct { Secret *string `form:"secret,omitempty" json:"secret,omitempty"` Key *string `form:"key,omitempty" json:"key,omitempty"` }
GetProxyPusherInfoParams defines parameters for GetProxyPusherInfo.
type GetProxyPusherInfoResponse ¶
func ParseGetProxyPusherInfoResponse ¶
func ParseGetProxyPusherInfoResponse(rsp *http.Response) (*GetProxyPusherInfoResponse, error)
ParseGetProxyPusherInfoResponse parses an HTTP response from a GetProxyPusherInfoWithResponse call
func (GetProxyPusherInfoResponse) Status ¶
func (r GetProxyPusherInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetProxyPusherInfoResponse) StatusCode ¶
func (r GetProxyPusherInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRtpInfoParams ¶
type GetRtpInfoParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // StreamId 流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
GetRtpInfoParams defines parameters for GetRtpInfo.
type GetRtpInfoResponse ¶
func ParseGetRtpInfoResponse ¶
func ParseGetRtpInfoResponse(rsp *http.Response) (*GetRtpInfoResponse, error)
ParseGetRtpInfoResponse parses an HTTP response from a GetRtpInfoWithResponse call
func (GetRtpInfoResponse) Status ¶
func (r GetRtpInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetRtpInfoResponse) StatusCode ¶
func (r GetRtpInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServerConfigParams ¶
type GetServerConfigParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetServerConfigParams defines parameters for GetServerConfig.
type GetServerConfigResponse ¶
func ParseGetServerConfigResponse ¶
func ParseGetServerConfigResponse(rsp *http.Response) (*GetServerConfigResponse, error)
ParseGetServerConfigResponse parses an HTTP response from a GetServerConfigWithResponse call
func (GetServerConfigResponse) Status ¶
func (r GetServerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetServerConfigResponse) StatusCode ¶
func (r GetServerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapParams ¶
type GetSnapParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Url 需要截图的url,可以是本机的,也可以是远程主机的 Url *string `form:"url,omitempty" json:"url,omitempty"` // TimeoutSec 截图失败超时时间,防止FFmpeg一直等待截图 TimeoutSec *int `form:"timeout_sec,omitempty" json:"timeout_sec,omitempty"` // ExpireSec 截图的过期时间,该时间内产生的截图都会作为缓存返回 ExpireSec *int `form:"expire_sec,omitempty" json:"expire_sec,omitempty"` }
GetSnapParams defines parameters for GetSnap.
type GetSnapResponse ¶
func ParseGetSnapResponse ¶
func ParseGetSnapResponse(rsp *http.Response) (*GetSnapResponse, error)
ParseGetSnapResponse parses an HTTP response from a GetSnapWithResponse call
func (GetSnapResponse) Status ¶
func (r GetSnapResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapResponse) StatusCode ¶
func (r GetSnapResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatisticParams ¶
type GetStatisticParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetStatisticParams defines parameters for GetStatistic.
type GetStatisticResponse ¶
func ParseGetStatisticResponse ¶
func ParseGetStatisticResponse(rsp *http.Response) (*GetStatisticResponse, error)
ParseGetStatisticResponse parses an HTTP response from a GetStatisticWithResponse call
func (GetStatisticResponse) Status ¶
func (r GetStatisticResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatisticResponse) StatusCode ¶
func (r GetStatisticResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetThreadsLoadParams ¶
type GetThreadsLoadParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetThreadsLoadParams defines parameters for GetThreadsLoad.
type GetThreadsLoadResponse ¶
func ParseGetThreadsLoadResponse ¶
func ParseGetThreadsLoadResponse(rsp *http.Response) (*GetThreadsLoadResponse, error)
ParseGetThreadsLoadResponse parses an HTTP response from a GetThreadsLoadWithResponse call
func (GetThreadsLoadResponse) Status ¶
func (r GetThreadsLoadResponse) Status() string
Status returns HTTPResponse.Status
func (GetThreadsLoadResponse) StatusCode ¶
func (r GetThreadsLoadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkThreadsLoadParams ¶
type GetWorkThreadsLoadParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
GetWorkThreadsLoadParams defines parameters for GetWorkThreadsLoad.
type GetWorkThreadsLoadResponse ¶
func ParseGetWorkThreadsLoadResponse ¶
func ParseGetWorkThreadsLoadResponse(rsp *http.Response) (*GetWorkThreadsLoadResponse, error)
ParseGetWorkThreadsLoadResponse parses an HTTP response from a GetWorkThreadsLoadWithResponse call
func (GetWorkThreadsLoadResponse) Status ¶
func (r GetWorkThreadsLoadResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkThreadsLoadResponse) StatusCode ¶
func (r GetWorkThreadsLoadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IsMediaOnlineParams ¶
type IsMediaOnlineParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Schema 协议,例如 rtsp或rtmp Schema *string `form:"schema,omitempty" json:"schema,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
IsMediaOnlineParams defines parameters for IsMediaOnline.
type IsMediaOnlineResponse ¶
func ParseIsMediaOnlineResponse ¶
func ParseIsMediaOnlineResponse(rsp *http.Response) (*IsMediaOnlineResponse, error)
ParseIsMediaOnlineResponse parses an HTTP response from a IsMediaOnlineWithResponse call
func (IsMediaOnlineResponse) Status ¶
func (r IsMediaOnlineResponse) Status() string
Status returns HTTPResponse.Status
func (IsMediaOnlineResponse) StatusCode ¶
func (r IsMediaOnlineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsRecordingParams ¶
type IsRecordingParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Type 0为hls,1为mp4 Type *int `form:"type,omitempty" json:"type,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
IsRecordingParams defines parameters for IsRecording.
type IsRecordingResponse ¶
func ParseIsRecordingResponse ¶
func ParseIsRecordingResponse(rsp *http.Response) (*IsRecordingResponse, error)
ParseIsRecordingResponse parses an HTTP response from a IsRecordingWithResponse call
func (IsRecordingResponse) Status ¶
func (r IsRecordingResponse) Status() string
Status returns HTTPResponse.Status
func (IsRecordingResponse) StatusCode ¶
func (r IsRecordingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type KickSessionParams ¶
type KickSessionParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Id 客户端唯一id,可以通过getAllSession接口获取 Id *int `form:"id,omitempty" json:"id,omitempty"` }
KickSessionParams defines parameters for KickSession.
type KickSessionResponse ¶
func ParseKickSessionResponse ¶
func ParseKickSessionResponse(rsp *http.Response) (*KickSessionResponse, error)
ParseKickSessionResponse parses an HTTP response from a KickSessionWithResponse call
func (KickSessionResponse) Status ¶
func (r KickSessionResponse) Status() string
Status returns HTTPResponse.Status
func (KickSessionResponse) StatusCode ¶
func (r KickSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type KickSessionsParams ¶
type KickSessionsParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
KickSessionsParams defines parameters for KickSessions.
type KickSessionsResponse ¶
func ParseKickSessionsResponse ¶
func ParseKickSessionsResponse(rsp *http.Response) (*KickSessionsResponse, error)
ParseKickSessionsResponse parses an HTTP response from a KickSessionsWithResponse call
func (KickSessionsResponse) Status ¶
func (r KickSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (KickSessionsResponse) StatusCode ¶
func (r KickSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRtpServerParams ¶
type ListRtpServerParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
ListRtpServerParams defines parameters for ListRtpServer.
type ListRtpServerResponse ¶
func ParseListRtpServerResponse ¶
func ParseListRtpServerResponse(rsp *http.Response) (*ListRtpServerResponse, error)
ParseListRtpServerResponse parses an HTTP response from a ListRtpServerWithResponse call
func (ListRtpServerResponse) Status ¶
func (r ListRtpServerResponse) Status() string
Status returns HTTPResponse.Status
func (ListRtpServerResponse) StatusCode ¶
func (r ListRtpServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadMP4FileParams ¶
type LoadMP4FileParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 添加的流的虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 添加的流的应用名,例如live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 添加的流的id名,例如test Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // FilePath mp4文件绝对路径 FilePath *string `form:"file_path,omitempty" json:"file_path,omitempty"` }
LoadMP4FileParams defines parameters for LoadMP4File.
type LoadMP4FileResponse ¶
func ParseLoadMP4FileResponse ¶
func ParseLoadMP4FileResponse(rsp *http.Response) (*LoadMP4FileResponse, error)
ParseLoadMP4FileResponse parses an HTTP response from a LoadMP4FileWithResponse call
func (LoadMP4FileResponse) Status ¶
func (r LoadMP4FileResponse) Status() string
Status returns HTTPResponse.Status
func (LoadMP4FileResponse) StatusCode ¶
func (r LoadMP4FileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OpenRtpServerParams ¶
type OpenRtpServerParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Port 绑定的端口,0时为随机端口 Port *int `form:"port,omitempty" json:"port,omitempty"` // TcpMode tcp模式,0时为不启用tcp监听,1时为启用tcp监听 TcpMode *int `form:"tcp_mode,omitempty" json:"tcp_mode,omitempty"` // StreamId 该端口绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
OpenRtpServerParams defines parameters for OpenRtpServer.
type OpenRtpServerResponse ¶
func ParseOpenRtpServerResponse ¶
func ParseOpenRtpServerResponse(rsp *http.Response) (*OpenRtpServerResponse, error)
ParseOpenRtpServerResponse parses an HTTP response from a OpenRtpServerWithResponse call
func (OpenRtpServerResponse) Status ¶
func (r OpenRtpServerResponse) Status() string
Status returns HTTPResponse.Status
func (OpenRtpServerResponse) StatusCode ¶
func (r OpenRtpServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PauseRtpCheckParams ¶
type PauseRtpCheckParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // StreamId 该端口绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
PauseRtpCheckParams defines parameters for PauseRtpCheck.
type PauseRtpCheckResponse ¶
func ParsePauseRtpCheckResponse ¶
func ParsePauseRtpCheckResponse(rsp *http.Response) (*PauseRtpCheckResponse, error)
ParsePauseRtpCheckResponse parses an HTTP response from a PauseRtpCheckWithResponse call
func (PauseRtpCheckResponse) Status ¶
func (r PauseRtpCheckResponse) Status() string
Status returns HTTPResponse.Status
func (PauseRtpCheckResponse) StatusCode ¶
func (r PauseRtpCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RestartServerParams ¶
type RestartServerParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` }
RestartServerParams defines parameters for RestartServer.
type RestartServerResponse ¶
func ParseRestartServerResponse ¶
func ParseRestartServerResponse(rsp *http.Response) (*RestartServerResponse, error)
ParseRestartServerResponse parses an HTTP response from a RestartServerWithResponse call
func (RestartServerResponse) Status ¶
func (r RestartServerResponse) Status() string
Status returns HTTPResponse.Status
func (RestartServerResponse) StatusCode ¶
func (r RestartServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeRtpCheckParams ¶
type ResumeRtpCheckParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // StreamId 该端口绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` }
ResumeRtpCheckParams defines parameters for ResumeRtpCheck.
type ResumeRtpCheckResponse ¶
func ParseResumeRtpCheckResponse ¶
func ParseResumeRtpCheckResponse(rsp *http.Response) (*ResumeRtpCheckResponse, error)
ParseResumeRtpCheckResponse parses an HTTP response from a ResumeRtpCheckWithResponse call
func (ResumeRtpCheckResponse) Status ¶
func (r ResumeRtpCheckResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeRtpCheckResponse) StatusCode ¶
func (r ResumeRtpCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeekRecordStampParams ¶
type SeekRecordStampParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Stamp 要设置的录像播放位置 Stamp *int `form:"stamp,omitempty" json:"stamp,omitempty"` }
SeekRecordStampParams defines parameters for SeekRecordStamp.
type SeekRecordStampResponse ¶
func ParseSeekRecordStampResponse ¶
func ParseSeekRecordStampResponse(rsp *http.Response) (*SeekRecordStampResponse, error)
ParseSeekRecordStampResponse parses an HTTP response from a SeekRecordStampWithResponse call
func (SeekRecordStampResponse) Status ¶
func (r SeekRecordStampResponse) Status() string
Status returns HTTPResponse.Status
func (SeekRecordStampResponse) StatusCode ¶
func (r SeekRecordStampResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetRecordSpeedParams ¶
type SetRecordSpeedParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Speed 要设置的录像倍速 Speed *float32 `form:"speed,omitempty" json:"speed,omitempty"` }
SetRecordSpeedParams defines parameters for SetRecordSpeed.
type SetRecordSpeedResponse ¶
func ParseSetRecordSpeedResponse ¶
func ParseSetRecordSpeedResponse(rsp *http.Response) (*SetRecordSpeedResponse, error)
ParseSetRecordSpeedResponse parses an HTTP response from a SetRecordSpeedWithResponse call
func (SetRecordSpeedResponse) Status ¶
func (r SetRecordSpeedResponse) Status() string
Status returns HTTPResponse.Status
func (SetRecordSpeedResponse) StatusCode ¶
func (r SetRecordSpeedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetServerConfigParams ¶
type SetServerConfigParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // ApiApiDebug 配置键与配置项值 ApiApiDebug *int `form:"api.apiDebug,omitempty" json:"api.apiDebug,omitempty"` }
SetServerConfigParams defines parameters for SetServerConfig.
type SetServerConfigResponse ¶
func ParseSetServerConfigResponse ¶
func ParseSetServerConfigResponse(rsp *http.Response) (*SetServerConfigResponse, error)
ParseSetServerConfigResponse parses an HTTP response from a SetServerConfigWithResponse call
func (SetServerConfigResponse) Status ¶
func (r SetServerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (SetServerConfigResponse) StatusCode ¶
func (r SetServerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartRecordParams ¶
type StartRecordParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Type 0为hls,1为mp4 Type *int `form:"type,omitempty" json:"type,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
StartRecordParams defines parameters for StartRecord.
type StartRecordResponse ¶
func ParseStartRecordResponse ¶
func ParseStartRecordResponse(rsp *http.Response) (*StartRecordResponse, error)
ParseStartRecordResponse parses an HTTP response from a StartRecordWithResponse call
func (StartRecordResponse) Status ¶
func (r StartRecordResponse) Status() string
Status returns HTTPResponse.Status
func (StartRecordResponse) StatusCode ¶
func (r StartRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartSendRtpParams ¶
type StartSendRtpParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Ssrc rtp推流的ssrc Ssrc *int `form:"ssrc,omitempty" json:"ssrc,omitempty"` // DstUrl 目标ip或域名 DstUrl *string `form:"dst_url,omitempty" json:"dst_url,omitempty"` // DstPort 目标端口 DstPort *int `form:"dst_port,omitempty" json:"dst_port,omitempty"` // IsUdp 是否为udp模式,否则为tcp模式 IsUdp *int `form:"is_udp,omitempty" json:"is_udp,omitempty"` }
StartSendRtpParams defines parameters for StartSendRtp.
type StartSendRtpPassiveParams ¶
type StartSendRtpPassiveParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` // Ssrc rtp推流的ssrc,ssrc不同时,可以推流到多个上级服务器 Ssrc *int `form:"ssrc,omitempty" json:"ssrc,omitempty"` }
StartSendRtpPassiveParams defines parameters for StartSendRtpPassive.
type StartSendRtpPassiveResponse ¶
func ParseStartSendRtpPassiveResponse ¶
func ParseStartSendRtpPassiveResponse(rsp *http.Response) (*StartSendRtpPassiveResponse, error)
ParseStartSendRtpPassiveResponse parses an HTTP response from a StartSendRtpPassiveWithResponse call
func (StartSendRtpPassiveResponse) Status ¶
func (r StartSendRtpPassiveResponse) Status() string
Status returns HTTPResponse.Status
func (StartSendRtpPassiveResponse) StatusCode ¶
func (r StartSendRtpPassiveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartSendRtpResponse ¶
func ParseStartSendRtpResponse ¶
func ParseStartSendRtpResponse(rsp *http.Response) (*StartSendRtpResponse, error)
ParseStartSendRtpResponse parses an HTTP response from a StartSendRtpWithResponse call
func (StartSendRtpResponse) Status ¶
func (r StartSendRtpResponse) Status() string
Status returns HTTPResponse.Status
func (StartSendRtpResponse) StatusCode ¶
func (r StartSendRtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopRecordParams ¶
type StopRecordParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Type 0为hls,1为mp4 Type *int `form:"type,omitempty" json:"type,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
StopRecordParams defines parameters for StopRecord.
type StopRecordResponse ¶
func ParseStopRecordResponse ¶
func ParseStopRecordResponse(rsp *http.Response) (*StopRecordResponse, error)
ParseStopRecordResponse parses an HTTP response from a StopRecordWithResponse call
func (StopRecordResponse) Status ¶
func (r StopRecordResponse) Status() string
Status returns HTTPResponse.Status
func (StopRecordResponse) StatusCode ¶
func (r StopRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopSendRtpParams ¶
type StopSendRtpParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // Vhost 虚拟主机,例如__defaultVhost__ Vhost *string `form:"vhost,omitempty" json:"vhost,omitempty"` // App 应用名,例如 live App *string `form:"app,omitempty" json:"app,omitempty"` // Stream 流id,例如 obs Stream *string `form:"stream,omitempty" json:"stream,omitempty"` }
StopSendRtpParams defines parameters for StopSendRtp.
type StopSendRtpResponse ¶
func ParseStopSendRtpResponse ¶
func ParseStopSendRtpResponse(rsp *http.Response) (*StopSendRtpResponse, error)
ParseStopSendRtpResponse parses an HTTP response from a StopSendRtpWithResponse call
func (StopSendRtpResponse) Status ¶
func (r StopSendRtpResponse) Status() string
Status returns HTTPResponse.Status
func (StopSendRtpResponse) StatusCode ¶
func (r StopSendRtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRtpServerSSRCParams ¶
type UpdateRtpServerSSRCParams struct { // Secret api操作密钥(配置文件配置) Secret *string `form:"secret,omitempty" json:"secret,omitempty"` // StreamId 该端口绑定的流id StreamId *string `form:"stream_id,omitempty" json:"stream_id,omitempty"` // Ssrc 十进制ssrc Ssrc *int `form:"ssrc,omitempty" json:"ssrc,omitempty"` }
UpdateRtpServerSSRCParams defines parameters for UpdateRtpServerSSRC.
type UpdateRtpServerSSRCResponse ¶
func ParseUpdateRtpServerSSRCResponse ¶
func ParseUpdateRtpServerSSRCResponse(rsp *http.Response) (*UpdateRtpServerSSRCResponse, error)
ParseUpdateRtpServerSSRCResponse parses an HTTP response from a UpdateRtpServerSSRCWithResponse call
func (UpdateRtpServerSSRCResponse) Status ¶
func (r UpdateRtpServerSSRCResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRtpServerSSRCResponse) StatusCode ¶
func (r UpdateRtpServerSSRCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VersionParams ¶
type VersionParams struct {
Secret *string `form:"secret,omitempty" json:"secret,omitempty"`
}
VersionParams defines parameters for Version.
type VersionResponse ¶
func ParseVersionResponse ¶
func ParseVersionResponse(rsp *http.Response) (*VersionResponse, error)
ParseVersionResponse parses an HTTP response from a VersionWithResponse call
func (VersionResponse) Status ¶
func (r VersionResponse) Status() string
Status returns HTTPResponse.Status
func (VersionResponse) StatusCode ¶
func (r VersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode