MayamaTakeshi / sip-lab

A node module that helps to write SIP functional tests
3 stars 2 forks source link

Prepare test for unbalanced m= lines in SDP answer/offer #64

Open MayamaTakeshi opened 6 months ago

MayamaTakeshi commented 6 months ago

As mentioned in #59, pjsip/pjmedia will normalize the SDP in the answer so even if the SDP produced by the app code has less m=lines than the one from the SDP answer, the SDP actually sent and the active SDPs kept in memory will be balanced (have the same number of m= lines). So we cannot test if the processing of unbalanced scenario by our code is correct using sip-lab alone. So let's use sipjs-lab to write a test for this.