baresip / baresip-ios

Baresip for iOS
46 stars 33 forks source link

Audio issue in baresip in iOS #54

Closed aarizhov closed 10 months ago

aarizhov commented 11 months ago

I checked this https://github.com/baresip/baresip/issues/1174 but it's not helped me

I can't get audio from both sides.

--- baresip_init_result 0 ua: adding SIP CA file: /private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/cert.pem ua: adding SIP CA path: --- ua_init_result 0 dl: mod: ./stdio.so (dlopen(./stdio.so, 0x0006): tried: '/usr/lib/system/introspection/stdio.so' (no such file, not in dyld cache), './stdio.so' (no such file), '/private/preboot/Cryptexes/OS./stdio.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./stdio.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./stdio.so' (no such file), '/usr/lib/./stdio.so' (no such file, not in dyld cache), './stdio.so' (no such file), '/usr/lib/system/introspection/stdio.so' (no such file, not in dyld cache), '//stdio.so' (no such file), '/private/preboot/Cryptexes/OS//stdio.so' (no such file), '//stdio.so' (no such file)) module stdio.so: No such file or directory aucodec: PCMU/8000/1 aucodec: PCMA/8000/1 aufilt: auconv aufilt: auresamp auplay: audiounit ausrc: audiounit vidsrc: avcapture medianat: stun medianat: turn medianat: ice Populated 0 accounts account: No SIP accounts found -- check your config or add an account using 'uanew' command Populated 3 contacts dl: mod: ./netroam.so (dlopen(./netroam.so, 0x0006): tried: '/usr/lib/system/introspection/netroam.so' (no such file, not in dyld cache), './netroam.so' (no such file), '/private/preboot/Cryptexes/OS./netroam.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./netroam.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./netroam.so' (no such file), '/usr/lib/./netroam.so' (no such file, not in dyld cache), './netroam.so' (no such file), '/usr/lib/system/introspection/netroam.so' (no such file, not in dyld cache), '//netroam.so' (no such file), '/private/preboot/Cryptexes/OS//netroam.so' (no such file), '//netroam.so' (no such file)) module netroam.so: No such file or directory Populated 2 audio codecs Populated 2 audio filters Populated 0 video codecs Populated 0 video filters 2023-10-03 13:45:10.410411+0300 Test5[2378:666716] --- conf_modules_result 0 2023-10-03 13:45:10.410472+0300 Test5[2378:666716] --- uag_event_register_result 0 dl: mod: ./stdio.so (dlopen(./stdio.so, 0x0006): tried: '/usr/lib/system/introspection/stdio.so' (no such file, not in dyld cache), './stdio.so' (no such file), '/private/preboot/Cryptexes/OS./stdio.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./stdio.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./stdio.so' (no such file), '/usr/lib/./stdio.so' (no such file, not in dyld cache), './stdio.so' (no such file), '/usr/lib/system/introspection/stdio.so' (no such file, not in dyld cache), '//stdio.so' (no such file), '/private/preboot/Cryptexes/OS//stdio.so' (no such file), '//stdio.so' (no such file)) module stdio.so: No such file or directory static module already loaded: g711.so static module already loaded: auconv.so static module already loaded: auresamp.so static module already loaded: audiounit.so static module already loaded: avcapture.so static module already loaded: uuid.so static module already loaded: stun.so static module already loaded: turn.so static module already loaded: ice.so static module already loaded: account.so static module already loaded: contact.so static module already loaded: debug_cmd.so static module already loaded: menu.so dl: mod: ./netroam.so (dlopen(./netroam.so, 0x0006): tried: '/usr/lib/system/introspection/netroam.so' (no such file, not in dyld cache), './netroam.so' (no such file), '/private/preboot/Cryptexes/OS./netroam.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./netroam.so' (no such file), '/private/var/containers/Bundle/Application/3D87F0EF-C40E-4975-9F08-C582DD204B3B/Test5.app/Frameworks/./netroam.so' (no such file), '/usr/lib/./netroam.so' (no such file, not in dyld cache), './netroam.so' (no such file), '/usr/lib/system/introspection/netroam.so' (no such file, not in dyld cache), '//netroam.so' (no such file), '/private/preboot/Cryptexes/OS//netroam.so' (no such file), '//netroam.so' (no such file)) module netroam.so: No such file or directory Populated 2 audio codecs Populated 2 audio filters Populated 0 video codecs Populated 0 video filters rand: rand_u32: random not inited using stunserver: 'stun:voice.example.com' 2023-10-03 13:45:10.412405+0300 Test5[2378:666716] --- account_set_auth_user_result 0 2023-10-03 13:45:10.412445+0300 Test5[2378:666716] --- account_set_auth_pass_result 0 2023-10-03 13:45:10.412467+0300 Test5[2378:666716] --- account_set_outbound_result 0 2023-10-03 13:45:10.412487+0300 Test5[2378:666716] --- account_set_sipnat_result 0 rand: rand_u32: random not inited rand: rand_u32: random not inited call: connecting to 'sip:@voice.example.com'.. rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited 2023-10-03 13:45:10.413004+0300 Test5[2378:666716] ua_event: CALL_OUTGOING rand: rand_u64: random not inited 2023-10-03 13:45:10.413271+0300 Test5[2378:666716] ua_event: CALL_LOCAL_SDP 2023-10-03 13:45:10.413299+0300 Test5[2378:666716] --- ua_connect_result 0 websock: connecting to 'wss://[]:443/' websock_connect: No route to host ws_conn_send failed (No route to host) rand: rand_u64: random not inited rand: rand_u32: random not inited websock: connecting to 'wss://***:443/'

