[AG-TECH] Development issue: AllocationMulticastLocation
randy.groves at boeing.com
Fri Oct 8 17:39:38 CDT 2004
I have a similar question - although I haven't poked around in the code yet.
I've got a Shared WhiteBoard app in the works. Fairly simple - essentially
just a wrapper around wbd - which runs on Windows and Linux (although I
haven't worked on the Linux startup part yet). Right now it just hardwires
a multicast address and port to do the communication. What I'm thinking of
doing is extracting the multicast address and port of the video stream and
allocating a port that isn't being used on that address. Then keeping
track of that somehow, so that a second white board in the same venue would
get a still different port.
So, first question - is there anything basically wrong with this approach?
And second - are the hooks available and documented (pointers to code is
fine) that will give me the current multicast address and port of the
streams in a venue?
At 04:23 AM 10/8/2004, Socrates Varakliotis wrote:
>I was looking into AccessGrid/Venue.py, around line 926. There is a method
>AllocateMulticastLocation() to allocate a Network Location. This code is
>used by the Venue Server.
>I was wondering whether I could have a handle from within this method to
>the Venue Management options.
>My problem is this:
>Say I want to check whether RANDOM or INTERVAL address allocation method
>has been selected from Venue Management. I can do this:
>allocMethod = self.server.addressAllocationMethod
>and check with some if conditions whether allocMethod=='random' or
>allocMethod=='interval', + other blah blah.
>What if I need to check against other "settings" from the Venue
>Management, e.g.: what if I want to detect whether static address
>allocation has been selected, or one of the dynamic methods? Is there any
>attribute in the server's class to hold this information, or should I add one?
>Any ideas/help appreciated.
>Dr. Socrates Varakliotis
>UCL Computer Science
>Gower Street, WC1E 6BT, London, UK
>Tel: +44 20 7679 3696
>Fax: +44 20 7387 1397
More information about the ag-tech