Don't fixate profile caps which will choose the first profile from list. Instead, store all profiles allowed by peer and try them until x265 can accept one of them.
Don't fixate profile caps which will choose the first profile from list. Instead, store all profiles allowed by peer and try them until x265 can accept one of them.