On 03/07/2023 06.43, [EXT] 'Huw Carpenter' via rtpengine wrote:
> Hi Richard,
>
> Thanks for the information.
>
> I am managing the signaling to rptengine myself, so tried what you
> suggested, but got an error, "Error parsing SDP at offset 0: Missing
> '=' sign", when passing in the candidates for an answer, not sure if
> the syntax is correct though.
>
> Attached are the logs, the call in question
> is
88506369...@192.168.0.50, my candidates are passed in on line
> 5207.
First off you should probably use an "offer", with just the from-tag
corresponding to the client in question.
It's almost correct, but the candidates must be present in SDP format.
The contents are expected to reflect the payload of a SIP INFO message.
See
https://datatracker.ietf.org/doc/html/rfc8840 for examples.
So at the very least you should present them as `a=candidate`, plus a
method of identifying which media stream they belong to (e.g. by having
matching `m=` lines, or an `a=mid` identifier).
Cheers