feat(android): add new apis to query device capabilities

getWidevineLevel => integer between 0 and 3
isCodecSupported(codec, width, height) => boolean
isHEVCSupported() => boolean
This commit is contained in:
olivier bouillet
2022-06-23 22:54:03 +02:00
parent 8234fade96
commit 3a4cb7f6d9
4 changed files with 176 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ const styles = StyleSheet.create({
},
});
export { TextTrackType, FilterType, DRMType };
const { VideoDecoderProperties } = NativeModules
export { TextTrackType, FilterType, DRMType, VideoDecoderProperties }
export default class Video extends Component {