<0x10313b2c8> WSS websock established to ****:443 --> send rand: rand_u64: random not inited websock: connecting to 'wss://[****]:443/' websock_connect: No route to host ws_conn_send failed (No route to host) call: SIP Progress: 100 trying -- your call is important to us (/) rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited call: SIP Progress: 183 Session Progress (application/sdp) aors_590994@voice.example.com: Call in-progress: sip:*****@voice.example.com 2023-10-03 13:45:22.967734+0300 Test5[2378:666716] ua_event: CALL_PROGRESS 2023-10-03 13:45:22.967902+0300 Test5[2378:666716] ua_event: CALL_REMOTE_SDP stream: update 'audio' rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited call: SIP Progress: 183 Session Progress (application/sdp) aors_590994@voice.example.com: Call in-progress: sip:****@voice.example.com 2023-10-03 13:45:22.969137+0300 Test5[2378:666716] ua_event: CALL_PROGRESS 2023-10-03 13:45:22.969245+0300 Test5[2378:666716] ua_event: CALL_REMOTE_SDP stream: update 'audio' [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) rand: rand_u64: random not inited rand: rand_u32: random not inited call: SIP Progress: 180 Ringing (application/sdp) aors_590994@voice.example.com: Call in-progress: sip:****@voice.example.com ua_event: CALL_PROGRESS ua_event: CALL_REMOTE_SDP stream: update 'audio' rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited aors_590994@voice.example.com: Call answered: sip:******@voice.example.com ua_event: CALL_ANSWERED ua_event: CALL_REMOTE_SDP stream: update 'audio' rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited aors_590994@voice.example.com: Call established: sip:******@voice.example.com 2023-10-03 13:45:27.579481+0300 Test5[2378:666716] ua_event: CALL_ESTABLISHED [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:00] audio=0/0 (bit/s) [0:00:01] audio=0/0 (bit/s) [0:00:02] audio=0/0 (bit/s) rand: rand_u64: random not inited rand: rand_u32: random not inited rand: rand_u32: random not inited sip:*****@voice.example.com: session closed: Connection reset by peer ua_event: CALL_CLOSED sip:aors_590994@voice.exmple.com: Call with sip:****@voice.example.com terminated (duration: 13 secs)