java - No RTP or SIP DTMF with libjitsi -
i'm trying add dtmf audiomediastreamimpl (from libjitsi). can in_band method, that's not optimal because compression problems can arrive.
but can't working version of rtp_dtmf or sip_info_dtmf, nothing happens.
i have tried use standard method :
public void senddtmf(final dtmftone dtmftone) { // same code dtmfmethod.sip_info_dtmf second test. mediastream.startsendingdtmf(dtmftone, dtmfmethod.rtp_dtmf, 100, 101, 100); try { thread.sleep(1000l); } catch (interruptedexception e) { e.printstacktrace(); } mediastream.stopsendingdtmf(dtmfmethod.rtp_dtmf); }
i have tried stop rtp flux before, after, not use stopsendingdtmf nothing working.
i use libjitsi version 563.
if can't solution audiomediastreamimpl, create own sip_info_dtmf, have heard best method dtmf rtp version.
i have found how archive objectif.
the startsendingdtmf start new thread has task send dtmf. , throw exception because telephone_event not supported.
i need add more information in sdp transaction , add dynamic payload audiostreamimplementation.
the rfc 2198 / 4733 define how add media attribute.
Comments
Post a Comment