MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuel d'utilisateur Page 131

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 172
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 171 172

Commentaires sur ces manuels

Pas de commentaire