Class
OutputTrackGroup
Used to define pairability between OutputTrack instances. First create the group, then assign tracks to it via BaseTrackMetadata.group.
Two tracks are considered pairable if they are in the same group but have a different TrackType, or if they are in different groups that are paired with each other. Groups can be paired with each other using the pairWith method.
Used by
AudioTrackMetadata.groupBaseTrackMetadata.groupConversionAudioOptions.groupConversionVideoOptions.groupOutput.defaultTrackGroupSubtitleTrackMetadata.groupVideoTrackMetadata.group
Constructor
ts
constructor(): OutputTrackGroup;Creates a new OutputTrackGroup.
Methods
pairWith()
ts
pairWith(
other: OutputTrackGroup,
): void;Marks this group as being pairable with another group, symmetrically. Output tracks where each track is assigned to one half of a group pairing are then considered pairable.
You cannot pair a group with itself.