Packagetv.ustream.broadcaster.logic.publishers
Classpublic class FmePublisher
InheritanceFmePublisher Inheritance Publisher Inheritance Dispatcher Inheritance flash.events.EventDispatcher

Publisher class for broadcasters publishing with Flash Media Live Encoder.



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
[read-only]
Dispatcher
 InheritedactivityLevel : Number
[read-only] Returns the activity level.
Publisher
 InheritedactivityLevelAvailable : Boolean
[read-only] Returns true if the activity level is available
Publisher
 InheritedaudioEnabled : Boolean
Enables / disables the broadcasting of the audio part of the stream.
Publisher
 InheritedaudioQualityPercent : Number
Sets and gets the audio quality percent.
Publisher
 InheritedaudioQualityValue : Number
[read-only] Returns the audio quality.
Publisher
 Inheritedbroadcasting : Boolean
[read-only] Returns the broadcasting state of the stream.
Publisher
 InheritedcameraName : String
Sets and gets the current video device's name.
Publisher
 InheritedcameraNames : Array
[read-only] Returns the list of available video devices.
Publisher
 InheritedcanSetDevices : Boolean
[read-only] Returns true, if the broadcaster is allowed set the video device.
Publisher
 InheritedcanSetQuality : Boolean
[read-only] Returns true, if the broadcaster is allowed set the quality of the video.
Publisher
 InheritedcanSetVolume : Boolean
[read-only] Returns true, if the broadcaster is allowed set the volume.
Publisher
 InheritedcanSetWideScreen : Boolean
[read-only]
Publisher
 InheritedfpsPercent : Number
Sets and gets the fps percent.
Publisher
 InheritedfpsValue : Number
[read-only] Gets the fps value.
Publisher
 InheritedlocalMonitorAvailable : Boolean
[read-only] Returns true if the local monitor is available.
Publisher
 InheritedlocalMonitorEnabled : Boolean
Sets and gets if the monitor should show the local stream.
Publisher
 InheritedmicrophoneName : String
Sets and gets the current audio device.
Publisher
 InheritedmicrophoneNames : Array
[read-only] Returns the list of available audio devices.
Publisher
 InheritedremoteMonitorAvailable : Boolean
[read-only] Returns true, if the remote monitor is available.
Publisher
 InheritedremoteMonitorEnabled : Boolean
Sets and gets if the monitor should show the encoded stream.
Publisher
 InheritedstreamNamePrefix : String
[static] [read-only] Generates a random prefix which will constant for this session.
Publisher
 InheritedvideoEnabled : Boolean
Enables / disables the broadcasting of the video part of the stream.
Publisher
 InheritedvideoQualityPercent : Number
Sets and gets the video quality in percent.
Publisher
 InheritedvideoQualityValue : Number
[read-only] Returns the video quality.
Publisher
 Inheritedvolume : Number
Sets and gets the volume
Publisher
 InheritedwideScreen : Boolean
Publisher
Protected Properties
 PropertyDefined By
 Inherited_active : Boolean = true
Dispatcher
Public Methods
 MethodDefined By
  
FmePublisher(logic:Logic, fms:Connection)
Constructor.
FmePublisher
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override]
Dispatcher
 Inherited
audioQualityFormat(percent:Number = 0):String
Formats the percent value of the audio quality to a more user friendly format.
Publisher
  
destroy(... e):*
[override] Clean up method.
FmePublisher
 Inherited
dispatchEvent(event:Event):Boolean
[override]
Dispatcher
 Inherited
Dispatcher
 Inherited
fpsFormat(percent:Number = 0):String
Formats the percent value of the fps to a more user friendly format.
Publisher
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override]
Dispatcher
 Inherited
setEchoPrefix(str:String):void
Dispatcher
 Inherited
If the logic isn't in sleep mode, then calls the FMS to put the stream online.
Publisher
 Inherited
Calls the FMS to put the stream offline.
Publisher
 Inherited
videoQualityFormat(percent:Number = 0):String
Formats the percent value of the video quality to a more user friendly format.
Publisher
Protected Methods
 MethodDefined By
 Inherited
dispatch(eventName:String, bubbles:Boolean = false, data:* = null):void
Dispatches the event, if the class is active.
Dispatcher
 Inherited
echo(what:String):void
Dispatcher
  
fmeConnected(streamName:String = null, online:Boolean = false, serverUrl:String = null, forced:Boolean = false):void
[override]
FmePublisher
  
init():void
[override]
FmePublisher
 Inherited
onBroadcastStarted(... e):void
Publisher
Events
 Event Summary Defined By
 InheritedFires when the broadcaster changes the selected video device.Publisher
 InheritedDispatcher
 InheritedFires when the local stream selected as monitor.Publisher
 InheritedFires when the broadcaster changes the selected audio device.Publisher
 InheritedFires, when the server stream selected as monitorPublisher
Constructor Detail
FmePublisher()Constructor
public function FmePublisher(logic:Logic, fms:Connection)

Constructor.

Parameters
logic:Logic
 
fms:Connection
Method Detail
destroy()method
override public function destroy(... e):*

Clean up method.

Parameters

... e

Returns
*
fmeConnected()method 
override protected function fmeConnected(streamName:String = null, online:Boolean = false, serverUrl:String = null, forced:Boolean = false):void

Parameters

streamName:String (default = null)
 
online:Boolean (default = false)
 
serverUrl:String (default = null)
 
forced:Boolean (default = false)

init()method 
override protected function init():void