On Monday, February 24, 2003, at 04:24 PM, engineermike wrote:
Hi folks,
I need to find out a way to log the number of listeners we have on
our QT6 stream. The more information the better. We are using the
Broadcaster to encode and DSS for the server. Any help would be
greatly
appreciated.
One more thing... Using the Streaming Admin Protocol approach would
give you the real-time # of connected users, but it wouldn't actually
log anything. Instead, if you wanted to actually log the users (as in
having their rtsp requests logged and written out to a file) for later
analysis, then simply enable "Access Log" in the streaming admin (by
first logging on to the Streaming Web Admin via
http://qtss.ip.addr:1220) and then look in the access logging directory:
/Library/QuickTimeStreaming/Logs/
(or on other Darwin Unix platforms, it is /var/streaming/logs/)
Note that the access log is not updated for the currently connected
users UNTIL they have disconnected (ie. closed their streaming window),
or else they tear-down their connection or timeout.
In other words, you can't use the access log to view in real-time the
currently connected users - while they are still connected. Instead,
the access log only logs the RTSP connection after the user has
disconnected. This is because the # of packets served, and length of
time connected are included in the log access... and neither of these
would be known UNTIL the user had fully disconnected/terminated their
connection.
If instead you need real-time access to the number of connected users,
then by all means use either the Streaming Web Admin (via port 1220),
or else use the lower-level streaming admin protocol, which is
discussed in the QTSS developer API documentation.
--
Billy Brown
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.