Hi Stefan
I spoke to soon. It only seems to be recording 1 particpants voice
stream in the conference. The others are not recorded. Another symptom
is that no audio is recorded until the second particpant enters the
conference and only then does it record the first persons voice
stream?????
any ideas?
Cheers
Jason
On Thu, 2008-06-12 at 12:01 +0200, Stefan Sayer wrote:
> Hello,
> o Jason Penton [06/12/08 10:37]:
> > Hi Stefan
> >
> > On Tue, 2008-06-10 at 20:47 +0200, Stefan Sayer wrote:
> >> Hello,
> >>
> >> o Jason Penton [06/10/08 20:36]:
> >>> Hi All,
> >>>
> >>> what is the best way to record a SIP call using SEMS??
> >>>
> >>> I was thinking something like the conference app with a call being made
> >>> out automatically and attaching a writable audio file for the 'recording
> >>> channel'
> >> have a look at AmAudioQueue (AmAdvancedAudio.h, well, its not so
> >> advanced), you can attach two or more AmAudios to the input, e.g. one
> >> AmConferenceChannel and one AmAudioFile. Audio is written to (or read
> >> from, if you push them in output queue) both.
> >>
> > If we take the simpleconference example. Would we still use the
> > AmPlaylist and add the audioqueue to the playlist.
>
> i'd do it the other way round, put the playlist in the audio queue (see
> attached pic). if i am not mistaken now, the front of the queue is at
> the right, the back at the left ('front' is always first read/written).
>
> so this would be like
> audio_file.open("file.wav", AmAudio::write);
> playlist.addToPlaylist(new AmPlaylistItem(channel.get(), channel.get()));
> audio_queue.pushAudio(&audio_file,AmAudioQueue::OutputQueue,AmAudioQueue::Front,true,false);
> audio_queue.pushAudio(&playlist,AmAudioQueue::OutputQueue,AmAudioQueue::Front,false,true);
>
>
> setInput(&playlist);
> setOutput(&audio_queue);
>
> let us know whether this works...
>
> Stefan
>
> >
> > I tried substituting the AmPlayList in the simepleconference with
> > AmAudioQueue. So if I just do the following:
> >
> > setInOut(&audio_queue,&audio_queue);
> >
> > i get echo when you dial in, and
> >
> > if I add something like:
> >
> > audio_queue.pushAudio(channel.get(),AmAudioQueue::OutputQueue,AmAudioQueue::Front,true,false);
> >
> >
> > i get a bunch of noise with debug saying:
> >
> > (17465) DEBUG: write (AmPlayoutBuffer.cpp:79): resync needed: reference
> > ts = 92240; write ts = 986062047
> >
> > Could you please guide me in the right direction.
> >
> > Kind regards
> > Jason
> >
> >> hope this gets you started.
> >> Stefan
> >>
> >>> any feedback / ideas ???
> >>>
> >>> p.s. i did search the archives and found a previous question similar to
> >>> this but unfortunately it was not answered........
> >>>
> >>> Kind regards
> >>>
> >>>
> >>> ------------------------------------------------------------------------
> >>>
> >>> _______________________________________________
> >>> Sems mailing list
> >>> [email protected]
> >>> http://lists.iptel.org/mailman/listinfo/sems
> >
>
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems