RE: DTMF - the "Object Oriented" approach



Yang
Huawei


> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com]
> Sent: Friday, November 16, 2012 4:54 AM
> To: Stefan Hakansson LK
> Cc: public-webrtc@w3.org
> Subject: Re: DTMF - the "Object Oriented" approach
> 
> On 15 November 2012 03:07, Stefan Hakansson LK
> <stefan.lk.hakansson@ericsson.com> wrote:
> > This looks good to me. I think we also need to specify:
> 
> I also like it.
> 
> > * What happens if the MediaStream with the track that the
> > RTCDTMFSendingMediaStreamTrack is associated to is removed from the
> > PeerConnection? I assume there would be an error event next time the app
> > tries to send DTMF.
> 
> I think that we also need an error if DTMF is negotiated off in a
> subsequent offer/answer exchange.


I suggest we can remove the RTCDTMFSendingMediaStreamTrack object when DTMF is negotiated off, thus avoid calling the method attached to DTMF track.

Received on Friday, 16 November 2012 08:06:44 UTC