Documentation
¶
Overview ¶
videotracke2ee publishes or subscribes to an H.264 video track with end-to-end encryption applied at the frame layer.
The publish side derives a key from a shared passphrase, wraps each H.264 sample with lksdk.EncryptGCMH264Sample-equivalent logic via NewFrameEncryptor, and advertises Encryption_GCM on the TrackPublicationOptions.
The subscribe side mirrors that setup: same passphrase, matching NewFrameDecryptor, and TrackDecryptor to reassemble RTP into complete frames before handing them to the decryptor.
Click to show internal directories.
Click to hide internal directories.