summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2011-01-04 19:10:06 +0800
committerChia-chi Yeh <chiachi@android.com>2011-01-04 19:54:49 +0800
commit3cf71376421f942d06b30101fbf0df7f3b23fbdd (patch)
tree7714d04d17be68fc45429ea6e631123915a439e1 /graphics/java/android/renderscript/Program.java
parent8f49c025ca5b4ed84290fb9e5e0b7acb1c139b35 (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/Program.java')
0 files changed, 0 insertions, 0 deletions