Adding port configuration and cap negotiation callbacks to the aac encoder