That is correct, you can't record in passthrough mode, only in mux or transcode mode. If you are getting that error, it means you are suing a conference profile in passthrough mode.
Further testing, if I use a video profile video-mcu-stereo able to write the wav file with no problems.
if (conference->conference_video_mode == CONF_VIDEO_MODE_PASSTHROUGH) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Video Passthru enabled, recording not permitted.\n");
return;
}
So the standard cdquality profile not getting by CONF_VIDEO_MODE_PASSTHROUGH
Is this disabled somewhere in configs?
Thanks
Stephen
HostBBB – Online Learning Solutions
207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Stephen Dame
Sent: Monday, June 27, 2016 7:07 AM
To: freeswitch-dev@lists.freeswitch.org
Subject: [Freeswitch-dev] Can't write wav file.
Just built master on ubuntu14.04, had mod_av and mod_shout enabled.
I could play mp3,mp4,wav no problem but trying to record mp3/wav gives
-ERR Video Passthru enabled, recording not permitted.
I disabled mod_av, mod_shout to test the standard config.
Just Trying to write a wav file now, with cdquality conference (audio only)
conference 74771 record /tmp/test.wav
-ERR Video Passthru enabled, recording not permitted.
Any thoughts, Looking thru git commits. Must be some config change. Had working on feb 19th build.
Thanks
Stephen
HostBBB – Online Learning
207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame