You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RFC for the SDP is clear in the order of messages.
However, this order may not be applied by all clients and I'm connecting to a specific client that has the media descriptor not as the last element.
As a result the library fails to connect to that client.
For a simple workaround, I set parsing to the beginning of the message prior to parsing the mediadescriptors.
It also seems that other clients (like MicroSIP are more forgiving and do work fine to the same client).
I currently add
par.setPos(0);
on line 215 of SdpMessage.java, prior to parsing the media descriptors.
This resolves my issue, but I do understand this is a deviation from the standard.
Perhaps this can be optional (i.e. enabled via command line/config).
The text was updated successfully, but these errors were encountered:
The RFC for the SDP is clear in the order of messages.
However, this order may not be applied by all clients and I'm connecting to a specific client that has the media descriptor not as the last element.
As a result the library fails to connect to that client.
For a simple workaround, I set parsing to the beginning of the message prior to parsing the mediadescriptors.
It also seems that other clients (like MicroSIP are more forgiving and do work fine to the same client).
I currently add
par.setPos(0);
on line 215 of SdpMessage.java, prior to parsing the media descriptors.
This resolves my issue, but I do understand this is a deviation from the standard.
Perhaps this can be optional (i.e. enabled via command line/config).
The text was updated successfully, but these errors were encountered: