I changed the order of the checks, so now we first check if the gate allows the playback and only after we check the viewer limit.
There was an issue with the previous behavior that if the viewerLimit is exceeded than the GetPlaybackAccessControlInfo() was never called, which in result didn't allow changing the user's viewerLimit while the limit is already exceeded.
I changed the order of the checks, so now we first check if the gate allows the playback and only after we check the viewer limit.
There was an issue with the previous behavior that if the viewerLimit is exceeded than the
GetPlaybackAccessControlInfo()
was never called, which in result didn't allow changing the user'sviewerLimit
while the limit is already exceeded.