diff options
author | Chia-chi Yeh <chiachi@android.com> | 2011-01-04 19:10:06 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2011-01-04 19:54:49 +0800 |
commit | 3cf71376421f942d06b30101fbf0df7f3b23fbdd (patch) | |
tree | 7714d04d17be68fc45429ea6e631123915a439e1 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8f49c025ca5b4ed84290fb9e5e0b7acb1c139b35 (diff) |
RTP: Send silence packets on idle streams for every second.
Originally a stream does not send packets when it is receive-only or there is
nothing to mix. However, this causes some problems with certain firewalls and
proxies. A firewall might remove a port mapping when there is no outgoing
packet for a preiod of time, and a proxy might wait for incoming packets from
both sides before start forwarding. To solve these problems, we send out a
silence packet on the stream for every second. It should be good enough to
keep the stream alive with relatively low resources.
Bug: 3119690
Change-Id: Ib9c55e5dddfba28928bd9b376832b68bda24c0e4
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions