What I did was the following: First, I sent the playback command: call-command: execute execute-app-name: playback execute-app-arg: <filename> Then I send uuid_record (Sorry, it was not Record command): api uuid_record <uuid> start <filename> 120 I also tried replacing the playback command with: api uuid_displace <uuid> start <filename> 0 mux But the end results are the same. The recorded user's voice is about 0.5 second behind the expected result. Thanks, Daniel -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: February 3, 2009 6:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Recording background music and voice is outof sync Can you show us an example of how you're doing this? Playback and Record aren't async so you'll need to show us how you're doing this. Also don't hijack threads you hit replay on the one "Re: [Freeswitch- users] FreeSwitch setup as a "Dumb" SBC" as the subject, deleted the subject and started a new body. That hijacks the thread and that can cause your problem to go ignored in some cases if people aren't interested in the thread topic depending on how their reader threads the emails. Please click new message and type freeswitch- users@lists.freeswitch.org in and then input your subject and body to start a new thread. Thanks, Brian West FreeSWITCH.org On Feb 3, 2009, at 8:21 PM, Daniel Liang wrote:
Hi,
I was trying to record a background music with a user's voice at the same time. I did a playback and started recording. But the recorded user's voice and the background music is about 0.5 second out of sync.
I also tried to use uuid_displace instead of playback, but I got the same result.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
participants (1)
-
Daniel Liang