Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Darwin Connections



Title: 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
 _______________________________________________
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

 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.