Re: [webrtc-insertable-streams] Add custom encryption with aiortc python webRTC (#33)

The encryption is done on full media frames, just after the encoder and before the rtp packetization. 
So you have to do the encryption here:
https://github.com/aiortc/aiortc/blob/c0504b6962484ac26ba8ad065191794ac6f607a4/src/aiortc/codecs/vpx.py#L350
on the `self.buffer` 


-- 
GitHub Notification of comment by murillo128
Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/33#issuecomment-643485872 using your GitHub account

Received on Friday, 12 June 2020 21:14:18 UTC