Slow encrypted HLS with RSA on armv7 #3117
Locked
NBonaparte
started this conversation in
General
Replies: 1 comment
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.HandshakeContextstack in the middle):Beta Was this translation helpful? Give feedback.
All reactions