MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuale Utente Pagina 131

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 130
128
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Availability
Flash Media Server 3.5.
Parameters
connection A NetConnection object.
Returns
A ProxyStream object.
Example
The following example creates an instance of the ProxyStream class:
nc = new NetConnection();
nc.connect("rtmp://amsexample.adobe.com/testapp");
nc.onStatus(info){
if(info.code == "NetConnection.Connect.Success"){
ps = new ProxyStream(nc);
// Use ps.onStatus to check status
}
};
ProxyStream.onStatus()
ps.onStatus = function(infoObject){})
Called every time a status change or error occurs in a ProxyStream object.
Availability
Flash Media Server 3.5
Parameters
infoObject An Object with code and level properties that provide information about the status of a ProxyStream
object. Both properties are strings.
Code property Level property Description
ProxyStream.Proxy.Start status Successfully published the source stream.
ProxyStream.Proxy.Stop status Successfully stopped the source stream.
ProxyStream.Proxy.BadName error The publish attempt failed because the local name was invalid or
exists.
Vedere la pagina 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 171 172

Commenti su questo manuale

Nessun commento