#56 closed enhancement (fixed)
Periodically transmit RTP packet on silence
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.5.10 |
Component: | pjmedia | Version: | 0.5.9 |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description (last modified by bennylp)
Stream should periodically transmit a silence frame once in a while to keep NAT bindings on and to prevent remote end from tearing down the call when there's no activity on the stream.
Change History (3)
comment:1 Changed 18 years ago by bennylp
- Description modified (diff)
- Summary changed from Implement SID for idle stream transmission to Periodically transmit RTP packet on silence
comment:2 Changed 18 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 17 years ago by bennylp
Note:
- ticket #439 updates this fix
Note: See
TracTickets for help on using
tickets.
Done in r888.
There is a setting called PJMEDIA_CODEC_MAX_SILENCE_PERIOD in pjmedia/config.h to control the maximum period of silence, in timestamp. The default is 8000, which means that a silence RTP packet will be transmitted once every 1 second on a narrowband (8KHz) codec, if local endpoint is silent.