More Darwin Streaming Server
Warning: High Geek Content, Low General Interest. I written about Apple's Darwin Streaming Server (aka. QuickTime Streaming Server) before, and I will continue to do so until Apple provides sufficient documentation for this product. Today, I will briefly cover the bind_ip_addr configuration option.By default, Apple puts the following line in their /etc/streaming/streamingserver.xml:
This causing the streaming server to bind to all available IP addresses on the server. This may or may not be desirable. Apple does at least show you to how to bind to a particular IP here. Basically, instead of using 0 as your value, you just enter the IP address of your choice:
But what if you want to bind to more than one, but not all IP addresses on the server? Searching on Google for bind_ip_addr will give you a few results, but none that tell you how to do this.
I had the need to do this, so I tried a few things before figuring out the correct way to do it. At first I tried specifying multiple IPs separated by commas and then spaces, but neither worked. I looked through the rest of the file, and saw how Apple specified options with multiple values for other configuration directives, and decided to try the same:
<VALUE>111.222.111.222</VALUE>
<VALUE>111.222.111.223</VALUE>
</LIST-PREF>
To my pleasant surprise, it worked! So there you have it folks: a way to have QuickTime/Darwin Streaming Server bind to selective IP addresses on your server.
Comments
|
Post a comment |
