modulepackage
1.0.0
Repository: https://github.com/video-dev/go-encodingcom.git
Documentation: pkg.go.dev
# Constants
AllPresets is used to retrieve all presets in the response of ListPresets or GetPreset methods.
UIPresets is used to retrieve only ui (standard) presets in the response of ListPresets or GetPreset methods.
UserPresets is used to retrieve only user-created presets in the response of ListPresets or GetPreset methods.
# Structs
AddMediaResponse represents the response returned by the AddMedia action.
APIError represents an error returned by the Encoding.com API.
APIStatusResponse is the response returned by the APIStatus function.
Client is the basic type for interacting with the API.
DestinationStatus represents the status of a given destination.
Format is the set of options for defining the output format when encoding new media files.
FormatStatus is the status of each formatting input for a given MediaID.
ListMediaResponse represents the response returned by the GetMediaList action.
ListMediaResponseItem represents each individual item returned by the GetMediaList action.
ListPresetsResponse represents the response returned by the GetPresetsList action.
Logo is the set of options for watermarking media during encoding, allowing users to add a image to the final media.
MediaDateTime is a custom time struct to be used on Media items.
MediaInfo is the result of the GetMediaInfo method.
Metadata represents media metadata, as provided in the Format struct when encoding new media.
Overlay is the set of options for adding a video overlay in the media being encoded.
Preset represents a preset in the Encoding.com API.
PresetFormat is the set of options for defining the output format in presets.
Response represents the generic response in the Encoding.com API.
SavePresetResponse is the response returned in the SavePreset method.
SplitScreen is the set of options for combining several sources to one split screen video.
StatusResponse is the result of the GetStatus method.
Stream is the set of options for defining Advanced HLS stream output when encoding new media files.
TextOverlay is the set of options for adding a text overlay in the media being encoded.
VideoCodecParameters are settings for H.264 video codec.
# Type aliases
PresetType represents the type of preset used as the input of the ListPresets and GetPreset methods.
YesNoBoolean is a boolean that turns true into "yes" and false into "no" when encoded as JSON.
ZeroOneBoolean is a boolean that turns true into "1" and false into "0" when encoded as JSON.