Re: Early dialog with sendonly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I see that i don't get rtp receive on_rx_rtp in early dialog when stream->enc->paused = 1 because of sendonly in SDP 180 ringing. But wireshark include rtp with ringback tone.

If I copy this flag stream->enc->paused = 0; hardcoded into pjmedia_stream_start then it starts working and I get on_rx_rtp. 

Best regards,
Branko


V V čet., 21. sep. 2023 ob 10:30 je oseba Branko Zebec <branko.zebec@xxxxxxxxx> napisala:
Hello,

I use ALSA native audio device. In the early dialogue on 180 I get SDP with sendonly and the media is updated. I get a ringback tone through RTP, but it is not heard on the audio device.

If I change manually in pjmedia_stream_start function stream->enc->paused = 0; then it works.

I see that 

    /* Return sound playback frame. */
    if (conf->ports[0]->tx_level) {

is always 0. 

What could be the problem?

Thank you.

Best regards,
Branko


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list -- pjsip@xxxxxxxxxxxxxxx
To unsubscribe send an email to pjsip-leave@xxxxxxxxxxxxxxx

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux