/** * Configuration object used to control video filtering and playback constraints. * * This interface defines optional limits that the player may apply when selecting * a video stream (e.g., during adaptive bitrate decisions). * * @see {@link TrackManager.setVideoFilterConfiguration} * @group Interfaces */ export default interface VideoFilterConfiguration { /** * Max bitrate of the rendition in bits per second. * In case rendition's bitrate is not specified in the manifest then the filtering is not enabled * * @example * maxBitrate: 2_000_000 // 2 Mbps */ maxBitrate?: number; /** * The maximum allowed video height (in pixels). * * Used as a constraint for resolution selection during playback. * * @example * maxHeight: 720 */ maxHeight?: number; /** * The maximum allowed video width (in pixels). * * Used as a constraint for resolution selection during playback. * * @example * maxWidth: 1280 */ maxWidth?: number; /** * Max number of pixels (width * height) of the rendition. * In case rendition's resolution is not specified in the manifest then the filtering is not enabled. * * * @example * maxPixel: 921_600 // corresponds to 1280×720 */ maxPixel?: number; }