ONVIF max number of channels

Hi

Is there a max number of channels that the Onvif integration can handle?
I just added my 9th/10th camera, attached to my NVR.
There are main and substreams for the first 8 channels, but number 9 is missing.
I do have other sensors from channel 9 like motion_detection and alarms.

see also Issue #99539