summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/senddefs.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-24 15:01:37 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-24 15:01:37 (GMT)
commit7b47c79a4c2bb83f316e96cf16e3f74d768a428d (patch)
treebc1aa30ff7cb948eadbbe0fd398fa6493c1c4e16 /Demo/sgi/video/senddefs.py
parent67b4895291cdb53e63b503426ca4e52b70904a45 (diff)
downloadcpython-7b47c79a4c2bb83f316e96cf16e3f74d768a428d.zip
cpython-7b47c79a4c2bb83f316e96cf16e3f74d768a428d.tar.gz
cpython-7b47c79a4c2bb83f316e96cf16e3f74d768a428d.tar.bz2
Added options to Vsend and Vreceive; moved common defaults to senddefs.
Optimized LiveVideoIn quite a bit; removed print stmt from LiveVideoOut.
Diffstat (limited to 'Demo/sgi/video/senddefs.py')
-rwxr-xr-xDemo/sgi/video/senddefs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Demo/sgi/video/senddefs.py b/Demo/sgi/video/senddefs.py
new file mode 100755
index 0000000..c3ce2cd
--- /dev/null
+++ b/Demo/sgi/video/senddefs.py
@@ -0,0 +1,11 @@
+# Defaults shared by Vsend and Vreceice
+
+DEFMCAST = '225.0.0.250'
+DEFPORT = 5555
+
+PKTMAX_UCAST = 16*1024 - 6
+PKTMAX_BCAST = 1450
+DEFPKTMAX = PKTMAX_BCAST
+
+DEFWIDTH = 400
+DEFHEIGHT = 300