[Freeswitch-dev] Can't write wav file.

Michael Jerris mike at jerris.com
Mon Jun 27 20:02:51 MSD 2016


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.

On Monday, June 27, 2016, Stephen Dame <sdame at 207me.com> wrote:

> Further testing,  if I use a video profile video-mcu-stereo able to write
> the wav file with no problems.
>
>
>
>
>
>
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/applications/mod_conference/conference_record.c#63
>
>
>
> 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 at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','freeswitch-dev-bounces at lists.freeswitch.org');>
> [mailto:freeswitch-dev-bounces at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','freeswitch-dev-bounces at lists.freeswitch.org');>]
> *On Behalf Of *Stephen Dame
> *Sent:* Monday, June 27, 2016 7:07 AM
> *To:* freeswitch-dev at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','freeswitch-dev at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160627/1276a516/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-dev mailing list