SFrame options
Options of the SFrame transforms and streams of WebRTC Encoded Transform.
- class webrtc.models.sframe_transform_options.SFrameTransformOptions(cipher_suite)
The options of an SFrame decryptor or SFrame stream.
Used by
webrtc.RTCRtpSFrameDecryptor,webrtc.SFrameEncryptorStreamandwebrtc.SFrameDecryptorStream.- Parameters:
cipher_suite (
webrtc.SFrameCipherSuite) β The cipher suite, as a member or its string value.- Raises:
ValueError β If the cipher suite isnβt a member of
webrtc.SFrameCipherSuite.
- class webrtc.models.sframe_transform_options.RTCRtpSFrameEncryptorOptions(cipher_suite, type=SFrameType.per_frame)
The options of an
webrtc.RTCRtpSFrameEncryptor.- Parameters:
cipher_suite (
webrtc.SFrameCipherSuite) β The cipher suite, as a member or its string value.type (
webrtc.SFrameType, optional) β Whether whole frames or RTP packets are encrypted, as a member or its string value. The encryptor only supports'per-frame'.
- Raises:
ValueError β If the cipher suite or the type isnβt a member of its enum.