Documentation
¶
Index ¶
- func MakeGetVideosOpts() cios.ApiGetVideoStreamsListRequest
- type CiosVideoStreaming
- func (self *CiosVideoStreaming) GetThumbnail(ctx ciosctx.RequestCtx, videoID string) (img []byte, httpResponse *_http.Response, err error)
- func (self *CiosVideoStreaming) GetVideoInfo(ctx ciosctx.RequestCtx, videoID string) (cios.Video, *_http.Response, error)
- func (self *CiosVideoStreaming) GetVideoInfos(ctx ciosctx.RequestCtx, params cios.ApiGetVideoStreamsListRequest) ([]cios.Video, *_http.Response, error)
- func (self *CiosVideoStreaming) Play(ctx ciosctx.RequestCtx, videoID string) (cios.Room, *_http.Response, error)
- func (self *CiosVideoStreaming) SetRefresh(refresh func() error)
- func (self *CiosVideoStreaming) SetToken(token string)
- func (self *CiosVideoStreaming) Stop(ctx ciosctx.RequestCtx, videoID string) (*_http.Response, error)
- func (self *CiosVideoStreaming) UpdateVideoInfo(ctx ciosctx.RequestCtx, videoID string, name, description string) (cios.Video, *_http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGetVideosOpts ¶
func MakeGetVideosOpts() cios.ApiGetVideoStreamsListRequest
Types ¶
type CiosVideoStreaming ¶
type CiosVideoStreaming struct { ApiClient *cios.APIClient Url string Host string // contains filtered or unexported fields }
func NewCiosVideoStreaming ¶
func (*CiosVideoStreaming) GetThumbnail ¶
func (self *CiosVideoStreaming) GetThumbnail(ctx ciosctx.RequestCtx, videoID string) (img []byte, httpResponse *_http.Response, err error)
MEMO: No OpenAPI
func (*CiosVideoStreaming) GetVideoInfo ¶
func (self *CiosVideoStreaming) GetVideoInfo(ctx ciosctx.RequestCtx, videoID string) (cios.Video, *_http.Response, error)
func (*CiosVideoStreaming) GetVideoInfos ¶
func (self *CiosVideoStreaming) GetVideoInfos(ctx ciosctx.RequestCtx, params cios.ApiGetVideoStreamsListRequest) ([]cios.Video, *_http.Response, error)
func (*CiosVideoStreaming) Play ¶
func (self *CiosVideoStreaming) Play(ctx ciosctx.RequestCtx, videoID string) (cios.Room, *_http.Response, error)
func (*CiosVideoStreaming) SetRefresh ¶
func (self *CiosVideoStreaming) SetRefresh(refresh func() error)
func (*CiosVideoStreaming) SetToken ¶
func (self *CiosVideoStreaming) SetToken(token string)
func (*CiosVideoStreaming) Stop ¶
func (self *CiosVideoStreaming) Stop(ctx ciosctx.RequestCtx, videoID string) (*_http.Response, error)
func (*CiosVideoStreaming) UpdateVideoInfo ¶
func (self *CiosVideoStreaming) UpdateVideoInfo(ctx ciosctx.RequestCtx, videoID string, name, description string) (cios.Video, *_http.Response, error)
Click to show internal directories.
Click to hide internal directories.