Thanks so much for the info...I was not aware of the admin protocol
and will be studying that area.
When I first started to play with the Darwin server I set one up
locally on my G5. Everything went great and so when I tried your
example:
This worked great on my local install, just needed to change it to
qtssMP3SvrCurConn since I am streaming audio.
But for the life of me George I can not get it to work on the actual
remote Linux server where the web site is hosted and the streamer is
actually streaming out the mp3s to my intended listeners.
I have tried to use ajax, cURL and all forms of php. And of course if
I set it to my actual IP to XXX.XXX.150.31 :
George, as each song is streamed I want to be get the number of users
connected to add that info to the playlist tracking table. I am using
a CRON TAB to parse the current playlist file to see when it changes
and then store that new info into a mySQL table and would like to
also get and store the number of listeners.
I am missing something here? Could the IP address on the Linux host
be different then the 127.0.0.1 or can it be that I can not use port
554?
Are these questions for my host?
Or am I missing something obvious. I have also tracked down the PERL
code in parse.xml.cgi to find how it gets the users and also tried to
do an fsockopen on connected.html, I get everything except the list
of connected users....(: - <)
Thanks a lot for any advice you can give me in pointing me in the
right direction here.
RTSP/1.0 400 Bad Request
Server: DSS/5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; )
Cseq:
Connection: Close
Do I need to re-configure the path for the Linux server? I am not
that well versed in the ways of virtual paths on Linux servers
Thanks for any or all help
Ken Gaspar
www.newmilwaukeeradio.com
www.newmilwaukee.com
There is an http based admin protocol on QTSS/DSS. The web admin
server (written in perl) uses this protocol.
You need the admin username and password to access the API and this
will only work on localhost (by default). It shouldn't be a security
risk if you call it from a server-side script, and your script
wrapped it securely.
I believe the command that gets the number of current connections is:
http://<admin user>:<admin password>@127.0.0.1:554/modules/admin/
server/qtssRTPSvrCurConn