As pointed out offline by @k-wasniowski, in case of simulcast, there is currently no way to specify per-ssrc encryption for SFrameTransform.
This is implementable with script transform.
Either we are ok with the limitation to use one encryption key for all simulcast streams, or we need to beef up the API, for instance by having setEncryptionKey take an optional rid parameter.
As pointed out offline by @k-wasniowski, in case of simulcast, there is currently no way to specify per-ssrc encryption for SFrameTransform.
This is implementable with script transform.
Either we are ok with the limitation to use one encryption key for all simulcast streams, or we need to beef up the API, for instance by having
setEncryptionKeytake an optional rid parameter.