Re: [webrtc-stats] scalabilityMode: Same as in getParameters() or not? (#731)

> I am unsure as to why L3T1_KEY is missing from the table? It is present in the diagrams https://www.w3.org/TR/webrtc-svc/#L3T1_KEY*
> 
> An algorithm for decrementing a spatial layer would be,
> 
> ```
> decrementSpatialLayer(svc)
>   if (svc == LxTy) return L(x-1)Ty
>   if (svc == SxTy) return S(x-1)Ty if (x-1 != 1) else L1Ty
>   if (svc == LxTy_KEY or LxTy_KEY_SHIFT) return L(x-1)Ty_KEY(_SHIFT) if (x-1 != 1) else L1Ty
> ```

And what's the algorithm for incrementing? That one is the one that gets confusing because of the _SHIFT.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/731#issuecomment-1423701634 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 February 2023 06:27:37 UTC