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: various command line issues



Ugo:

Dear All,

when you need to start multiple playlist from the command line, each playlists config file must contain an unique destination base port, for example

Playlist 1 (audio-video)
destination_base_port 5010

Playlist 2 (audio-video)
destination_base_port 5014

and so on, Is it correct?

Once the PlaylistBroadcaster process is running, you don't need to specify ports on subsequent playlists.


I have noticed that If a playlist generated and started from the web interface is running, you can run another playlist from the command line without specify a destination base port...therefore I suppose the former use some ports in the high range and the latter use the default 5004...
Someone knows how to see which ports are used by the broadcasts started from the web interface?

Playlists started from the web interface are announced to the server (using the -a flag). With announced broadcasts, the port is negotiated and a fixed port number is not used. To determine the ports being used you could run netstat -a before and after starting the broadcast and comparing the results.



Another question: is the command line PlaylistBroadcaster -l supposed to work? I always get "- PlaylistBroadcaster: No Broadcasts running." even if multiple broadcasts are running....

You only see broadcasts running under specific user process space. If you start a playlist as the super user using sudo, then you could list all playlists running for that user by using
sudo PlaylistBroadcaster -l
With qtss/dss version 5, the server and admin server run under the qtss user. If you enable a login shell for this user, you could see playlists running for this user. Normally this is managed from the web gui.


I order to check (and eventually stop) playlists I have to use ps -ax|grep PlaylistBroadcaster (then kill the process to stop a playlist)

See above about user space. If you want to stop playlists running under a specific user, you have to su to that user. For the qtss user, you usually manage playlists from web admin. If you stop all playlists from web admin, PlaylistBroadcaster will stop running.


Hope this helps,

-George


_______________________________________________ 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
References: 
 >various command line issues (From: Ugo Venturino <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.