Closed jmillan closed 11 months ago
Use an already allocated send buffer to directly encrypt the RTP rather than using the static EncryptBuffer that needs to be memcpy-ed before sending.
If there are no send buffers available, the EncryptBuffer will be used.
This saves 1% CPU. (Tested in 1 Producer -> 40 audio/video Consumers Router).
Conflicts
Use an already allocated send buffer to directly encrypt the RTP rather than using the static EncryptBuffer that needs to be memcpy-ed before sending.
If there are no send buffers available, the EncryptBuffer will be used.
This saves 1% CPU. (Tested in 1 Producer -> 40 audio/video Consumers Router).