csharp
public static class VideoAudioCodecsTurns this assembly on.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
One call, and every WebM with an Opus track becomes playable through MatroskaAudioStreamDecoder.TryOpen — which is the only thing above the seam that changes. Registration rather than a reference doing it by itself, because a module that alters global state when it is merely linked is a module whose behaviour depends on the trimmer.
Idempotent: calling it twice registers one factory, so a library and its host may both ask without arranging not to.
Methods (1)
public static void RegisterOpus()Registers Opus as an audio packet decoder.
Used by (2)
- VideoGameVideoPlayback
- OpusAudioTrackTestsVixen.Video.Codecs.Tests