Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { SetLogger(log logrus.FieldLogger) // Name of the service, eg: Glimesh Name() string // Connect to the service Connect() error // GetHmacKey Get the private HMAC key for a given channel ID GetHmacKey(channelID types.ChannelID) ([]byte, error) // StartStream Starts a stream for a given channel StartStream(channelID types.ChannelID) (types.StreamID, error) // EndStream Marks the given stream ID as ended on the service EndStream(streamID types.StreamID) error // UpdateStreamMetadata Updates the service with additional metadata about a stream UpdateStreamMetadata(streamID types.StreamID, metadata types.StreamMetadata) error // SendJpegPreviewImage Sends a JPEG preview image of a stream to the service SendJpegPreviewImage(streamID types.StreamID, img []byte) error }
Click to show internal directories.
Click to hide internal directories.