Hi Thomas,<br><br>Thanks for that. I managed to get it to work.<br><br>Have another question: I am trying to do a delete venue now and when I use the following code snippet:<br><br>
venueServer = VenueServerIW( &quot;<a href="https://localhost:8000/VenueServer">https://localhost:8000/VenueServer</a>&quot; )<br>
result = venueServer.RemoveVenue( uri )<br>
<br>I will get the following error:<br>File &quot;/usr/lib/python2.4/site-packages/ZSI/client.py&quot;, line 377, in ReceiveRaw&nbsp;&nbsp;&nbsp; <br>raise RuntimeError, &#39;HTTP Digest Authorization Failed&#39;<br>RuntimeError: HTTP Digest Authorization Failed<br>
<br>I notice for ModifyVenue and DeleteVenue, some form of authorization is required. How can I actually specify the required authorization? Also, I do not recall having any password, etc<br><br>Please advise<br><br>Thanks<br>
Cheers<br>lest<br><br><br><br><div class="gmail_quote">On Thu, Apr 24, 2008 at 11:33 AM, Thomas D. Uram &lt;<a href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Lester:<br>
<br>
You have two options:<br>
<br>
- When creating the Venue, you can include stream descriptions for your streams, setting the &#39;static&#39; attribute.<br>
<br>
- After creating the Venue, you can call VenueIW(venueUrl).AddStream(streamDescription) for each stream you want to add. &nbsp;In this case, too, you&#39;ll want to set the static attribute in the stream description(s).<br>
<br>
If you want the VenueServer/Venue to allocate the stream addresses, then you can call VenueIW(venueUrl).AllocateMulticastLocation. &nbsp;Note that this only allocates the address, it does not add it to the Venue streams.<br>
<br>
<br>
<br>
Tom<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 4/23/08 6:46 AM, lester leong wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Does anyone know how I can create a new venue with static addressing using python commandline?<br>
<br>
Basically what I wish to achieve is smiliar to the following actions on the Venue Server GUI:<br>
1) &quot;Add&quot; a new Venue<br>
2) &quot;Generate New Addresses&quot; and static addressing<br>
<br>
Currently I have a python code that has the following codes to create a new venue:<br>
<br>
newRoomDescription = VenueDescription( roomName, roomDescription, ( encryptMedia, encryptKey) )<br>
venueServer = VenueServerIW( serverURL )<br>
newVenue = venueServer.AddVenue( newRoomDescription )<br>
<br>
The above works just fine. But I am unsure on how I can create with static addressing and generating the new addresses.<br>
<br>
Any advise?<br>
<br>
Thanks :-)<br>
<br>
Cheers<br>
lest<br>
</blockquote>
</div></div></blockquote></div><br>