detect-audio-video
Advanced tools
Changelog
4.0.0
Add helpers:
hasTouchScreen()
getMaxTouchPoints()
isPlayStation()
The result of functions getWebRTCAudioCodecs()
and getWebRTCVideoCodecs()
is extended.
Before: getWebRTCAudioCodecs(onlyMedia?: boolean): RTCRtpCodec[]
After: getWebRTCAudioCodecs(onlyMedia?: boolean): { encoding: RTCRtpCodec[]; decoding: RTCRtpCodec[]; }
Changelog
3.1.0
isPlayStationVita()
isPlayStation3()
isPlayStation4()
isPlayStation5()
isPlayStation6()
Changelog
3.0.0
Added helpers:
isSafari()
isDesktopSafari()
Added detection of Dolby Atmos for Safari.
Before: isDolbyAtmosSupported(): boolean
After: isDolbyAtmosSupported(): Promise<boolean>