kmshttpendpoint: Use common function to create recording profile

Change-Id: Ifeddef94ef0864ebdde553f09af59ecfbbc2de24