Issue #213: Fix MRCPv2 Resource Discovery
Created by: schlagert
This commit fixes the unimrcp-client resource discovery using MRCPv2.
The patch basically creates an mrcp_control_descriptor_t
for each resource of an SDP m
-line. If no control descriptors were added (e.g. the SDP has no resource description attached), an attempt will be made to create a control descriptor without resource description. This is needed to be able to e.g. process responses to commands (unimrcp-server).
The patch does not introduce trailing whitespace and uses tabs for indention. I tried to be consistent with the surrounding coding style. Tests are still working.