$begingroup$ This is not an entire response but may address portion of one's trouble with optoswitches, and is just too very long for any comment.A important derivation purpose is used to derive the different keys Employed in a copyright context (SRTP and SRTCP encryption keys and salts, SRTP and SRTCP authentication keys) from a person one master