[Freeswitch-users] Record by mod_fsv
王聡
cong.wang.itsherpa at gmail.com
Wed Nov 15 10:32:38 UTC 2017
Hey all,
I had got an error on video call recording by mod_fsv. Here are parts of logs on fs_cli:
EXECUTE sofia/external/1004 at 192.168.109.2 record_session(/tmp/test.fsv)
2017-11-15 19:19:50.909190 [INFO] mod_fsv.c:837 Opening File [/tmp/test.fsv] 8000hz
…
2017-11-15 19:19:50.939189 [NOTICE] switch_core_io.c:1202 Activating write resampler
2017-11-15 19:19:50.949188 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2017-11-15 19:19:50.949188 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2017-11-15 19:19:50.949188 [NOTICE] switch_core_io.c:1202 Activating write resampler
2017-11-15 19:19:50.989187 [DEBUG] sofia.c:7084 Channel sofia/external/1004 at 192.168.109.2 entering state [ready][200]
2017-11-15 19:19:51.039187 [DEBUG] switch_rtp.c:6758 Correct video RTCP ip/port confirmed.
2017-11-15 19:19:51.059187 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2017-11-15 19:19:51.189189 [DEBUG] switch_rtp.c:6758 Correct video RTCP ip/port confirmed.
2017-11-15 19:19:51.449187 [ERR] mod_fsv.c:969 You are asking to write 4096 bytes of data which is not supported. Please set enable_file_write_buffering=false to use .fsv format
2017-11-15 19:19:51.449187 [ERR] switch_ivr_async.c:1169 Error writing /tmp/test.fsv
The dialplan looks like this:
<action application="export" data="nolocal:absolute_codec_string=OPUS,VP8"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="record_concat_video=true"/>
<action application="set" data="enable_file_write_buffering=false"/>
<action application="set" data="execute_on_answer=record_session /tmp/test.fsv”/>
The call itself has no problem, and I got a test.fsv file after hangup but the size is only 316 Byte. I had tried uuid_record and got the same result. Anyone has any idea?
PS. Both mod_av and mod_vlc cannot work properly, I had no choice but try mod_fsv.
Server OS: Debian 8.5 Jessie
FS version: FreeSWITCH Version 1.6.19+git~20171025T192126Z~86184a2f73~64bit (git 86184a2 2017-10-25 19:21:26Z 64bit)
Regards.
More information about the FreeSWITCH-users
mailing list