Slow encrypted HLS with RSA on armv7 #3117
NBonaparte
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is rather niche and not specific to mediamtx itself, but could be useful in case anyone else stumbles across this issue:
Using encrypted HLS with an RSA cert on armv7 (and maybe armv6) is extremely slow and caused segment drops on a Raspberry Pi; apparently there is a performance bug in the Go TLS library (see golang/go#20058).
This can be fixed by switching to another cert (e.g. ECDSA) or using aarch64 if supported by HW.
Flamegraph (see

tls.HandshakeContext
stack in the middle):Beta Was this translation helpful? Give feedback.
All reactions