package
0.0.0-20241112125757-779aa9ab4555
Repository: https://github.com/bcc-code/bcc-media-platform.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetLanguagesFromVideoElement formatted as per AWS: https://aws.amazon.com/blogs/media/smil-using-aws-elemental-mediapackage-vod/ For example: ``` <video name="example_1080.mp4" systemLanguage="eng,spa,fra" audioName="English,Spanish,French"/> ``` If systemLanguage param is not present the return will be an empty array.
Ingest asset from storage based on the prefix.
Ingest timedmetadata from a JSON file based on the vxID.
MapContributionTypeFromContentType guesses the contribution type based on the chapter type.
SafeString takes an arbitrary string and returns a safe version.
UpdateIngestStatus parses the event and updates the status of an asset in the database.

# Variables

Sentinel errors.
Sentinel errors.

# Structs

IngestFileMeta is the JSON structure for the ingest JSON file.
IngestJSONMeta is the JSON structure for the ingest JSON file.
No description provided by the author
TimedMetadata is the JSON structure for the timed metadata JSON file.