Closed PranavSolanki230 closed 3 years ago
Below is the console output and I think it can't load Video Display Modules. Any suggestions
[31mdl: mod: /usr/local/lib/baresip/modules/sdl.so (dlopen(/usr/local/lib/baresip/modules/sdl.so, 6): image not found) [;m[31mmodule sdl.so: No such file or directory [;m[31mdl: mod: /usr/local/lib/baresip/modules/opengles.so (dlopen(/usr/local/lib/baresip/modules/opengles.so, 6): image not found) [;m[31mmodule opengles.so: No such file or directory [;m[31mdl: mod: /usr/local/lib/baresip/modules/x11.so (dlopen(/usr/local/lib/baresip/modules/x11.so, 6): image not found) [;m[31mmodule x11.so: No such file or directory
I can build baresip 1.0.0 with above EXTRA MODULES, but when I try to register user it shows below errors: [;m[31mdl: mod: /usr/local/lib/baresip/modules/avformat.so (dlopen(/usr/local/lib/baresip/modules/avformat.so, 6): image not found) [;m[31mmodule avformat.so: No such file or directory [;mvidsrc: avcapture [31mdl: mod: /usr/local/lib/baresip/modules/sdl.so (dlopen(/usr/local/lib/baresip/modules/sdl.so, 6): image not found) And when I look for the above files (avformat.so & sdl.so) I can see those files there. Don't understand what to do next.
This is the console o/p. Don't know where I m going wrong.
path of config file= /var/mobile/Containers/Data/Application/xxxxxxx/Documents [31mconfig: no sip_cafile defined, tls connections maybe won't work [;mLocal network address: IPv4=en0|192.xxx.xx.xxx IPv6=en0|xxxx:4041:xxx:343:xxxx:b531:xxxx:c1eb [31mdl: mod: /usr/local/lib/baresip/modules/stdio.so (dlopen(/usr/local/lib/baresip/modules/stdio.so, 6): image not found) [;m[31mmodule stdio.so: No such file or directory [;maucodec: PCMU/8000/1 aucodec: PCMA/8000/1 aufilt: vumeter auplay: audiounit ausrc: audiounit [31mavcodec: h264 encoder not found (libx264) [;mvidcodec: H264 vidcodec: H264 vidcodec: H263 vidcodec: MP4V-ES vidcodec: H265 avcodec: using H.264 decoder 'h264' -- H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 avcodec: using H.265 decoder 'hevc' -- HEVC (High Efficiency Video Coding) avcodec: enable hwaccel using 'videotoolbox' avcodec: decode: using hardware pixel format 'videotoolbox_vld' [31mdl: mod: /usr/local/lib/baresip/modules/avfilter.so (dlopen(/usr/local/lib/baresip/modules/avfilter.so, 6): image not found) [;m[31mmodule avfilter.so: No such file or directory [;mvidfilt: selfview_window [31mdl: mod: /usr/local/lib/baresip/modules/swscale.so (dlopen(/usr/local/lib/baresip/modules/swscale.so, 6): image not found) [;m[31mmodule swscale.so: No such file or directory [;m[31mdl: mod: /usr/local/lib/baresip/modules/avformat.so (dlopen(/usr/local/lib/baresip/modules/avformat.so, 6): image not found) [;m[31mmodule avformat.so: No such file or directory [;mvidsrc: avcapture [31mdl: mod: /usr/local/lib/baresip/modules/sdl.so (dlopen(/usr/local/lib/baresip/modules/sdl.so, 6): image not found) [;m[31mmodule sdl.so: No such file or directory [;m[31mdl: mod: /usr/local/lib/baresip/modules/opengl.so (dlopen(/usr/local/lib/baresip/modules/opengl.so, 6): image not found) [;m[31mmodule opengl.so: No such file or directory [;mvidsrc: fakevideo vidisp: fakevideo [31mdl: mod: /usr/local/lib/baresip/modules/sdl.so (dlopen(/usr/local/lib/baresip/modules/sdl.so, 6): image not found) [;m[31mmodule sdl.so: No such file or directory [;m[31mdl: mod: /usr/local/lib/baresip/modules/avformat.so (dlopen(/usr/local/lib/baresip/modules/avformat.so, 6): image not found) [;m[31mmodule avformat.so: No such file or directory [;mmedianat: stun medianat: turn medianat: ice [31muuid: fopen() \270\252\370/uuid (No such file or directory) [;m[31mdl: mod: /usr/local/lib/baresip/modules/uuid.so (dlopen(/usr/local/lib/baresip/modules/uuid.so, 6): image not found) [;m[31mmodule uuid.so: No such file or directory [;maccount: creating accounts template \270\252\370/accounts [31mdl: mod: /usr/local/lib/baresip/modules/account.so (dlopen(/usr/local/lib/baresip/modules/account.so, 6): image not found) [;m[31mmodule account.so: No such file or directory [;mcontact: creating contacts template \270\252\370/contacts [31mdl: mod: /usr/local/lib/baresip/modules/contact.so (dlopen(/usr/local/lib/baresip/modules/contact.so, 6): image not found) [;m[31mmodule contact.so: No such file or directory [;mPopulated 2 audio codecs Populated 1 audio filter Populated 5 video codecs Populated 1 video filter 0 ua_event(rawValue: 0) UserAgent UA_EVENT_REGISTERING USER 311@xxxx.xxx.xxxxx.int.xxxx.org REGISTERED!!!!! 2021-03-11 11:15:34.102626+0530 VideoCallBaresip[1276:296825] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 25684_PortraitChoco_iPhone-Simple-Pad_Default 311@xxxx.xxx.xxxxx.int.xxxx.org: (prio 0) {0/UDP/v4} 200 OK () [1 binding] ua_event(rawValue: 1) UserAgent Regisered successfully ua: using best effort AF: af=AF_INET call: connecting to 'sip:312@xxxx.xxx.xxxxx.int.xxxx.org:xxxxx'.. ua_event(rawValue: 24)
call: SIP Progress: 100 Trying (/)
ua_event(rawValue: 25) stream: update 'audio' stream: update 'video' audio: Set audio decoder: PCMU 8000Hz 1ch audiounit: AudioRouteChange - reason 3 audio: player started with sample format S16LE audio: Set audio encoder: PCMU 8000Hz 1ch audiounit: AudioRouteChange - reason 3 audiounit: AudioRouteChange - reason 3 audiounit: record: enable resampler 8000.0 -> 8000 Hz 2021-03-11 11:15:40.735127+0530 VideoCallBaresip[1276:296861] [aid] 166: Caught analyzer graph exception 1718775073 !mrf slice duration must be set before configure. in /BuildRoot/Library/Caches/com.apple.xbs/Sources/AudioDSP/AudioDSP-360/CoreAudioUtility/Source/CADSP/DSPGraph/DSPGraph_Graph.cpp:628 audio: source started with sample format S16LE audio tx pipeline: audiounit ---> vumeter ---> PCMU audio rx pipeline: audiounit <--- vumeter <--- PCMU Call event: call_event(rawValue: 3) Call Established
[0:00:00] audio=0/0 video=0/0 (bit/s) efps=0.0/0.0
2021-03-11 11:15:40.780435+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.803470+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.826506+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
[0:00:00] audio=0/0 video=0/0 (bit/s) efps=0.0/0.0
2021-03-11 11:15:40.849874+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.873039+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.896236+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.919713+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:40.943025+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
... ... ...
[0:00:08] audio=63573/52906 video=0/0 (bit/s) efps=0.0/0.0
2021-03-11 11:15:48.467739+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:48.491727+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
2021-03-11 11:15:48.514213+0530 VideoCallBaresip[1276:296965] 61: EXCEPTION (-1): ""
sip:312@xxxx.xxx.xxxxx.int.xxxx.org:xxxxx: session closed: Connection reset by peer
audiounit: AudioRouteChange - reason 3
Call event:
call_event(rawValue: 4)
[0:00:08] audio=63573/52906 video=0/0 (bit/s) efps=0.0/0.0
[0:00:08] audio=63573/52906 video=0/0 (bit/s) efps=0.0/0.0
.... .... ....
[0:00:13] audio=0/0 video=0/0 (bit/s) efps=0.0/0.0
.... ....
[0:00:15] audio=0/0 video=0/0 (bit/s) efps=0.0/0.0
[0:00:15] audio=0/0 video=0/0 (bit/s) efps=0.0/0.0
call: terminate call '07d239d47ad2914e' with sip:312@xxxx.xxx.xxxxx.int.xxxx.org:xxxxx
ua_event(rawValue: 13)
Call Closed
sip:311@xxxx.xxx.xxxxx.int.xxxx.org:xxxxx: Call with sip:312@xxxx.xxx.xxxxx.int.xxxx.org:xxxxx terminated (duration: 15 secs)
call duration: 0
Below is the config file
#
#
poll_method kqueue # poll, select, kqueue ..
call_local_timeout 120 call_max_calls 4
audio_path /usr/local/share/baresip audio_player audiounit,default audio_source audiounit,default audio_alert audiounit,default
audio_level no ausrc_format s16 # s16, float, .. auplay_format s16 # s16, float, .. auenc_format s16 # s16, float, .. audec_format s16 # s16, float, .. audio_buffer 20-160 # ms
video_source avcapture,nil video_display sdl,nil video_size 352x288 video_bitrate 500000 video_fps 25.00 video_fullscreen no videnc_format yuv420p
rtp_tos 184
rtcp_mux no jitter_buffer_type fixed # off, fixed, adaptive jitter_buffer_delay 5-10 # frames
rtp_stats no
module_path /usr/local/lib/baresip/modules
module stdio.so
module g711.so
module vumeter.so
module audiounit.so
module avcodec.so
module avfilter.so module selfview.so
module swscale.so
module avformat.so module avcapture.so
module sdl.so module opengl.so
module fakevideo.so
module sdl.so
module avformat.so
module stun.so module turn.so module ice.so
module_tmp uuid.so module_tmp account.so
module_app auloop.so
module_app contact.so module_app debug_cmd.so
module_app menu.so
module_app vidloop.so
cons_listen 0.0.0.0:5555 # cons
http_listen 0.0.0.0:8000 # httpd - server
ctrl_tcp_listen 0.0.0.0:4444 # ctrl_tcp
evdev_device /dev/input/event0
opus_bitrate 28000 # 6000-510000
vumeter_stderr yes
video_selfview window # {window,pip} selfview_size 64x64
avcodec_h264enc libx264 avcodec_h264dec h264 avcodec_h265enc libx265 avcodec_h265dec hevc avcodec_hwaccel videotoolbox
And should I need to make any changes in any .c or .h file to make the video call working? (I have never worked in objective C using swift) Any help appreciated