kmshttpendpoint: Configure caps basing on the recorder profile

Change-Id: I4f5a8c7d2e402469dee465920932ae6a347e3f55
kmsrecorderendpoint: Configure caps basing on the recording profile

Change-Id: I179b5db8db1f7a4af7d425c254ab623f0b679032