csharp
public interface IVideoCodecFactoryMakes codecs for the ids it recognises.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
One factory per implementation, rather than a delegate, so that "can you decode this?" is answerable without constructing anything — which is what lets a registry try candidates in order and lets a factory say no to a codec id it half-supports.
Fields and properties (1)
string NameA name for logs.
Methods (2)
bool CanDecode(in VideoTrackInfo track)Whether it could decode a track.
IVideoCodec Create(in VideoTrackInfo track)Creates a codec for a track.
Used by (3)
- CountingFactoryVixen.Video.Tests
- UncompressedVideoCodecFactoryVixen.Video
- VideoCodecRegistryVixen.Video