Contents
Navigation
Home User Reference Other Resources


This class allows you to retrieve and modify the settings that affect how to QuickTime handles streaming of data over a network. All of the properties and methods of this class allow you to programmatically setup the transport settings; some of these parameters can be accessed by selecting the Custom... menu item of the Transport Setup popup list in the Advanced pane of the QuickTime preferences panel.

Using this class requires QuickTime 4.1 or later.







The QTPlgTransportPreferences does not provide any constructor at all. You obtain a valid QTPlgTransportPreferences class instance, only by the property of the class.

The ˜QTPlgTransportPreferences class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.

Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgTransportPreferences object is always valid.

a comma–delimited list of URLs
a list of all transport currently available
determines which of the available transport types is currently active. You can specify one of the transport types returned by the class property. Using this property to specify the active protocol is equivalent to assigns true to the class method
Requires QuickTime 6.0 or later

(protocol as ) as integer
use this method to get or set the port to use for the connection type specified by the protocol parameter. You can specify only one of the transport types returned by the class property.
returns or sets the port used by the specified connection. Check the class property for errors
(protocol as ) as boolean
use this method to get or set the status of the connection type specified by the protocol parameter. You can specify only one of the transport types returned by the class property. Note that there must be always a protocol active, so, deactivating a protocol could not be possible if the list of available transport types contains just one protocol. This not being the case, deactivating the specified connection, will cause the first connection of another type found in the list to be automatically activated You can find about the currently active transport type by inspecting the class property.
returns or sets the status of the specified connection. Check the class property for errors
(protocol as ) as
use this method to get or set the proxy server settings (if any) to be associated to the connection type specified by the protocol parameter. You can specify only one of the transport types returned by the class property.
returns or sets the proxy server settings (if any) associated to the specified connection, otherwise returns nil. Check the class property for errors