How to stop audio streaming on an incoming call?

Login to reply to this topic.
Thu, 2005-06-02 06:51
Joined: 2005-02-15
Forum posts: 65
Hi!

In my application I am playing some audio through audio streaming. While the audio is playing and I receive a call, the audio streaming does not stops immediately.

It shows the Incoming call notification dialog but does not start ringing.

It first completes the audio streaming and then starts the phone ringer.

I want my application to stop audio streaming as soon as it gets an incoming call notification.

How can I achieve this???

Any idea, comment or suggestion would be extremely helpful.

Thanks & regards,
Lalit


Thu, 2005-06-02 08:53
Joined: 2005-02-10
Forum posts: 6
Re: How to stop audio streaming on an incoming call?
Hi lalit

You get a FocusLost event in your Active Object on an incomming call. Maybe you can stop playing then.

Chris
Thu, 2005-06-02 10:13
Joined: 2005-05-11
Forum posts: 83
Re: How to stop audio streaming on an incoming call?
Try use RLine::NotifyIncomingCall(...)
Tue, 2005-10-04 10:32
Joined: 2005-08-01
Forum posts: 44
how to stream audio while call active
Hi all,

Does anyone know can CMdaAudioInputStream be used to record audio while there's an active call?

Coz I've tried this and it gave error -13

I want to use this to detect dtmf, that's why I may not use CMdaAudioRecorderUtility because it will be not real time

And, if CMdaAudioInputStream can't be used during a call, then do you know the solution? Mine is :
using CMdaAudioRecorderUtility, record per 1 second and analyze the data until it found a DTMF, but I think the reaction will be quite slow

Or, is anyone know how to detect dtmf in a call?


thanx in advanced
  • Login to reply to this topic.