handler

package
v0.0.0-...-32a2b0a Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessVideoEncodingCompletedMessage

func ProcessVideoEncodingCompletedMessage(data *VideoEncodingCompletedMessage) error

Types

type EncodedResolution

type EncodedResolution struct {
	Height int      `json:"height"`
	Width  int      `json:"width"`
	Chunks []string `json:"chunks"`
}

type VideoEncodingCompletedMessage

type VideoEncodingCompletedMessage struct {
	Title              string              `json:"title"`
	Description        string              `json:"description"`
	PublishedAt        string              `json:"published_at"`
	Height             int                 `json:"height"`
	Width              int                 `json:"width"`
	Duration           int                 `json:"duration"`
	EncodedResolutions []EncodedResolution `json:"resolutions"`
	UserId             int                 `json:"user_id"`
	OriginalId         string              `json:"original_id"`
	Thumbnail          string              `json:"thumbnail"`
	Path               string              `json:"path"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL