Versions in this module Expand all Collapse all v0 v0.1.1 May 5, 2026 Changes in this version + const APIVersion + const AudioCodecAAC + const AudioCodecMP3 + const AudioCodecOpus + const BitrateModeCBR + const BitrateModeCRF + const BitrateModeVBR + const ContainerMKV + const ContainerMOV + const ContainerMP4 + const ContainerTS + const ContainerWebM + const ContentAwareModeAutoABR + const ContentAwareModePerTitle + const ContentTypeAnimation + const ContentTypeFilm + const ContentTypeGaming + const ContentTypeGrain + const ContentTypeSports + const ContentTypeStillImage + const DRMSystemFairPlay + const DRMSystemPlayReady + const DRMSystemWidevine + const DefaultBaseURL + const DeliveryFormatCMAF + const DeliveryFormatDASH + const DeliveryFormatHLS + const DeliveryFormatProgressive + const EncryptionSchemeCBCS + const EncryptionSchemeCENC + const GOPAlignmentAligned + const GOPAlignmentFixed + const HDRFormatDolbyVision5 + const HDRFormatDolbyVision8 + const HDRFormatHDR10 + const HDRFormatHDR10Plus + const HDRFormatHLG + const HDRModeForce + const HDRModePassthrough + const HDRModeTonemap + const HLSPlaylistEvent + const HLSPlaylistVOD + const HLSSegmentFMP4 + const HLSSegmentTS + const JobPriorityEconomy + const JobPriorityPremium + const JobPriorityStandard + const JobStatusAwaitingConfirmation + const JobStatusCanceled + const JobStatusCompleted + const JobStatusFailed + const JobStatusPartial + const JobStatusPending + const JobStatusProbing + const JobStatusProcessing + const JobStatusUnspecified + const MembershipRoleAdmin + const MembershipRoleMember + const MembershipRoleOwner + const MembershipRoleViewer + const OriginPermissionRead + const OriginPermissionWrite + const OriginProviderGCS + const OriginProviderHTTP + const OriginProviderS3 + const OriginProviderTranscodely + const OriginStatusActive + const OriginStatusArchived + const OriginStatusFailed + const OutputFormatAdaptive + const OutputFormatDASH + const OutputFormatHLS + const OutputFormatMKV + const OutputFormatMOV + const OutputFormatMP4 + const OutputFormatWebM + const OutputStatusCanceled + const OutputStatusCompleted + const OutputStatusFailed + const OutputStatusPending + const OutputStatusProcessing + const QualityTierEconomy + const QualityTierPremium + const QualityTierStandard + const Resolution1080P + const Resolution1440P + const Resolution2160P + const Resolution4320P + const Resolution480P + const Resolution720P + const SubtitleFormatASS + const SubtitleFormatSRT + const SubtitleFormatTTML + const SubtitleFormatWebVTT + const SubtitleOpBurnIn + const SubtitleOpConvert + const SubtitleOpExtract + const SubtitleOpPassthrough + const ThumbnailFormatJPEG + const ThumbnailFormatPNG + const ThumbnailFormatWebP + const ThumbnailModeInterval + const ThumbnailModeSingle + const ThumbnailModeSprite + const ThumbnailModeTimestamps + const ToneMappingBT2390 + const ToneMappingHable + const ToneMappingMobius + const ToneMappingReinhard + const Version + const VideoCodecAV1 + const VideoCodecH264 + const VideoCodecH265 + const VideoCodecVP9 + const VideoStatusArchived + const VideoStatusDeleted + const VideoStatusError + const VideoStatusProcessing + const VideoStatusReady + const VideoStatusUploading + const VideoVisibilityPrivate + const VideoVisibilityPublic + const VideoVisibilityUnlisted + const WatchEventCompleted + const WatchEventHeartbeat + const WatchEventProgress + const WatchEventSnapshot + const WatchEventStatusChange + var ErrMissingAPIKey = errors.New("transcodely: api key is required") + type APIConnectionError struct + func (e *APIConnectionError) Error() string + func (e *APIConnectionError) ErrorCode() string + func (e *APIConnectionError) Errors() []FieldViolation + func (e *APIConnectionError) HTTPStatus() int + func (e *APIConnectionError) RequestID() string + func (e *APIConnectionError) Type() string + func (e *APIConnectionError) Unwrap() error + type APIError struct + func (e *APIError) Error() string + func (e *APIError) ErrorCode() string + func (e *APIError) Errors() []FieldViolation + func (e *APIError) HTTPStatus() int + func (e *APIError) RequestID() string + func (e *APIError) Type() string + func (e *APIError) Unwrap() error + type APIKey = v1.APIKey + type APIKeyCreateParams = v1.CreateAPIKeyRequest + type APIKeyListParams = v1.ListAPIKeysRequest + type APIKeys struct + func (a *APIKeys) Create(ctx context.Context, params *APIKeyCreateParams) (*CreatedAPIKey, error) + func (a *APIKeys) Get(ctx context.Context, id string) (*APIKey, error) + func (a *APIKeys) List(ctx context.Context, params *APIKeyListParams) *Iter[*APIKey] + func (a *APIKeys) Revoke(ctx context.Context, id string) error + type AV1Options = v1.AV1Options + type App = v1.App + type AppCreateParams = v1.CreateAppRequest + type AppListParams = v1.ListAppsRequest + type AppUpdateParams = v1.UpdateAppRequest + type Apps struct + func (a *Apps) Archive(ctx context.Context, id string) error + func (a *Apps) Create(ctx context.Context, params *AppCreateParams) (*App, error) + func (a *Apps) EnableHosting(ctx context.Context, id string) (*App, error) + func (a *Apps) Get(ctx context.Context, id string) (*App, error) + func (a *Apps) List(ctx context.Context, params *AppListParams) *Iter[*App] + func (a *Apps) Update(ctx context.Context, params *AppUpdateParams) (*App, error) + func (a *Apps) UpdateHostingConfig(ctx context.Context, params *v1.UpdateHostingConfigRequest) (*App, error) + type AudioCodec = v1.AudioCodec + type AudioSettings = v1.AudioSettings + type AudioStreamInfo = v1.AudioStreamInfo + type AudioTrackConfig = v1.AudioTrackConfig + type AuthenticationError struct + func (e *AuthenticationError) Error() string + func (e *AuthenticationError) ErrorCode() string + func (e *AuthenticationError) Errors() []FieldViolation + func (e *AuthenticationError) HTTPStatus() int + func (e *AuthenticationError) RequestID() string + func (e *AuthenticationError) Type() string + func (e *AuthenticationError) Unwrap() error + type AutoABRConfig = v1.AutoABRConfig + type AutoProfileDefaults = v1.AutoProfileDefaults + type BYOKConfig = v1.BYOKConfig + type BitrateMode = v1.BitrateMode + type BurnInStyle = v1.BurnInStyle + type Client struct + APIKeys *APIKeys + Apps *Apps + Health *Health + Jobs *Jobs + Memberships *Memberships + Organizations *Organizations + Origins *Origins + Presets *Presets + Users *Users + Videos *Videos + func New(apiKey string, opts ...Option) (*Client, error) + type CompletedPart = v1.CompletedPart + type ComponentHealth = v1.ComponentHealth + type ConflictError struct + func (e *ConflictError) Error() string + func (e *ConflictError) ErrorCode() string + func (e *ConflictError) Errors() []FieldViolation + func (e *ConflictError) HTTPStatus() int + func (e *ConflictError) RequestID() string + func (e *ConflictError) Type() string + func (e *ConflictError) Unwrap() error + type Container = v1.Container + type ContentAnalysis = v1.ContentAnalysis + type ContentAwareConfig = v1.ContentAwareConfig + type ContentAwareMode = v1.ContentAwareMode + type ContentType = v1.ContentType + type CreateWebhookConfig = v1.CreateWebhookConfig + type CreatedAPIKey struct + Key *APIKey + PlainText string + type DASHConfig = v1.DASHConfig + type DRMConfig = v1.DRMConfig + type DRMSystem = v1.DRMSystem + type DeliveryFormat = v1.DeliveryFormat + type EncryptionScheme = v1.EncryptionScheme + type Error interface + ErrorCode func() string + RequestID func() string + type ErrorDetails = v1.ErrorDetails + type ExecutionTiming = v1.ExecutionTiming + type FieldViolation struct + Description string + Field string + type GOPAlignmentMode = v1.GOPAlignmentMode + type GcsCredentials = v1.GcsCredentials + type GcsOriginConfig = v1.GcsOriginConfig + type H264Options = v1.H264Options + type H265Options = v1.H265Options + type HDRConfig = v1.HDRConfig + type HDRFormat = v1.HDRFormat + type HDRMode = v1.HDRMode + type HLSConfig = v1.HLSConfig + type HLSPlaylistType = v1.HLSPlaylistType + type HLSSegmentFormat = v1.HLSSegmentFormat + type Health struct + func (h *Health) Check(ctx context.Context, service string) (*HealthCheckResponse, error) + type HealthCheckResponse = v1.HealthCheckResponse + type HostingConfig = v1.HostingConfig + type HttpCredentials = v1.HttpCredentials + type HttpOriginConfig = v1.HttpOriginConfig + type InputMetadata = v1.InputMetadata + type InvalidRequestError struct + func (e *InvalidRequestError) Error() string + func (e *InvalidRequestError) ErrorCode() string + func (e *InvalidRequestError) Errors() []FieldViolation + func (e *InvalidRequestError) HTTPStatus() int + func (e *InvalidRequestError) RequestID() string + func (e *InvalidRequestError) Type() string + func (e *InvalidRequestError) Unwrap() error + type Iter struct + func (it *Iter[T]) Close() error + func (it *Iter[T]) Current() T + func (it *Iter[T]) Err() error + func (it *Iter[T]) Next() bool + type Job = v1.Job + type JobCreateParams = v1.CreateJobRequest + type JobListParams = v1.ListJobsRequest + type JobOutput = v1.JobOutput + type JobPriority = v1.JobPriority + type JobStatus = v1.JobStatus + type Jobs struct + func (j *Jobs) Cancel(ctx context.Context, id string) (*Job, error) + func (j *Jobs) Confirm(ctx context.Context, id string) (*Job, error) + func (j *Jobs) Create(ctx context.Context, params *JobCreateParams) (*Job, error) + func (j *Jobs) Get(ctx context.Context, id string) (*Job, error) + func (j *Jobs) List(ctx context.Context, params *JobListParams) *Iter[*Job] + func (j *Jobs) Watch(ctx context.Context, id string) *Stream[*WatchJobResponse] + type KeyServerConfig = v1.KeyServerConfig + type Membership = v1.Membership + type MembershipListParams = v1.ListMembershipsRequest + type MembershipRole = v1.MembershipRole + type MembershipWithUser = v1.MembershipWithUser + type Memberships struct + func (m *Memberships) Get(ctx context.Context, id string) (*MembershipWithUser, error) + func (m *Memberships) List(ctx context.Context, params *MembershipListParams) *Iter[*MembershipWithUser] + func (m *Memberships) Remove(ctx context.Context, id string) error + func (m *Memberships) UpdateRole(ctx context.Context, id string, role MembershipRole) (*Membership, error) + type MultipartAbortParams = v1.AbortMultipartUploadRequest + type MultipartCompleteParams = v1.CompleteMultipartUploadRequest + type MultipartCreateParams = v1.CreateMultipartUploadRequest + type MultipartPartURLsParams = v1.GetUploadPartUrlsRequest + type NotFoundError struct + func (e *NotFoundError) Error() string + func (e *NotFoundError) ErrorCode() string + func (e *NotFoundError) Errors() []FieldViolation + func (e *NotFoundError) HTTPStatus() int + func (e *NotFoundError) RequestID() string + func (e *NotFoundError) Type() string + func (e *NotFoundError) Unwrap() error + type Option func(*config) + func WithAPIVersion(v string) Option + func WithAutoIdempotency(enabled bool) Option + func WithBaseURL(url string) Option + func WithHTTPClient(client *http.Client) Option + func WithMaxRetries(n int) Option + func WithUserAgent(ua string) Option + type OrgCreateParams = v1.CreateOrganizationRequest + type OrgListParams = v1.ListOrganizationsRequest + type OrgUpdateParams = v1.UpdateOrganizationRequest + type Organization = v1.Organization + type Organizations struct + func (o *Organizations) CheckSlug(ctx context.Context, slug string) (*SlugCheckResult, error) + func (o *Organizations) Create(ctx context.Context, params *OrgCreateParams) (*Organization, error) + func (o *Organizations) Get(ctx context.Context, idOrSlug string) (*Organization, error) + func (o *Organizations) List(ctx context.Context, params *OrgListParams) *Iter[*Organization] + func (o *Organizations) Update(ctx context.Context, params *OrgUpdateParams) (*Organization, error) + type Origin = v1.Origin + type OriginCreateParams = v1.CreateOriginRequest + type OriginListParams = v1.ListOriginsRequest + type OriginPermission = v1.OriginPermission + type OriginProvider = v1.OriginProvider + type OriginRef = v1.OriginRef + type OriginStatus = v1.OriginStatus + type OriginUpdateParams = v1.UpdateOriginRequest + type Origins struct + func (o *Origins) Archive(ctx context.Context, id string) error + func (o *Origins) Create(ctx context.Context, params *OriginCreateParams) (*Origin, error) + func (o *Origins) Get(ctx context.Context, id string) (*Origin, error) + func (o *Origins) List(ctx context.Context, params *OriginListParams) *Iter[*Origin] + func (o *Origins) Update(ctx context.Context, params *OriginUpdateParams) (*Origin, error) + func (o *Origins) Validate(ctx context.Context, id string) (*ValidationResult, error) + type OutputFormat = v1.OutputFormat + type OutputSpec = v1.OutputSpec + type OutputStatus = v1.OutputStatus + type PaginationRequest = v1.PaginationRequest + type PaginationResponse = v1.PaginationResponse + type PermissionError struct + func (e *PermissionError) Error() string + func (e *PermissionError) ErrorCode() string + func (e *PermissionError) Errors() []FieldViolation + func (e *PermissionError) HTTPStatus() int + func (e *PermissionError) RequestID() string + func (e *PermissionError) Type() string + func (e *PermissionError) Unwrap() error + type PreconditionError struct + func (e *PreconditionError) Error() string + func (e *PreconditionError) ErrorCode() string + func (e *PreconditionError) Errors() []FieldViolation + func (e *PreconditionError) HTTPStatus() int + func (e *PreconditionError) RequestID() string + func (e *PreconditionError) Type() string + func (e *PreconditionError) Unwrap() error + type Preset = v1.Preset + type PresetCreateParams = v1.CreatePresetRequest + type PresetListParams = v1.ListPresetsRequest + type PresetUpdateParams = v1.UpdatePresetRequest + type PresetVariant = v1.PresetVariant + type Presets struct + func (p *Presets) Archive(ctx context.Context, id string) error + func (p *Presets) Create(ctx context.Context, params *PresetCreateParams) (*Preset, error) + func (p *Presets) Duplicate(ctx context.Context, sourceID, slug, name string) (*Preset, error) + func (p *Presets) Get(ctx context.Context, id string) (*Preset, error) + func (p *Presets) GetBySlug(ctx context.Context, slug string) (*Preset, error) + func (p *Presets) List(ctx context.Context, params *PresetListParams) *Iter[*Preset] + func (p *Presets) Update(ctx context.Context, params *PresetUpdateParams) (*Preset, error) + type PricingSnapshot = v1.PricingSnapshot + type ProtoFieldViolation = v1.FieldViolation + type QualityTier = v1.QualityTier + type RateLimitError struct + RetryAfter time.Duration + func (e *RateLimitError) Error() string + func (e *RateLimitError) ErrorCode() string + func (e *RateLimitError) Errors() []FieldViolation + func (e *RateLimitError) HTTPStatus() int + func (e *RateLimitError) RequestID() string + func (e *RateLimitError) Type() string + func (e *RateLimitError) Unwrap() error + type Resolution = v1.Resolution + type S3Credentials = v1.S3Credentials + type S3OriginConfig = v1.S3OriginConfig + type SegmentConfig = v1.SegmentConfig + type SlugCheckResult struct + Available bool + Reason string + type Stream struct + func (s *Stream[T]) Close() error + func (s *Stream[T]) Current() T + func (s *Stream[T]) Err() error + func (s *Stream[T]) Next() bool + type StreamingConfig = v1.StreamingConfig + type SubtitleFormat = v1.SubtitleFormat + type SubtitleOperation = v1.SubtitleOperation + type SubtitleStreamInfo = v1.SubtitleStreamInfo + type SubtitleTrack = v1.SubtitleTrack + type ThumbnailFormat = v1.ThumbnailFormat + type ThumbnailMode = v1.ThumbnailMode + type ThumbnailSpec = v1.ThumbnailSpec + type ToneMapping = v1.ToneMapping + type UpdateWebhookConfig = v1.UpdateWebhookConfig + type UploadCompleteParams = v1.CompleteUploadRequest + type UploadCreateParams = v1.CreateUploadRequest + type UploadPart = v1.UploadPart + type UsageSummary = v1.UsageSummary + type User = v1.User + type UserListParams = v1.ListUsersRequest + type UserOrganization = v1.UserOrganization + type UserUpdateMeParams = v1.UpdateMeRequest + type UserWithOrganizations = v1.UserWithOrganizations + type Users struct + func (u *Users) Get(ctx context.Context, id string) (*User, error) + func (u *Users) GetMe(ctx context.Context) (*UserWithOrganizations, error) + func (u *Users) List(ctx context.Context, params *UserListParams) *Iter[*User] + func (u *Users) UpdateMe(ctx context.Context, params *UserUpdateMeParams) (*User, error) + type VP9Options = v1.VP9Options + type ValidationResult = v1.ValidationResult + type VariantPricingSnapshot = v1.VariantPricingSnapshot + type Video = v1.Video + type VideoCodec = v1.VideoCodec + type VideoListParams = v1.ListVideosRequest + type VideoRendition = v1.VideoRendition + type VideoSettings = v1.VideoSettings + type VideoStatus = v1.VideoStatus + type VideoStreamInfo = v1.VideoStreamInfo + type VideoUpdateParams = v1.UpdateVideoRequest + type VideoVariant = v1.VideoVariant + type VideoVisibility = v1.VideoVisibility + type Videos struct + func (v *Videos) AbortMultipartUpload(ctx context.Context, params *MultipartAbortParams) error + func (v *Videos) CompleteMultipartUpload(ctx context.Context, params *MultipartCompleteParams) (*Video, error) + func (v *Videos) CompleteUpload(ctx context.Context, params *UploadCompleteParams) (*Video, error) + func (v *Videos) CreateMultipartUpload(ctx context.Context, params *MultipartCreateParams) (*v1.CreateMultipartUploadResponse, error) + func (v *Videos) CreateUpload(ctx context.Context, params *UploadCreateParams) (*v1.CreateUploadResponse, error) + func (v *Videos) Delete(ctx context.Context, id string) error + func (v *Videos) Get(ctx context.Context, id string) (*Video, error) + func (v *Videos) GetUploadPartURLs(ctx context.Context, params *MultipartPartURLsParams) (*v1.GetUploadPartUrlsResponse, error) + func (v *Videos) GetUsage(ctx context.Context, billingMonth string) (*UsageSummary, error) + func (v *Videos) List(ctx context.Context, params *VideoListParams) *Iter[*Video] + func (v *Videos) Update(ctx context.Context, params *VideoUpdateParams) (*Video, error) + func (v *Videos) Watch(ctx context.Context, id string) *Stream[*WatchVideoResponse] + type WatchEventType = v1.WatchEventType + type WatchJobResponse = v1.WatchJobResponse + type WatchVideoResponse = v1.WatchVideoResponse + type WebhookConfig = v1.WebhookConfig