Documentation ¶
Overview ¶
Package streaming to deal with creating video streams
Index ¶
- func JWTChecker(logger logger.Logger, jwtToken string) error
- type Destination
- type Stream
- type Streamyard
- func (s Streamyard) CreateDestination(ctx context.Context, destinationStreamType string, ss Stream) (Stream, error)
- func (s Streamyard) CreateStream(ctx context.Context, title string) (Stream, error)
- func (s Streamyard) GetDestinations(ctx context.Context) ([]StreamyardDestination, error)
- func (s Streamyard) GetStream(ctx context.Context, streamID string) (Stream, error)
- func (s Streamyard) ListStreams(ctx context.Context) ([]Stream, error)
- func (s Streamyard) UpdateDestination(ctx context.Context, destinationStreamType string, ss Stream, ...) (Stream, error)
- func (s Streamyard) UpdateStream(ctx context.Context, streamID, title string) error
- type StreamyardBroadcastOutputResponse
- type StreamyardBroadcastResponse
- type StreamyardDestination
- type StreamyardDestinationResp
- type StreamyardDestinationResponse
- type StreamyardListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Destination ¶
type Streamyard ¶
type Streamyard struct {
// contains filtered or unexported fields
}
func NewStreamyard ¶
func (Streamyard) CreateDestination ¶
func (Streamyard) CreateStream ¶
func (Streamyard) GetDestinations ¶
func (s Streamyard) GetDestinations(ctx context.Context) ([]StreamyardDestination, error)
func (Streamyard) ListStreams ¶
func (s Streamyard) ListStreams(ctx context.Context) ([]Stream, error)
func (Streamyard) UpdateDestination ¶
func (Streamyard) UpdateStream ¶
func (s Streamyard) UpdateStream(ctx context.Context, streamID, title string) error
type StreamyardBroadcastOutputResponse ¶
type StreamyardBroadcastOutputResponse struct { ID string `json:"id"` Privacy string `json:"privacy"` PlannedStartTime string `json:"plannedStartTime"` Platform string `json:"platform"` PlatformType string `json:"platformType"` Description string `json:"description"` PlatformUserName string `json:"platformUserName"` PlatformLink string `json:"platformLink"` Image string `json:"image"` }
type StreamyardBroadcastResponse ¶
type StreamyardBroadcastResponse struct { ID string `json:"id"` Status string `json:"status"` Title string `json:"title"` Outputs []StreamyardBroadcastOutputResponse `json:"outputs"` }
type StreamyardDestination ¶
type StreamyardDestinationResp ¶
type StreamyardDestinationResp struct {
Destinations []StreamyardDestination `json:"destinations"`
}
type StreamyardDestinationResponse ¶
type StreamyardDestinationResponse struct {
Output StreamyardBroadcastOutputResponse `json:"output"`
}
type StreamyardListResponse ¶
type StreamyardListResponse struct { HasMore bool `json:"hasMore"` Broadcasts []StreamyardBroadcastResponse `json:"broadcasts"` }
Click to show internal directories.
Click to hide internal directories.