Hi,
Im making the http direct to the server on port
554 and skipping the admin tool, as it describes
in the API manual on page 133. I have Darwin
running locally and when i use the following url
from my browser:
http://127.0.0.1:554/modules/admin/server/*
this returns all the data it should. When I try
to do the HTTP request from my java program I
have to set the Authorization property to a
certain value I obtained from looking at the perl
scripts running. What Im asking is how does this
authorization value get created and how does
might I simulate this creation in my java
program. Its obviously not good enough to just
use a value because I know it works in one
situation. Thank you in advance,
Stephen
email@hidden
Date: Wed, 9 Nov 2005 10:40:29 +0800
Subject: RE: Darwin Connections
Use wget, curl or similar tool to issue a http
request to DSS's admin interface to get the data.
One interesting thing about
streamingadminserver.pl is, it takes login id and
password
from query string (tested ok with DSS ver 5.5 and
5.0.1.1). That is
http://mydarwin:1220/parse_xml.cgi?qtssusername=mylogin&qtsspassword=mypassword&filename=connected.html
The connected.html is the page
/var/streaming/AdminHtml/connected.html (for
Linux, for Mac OS X it should be somewhere
in /Library/QuickTimeStreaming/AdminHtml). It's
actually a html template with some special tag
for parse_xml.cgi
to parse and insert appropriate values. You might
want to study the page and extract the tags that
provide data you're
really interested at and skip all those html tags
for page formatting.
So the final url should look like
http://mydarwin:1220/parse_xml.cgi?qtssusername=mylogin&qtsspassword=mypassword&filename=myconnected.txt
where myconnected.txt is your own modified page.
Hope it helps.
Best regards,
MC
-----Original Message-----
From:
streaming-server-users-bounces+man-chung.li=email@hidden
[mailto:streaming-server-users-bounces+man-chung.li=email@hidden]On
Behalf Of Stephen Roberts
Sent: Tuesday, November 08, 2005 10:55 PM
To: email@hidden
Subject: Darwin Connections
Hi,
I was just wondering is it possible to do the
following. I need to remotely find out the number
of connections currently being served on my DSS
automatically. How would I go about this? I know
this is probably really straightforward, but all
help is welcome. Thank you in advance,
Stephen
__________________________________
Yahoo! FareChase: Search multiple travel sites in
one click.
http://farechase.yahoo.com
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden
This email sent to email@hidden