Documentation
¶
Overview ¶
Package adaptivevideo adapts the stable Realtime video and observation operations to the typed boundaries exported by a graph-native adaptive video composition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter is an immutable profile/factory pair for one exact plan. Accessors return independent values, so a caller cannot mutate the profile captured by the registered factory.
func New ¶
func New(plan *graphconfig.Plan, config Config) (Adapter, error)
New validates the complete adaptive-video boundary contract and freezes a stable Realtime Video -> graph -> Observation projection.
func (Adapter) Profile ¶
func (adapter Adapter) Profile() graphbinding.SessionAdapterProfile
Profile returns the frozen Realtime-to-graph projection.
func (Adapter) Registration ¶
func (adapter Adapter) Registration() graphbinding.AdapterRegistration
Registration returns the exact executable registration. Its factory closes over private immutable copies of the derived plan projection.
type Config ¶
type Config struct {
ProfileName string
ProfileRevision uint64
Reference string
Artifact inspect.ArtifactIdentity
Ownership legacy.Ownership
}
Config supplies only deployment identity and the public ownership projection. Source, observer name, and all boundary types are derived from the immutable graph plan, never duplicated as caller assertions.
type ProviderDependency ¶
type ProviderDependency struct {
// contains filtered or unexported fields
}
ProviderDependency is an immutable contribution to both graph discovery and per-session mount assembly. The assembly entry contains identity only; each MountDependencyFactory call creates an independent registry service so one prepared plan can mount concurrent sessions without sharing providers.
func NewProviderDependency ¶
func NewProviderDependency( artifact inspect.ArtifactIdentity, registrations []ProviderRegistration, ) (ProviderDependency, error)
NewProviderDependency validates and snapshots a visual-provider registry contribution without constructing any provider or acquiring resources.
func (ProviderDependency) AssemblyDependency ¶
func (dependency ProviderDependency) AssemblyDependency() graphassembly.Dependency
AssemblyDependency returns the resource-free, mount-scoped catalog entry that must be present before graph config discovery and plan creation.
func (ProviderDependency) MountDependencyFactory ¶
func (dependency ProviderDependency) MountDependencyFactory() graphbinding.MountDependencyFactory
MountDependencyFactory returns the exact session overlay selected by AssemblyDependency. Calling the factory creates only a registry of provider factories; provider construction remains behind element Factory.Mount.
type ProviderRegistration ¶
type ProviderRegistration struct {
Reference string
Descriptor perceptionelements.VisualProviderDescriptor
Factory perceptionelements.VisualProviderFactory
}
ProviderRegistration is one symbolic visual-provider reference and the exact live descriptor its factory must return. Factory is deliberately not called while the dependency is created or while its mount overlay is assembled; the VisualObserver element owns provider acquisition.