[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r10414: Move stream creation log
Re: [Gnash-commit] /srv/bzr/gnash/trunk r10414: Move stream creation logic from NetStream to NetConnection (will be useful
Sat, 13 Dec 2008 16:29:51 +0100
Am Samstag, den 13.12.2008, 15:53 +0100 schrieb Sandro Santilli:
> On Sat, Dec 13, 2008 at 03:30:23PM +0100, Benjamin Wolsey wrote:
> > > + // TODO: use getURI to figure the base url, if any
> > > + return streamProvider.getStream(URL(name, ri.baseURL()));
> > Is getURI useful in rtmp? For http connections it shouldn't be used to
> > work out the base URL (it was until I dropped it last week), and I dont
> > see why anyone ever thought it should be.
> Probably not and only used on connect instead.
NetConnection.connect() is where the uri() value gets set, and indeed
all the tests in NetConnection.as show it just returns as a string
what's passed to connect(). It doesn't matter what it is, or whether the
connection was successful. My conclusion was that it's information only.
Apparently it can be useful for passing an argument to
Free Flash, use Gnash
Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
Description: Dies ist ein digital signierter Nachrichtenteil