-
Notifications
You must be signed in to change notification settings - Fork 242
Stream selection types properties
This feature is available on Kodi 20 and above.
This page list the properties available of each stream selection type. For more information on stream selector types, see page Setting: Stream selection type.
The inputstream.adaptive.stream_selection_type
setting, can be used to take control of this setting for each individual add-on, instead of setting it globally from the setting window of InputStream Adaptive add-on.
Caution: This will make the "stream selection type" setting in the InputStream Adaptive setting window ineffective, so consider allowing the user choice to change this setting in your add-on.
The properties of each stream selection type (e.g. chooser_bandwidth_max
), can also be set without force a specific stream selection type, so by using inputstream.adaptive.stream_selection_type
.
listitem.setProperty('inputstream.adaptive.stream_selection_type', 'adaptive')
- inputstream.adaptive.chooser_bandwidth_max
- inputstream.adaptive.chooser_resolution_max
- inputstream.adaptive.chooser_resolution_secure_max
listitem.setProperty('inputstream.adaptive.stream_selection_type', 'fixed-res')
listitem.setProperty('inputstream.adaptive.stream_selection_type', 'ask-quality')
- No property supported.
listitem.setProperty('inputstream.adaptive.stream_selection_type', 'manual-osd')
- No property supported.
Allows to set the maximum stream bandwidth. The value is defined in bit/s.
This property can override the user setting Maximum bandwidth, but only if the value is less than the user setting.
listitem.setProperty('inputstream.adaptive.chooser_bandwidth_max', '10000000')
Allows to set the maximum stream resolution for non-protected videos.
This property can override the user setting Maximum resolution, but only if the value is less than the user setting.
Values: 480p, 640p, 720p, 1080p, 2K, 1440p, 4K
listitem.setProperty('inputstream.adaptive.chooser_resolution_max', '720p')
Allows to set the maximum stream resolution for DRM-protected videos.
This property can override the user setting Maximum resolution for DRM videos, but only if the value is less than the user setting.
Values: 480p, 640p, 720p, 1080p, 2K, 1440p, 4K
listitem.setProperty('inputstream.adaptive.chooser_resolution_secure_max', '720p')
User Documentation
Developer Documentation
- Integration
- Integration DRM
- Integration DRM (old)
- Stream selection types properties
- How to test a stream
- Test samples python addon
- How to provide custom manifest and license
- Supported containers and codecs
- Verified Media Path (VMP)
- Set resolution limits for DRM streams
- Custom DASH manifest tags
- Audio Subtitles track properties
- Dev. FAQ
- Widevine ARM64 support
- Add‐on WIP status
Development