MayamaTakeshi / sip-lab

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

Codec ilbc not working #90

Open MayamaTakeshi opened 3 months ago

MayamaTakeshi commented 3 months ago
on_media_update

call_id=1
on_media_update call_id=1 active local_sdp: v=0
o=- 3919031730 3919031731 IN IP4 0.0.0.0
s=pjmedia
t=0 0
m=audio 10002 RTP/AVP 96 120
c=IN IP4 127.0.0.1
b=TIAS:15200
a=rtcp:10003 IN IP4 127.0.0.1
a=sendrecv
a=rtpmap:96 iLBC/8000
a=fmtp:96 mode=30
a=rtpmap:120 telephone-event/8000
a=fmtp:120 0-16

on_media_update call_id=1 active remote_sdp: v=0
o=- 3919031730 3919031730 IN IP4 0.0.0.0
s=pjmedia
t=0 0
m=audio 10000 RTP/AVP 96 120
c=IN IP4 127.0.0.1
b=TIAS:15200
a=rtcp:10001 IN IP4 127.0.0.1
a=sendrecv
a=rtpmap:96 iLBC/8000
a=fmtp:96 mode=30
a=rtpmap:120 telephone-event/8000
a=fmtp:120 0-16

node: symbol lookup error: /home/takeshi/src/git/MayamaTakeshi/sip-lab/build/Release/addon.node: undefined symbol: initEncode
takeshi@takeshi-desktop:sip-lab$ 
MayamaTakeshi commented 3 months ago

Let's write a test to iterate over each codec available and reinvite with it. The ilbc is particularly relevant because it is the only one using ptime=30 so we want to see what happens when we do a reinvite from another codec to it (will for example, recording to wav be affected?)