The Session object dispatches a
streamPropertyChanged event in the following circumstances:
hasVideoproperty of the Stream object to change. This change results from a call to the
publishVideo()methods of the Publish object.
qualityproperty of a stream are determined. For more information, see Stream.quality.
The StreamPropertyChangedEvent object defines the properties of the event object that is dispatched.
The StreamPropertyChangedEvent object has the following properties:
changedProperty (String) The property of the stream that
changed. This can be either
newValue (Object) The new value of the property (after the change).
oldValue (Object) The old value of the property (before the change).
stream (Stream) The Stream object for which a property has changed.
target (Object) The Session object that dispatched the event.
type (String) The type of event (