Files
player/src/test/mocks/flv.mock.ts
T
hibna becc9efc7f Add IPTV (.ts) stream support and tests
Introduced detection and support for MPEG-TS (.ts) IPTV streams in videoProtocol, updated documentation and examples to reflect IPTV support, and added comprehensive tests for protocol detection. Mock implementations for flv.js and hls.js were added for testing, and vitest config now aliases these libraries to their mocks.
2025-11-04 05:24:21 +03:00

10 lines
206 B
TypeScript

// Mock for flv.js library used in tests
export default {
isSupported: () => true,
getFeatureList: () => ({
mseSupported: true,
networkStreamIOSupported: true,
httpsSupported: true,
}),
}