Last active
April 7, 2016 20:53
-
-
Save marinalohova/211dfb3cabea6aa73e4e34c5c0eee0a2 to your computer and use it in GitHub Desktop.
org.red5.samples.livestream.broadcaster.Main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function configUI():Void | |
{ | |
// setup the tooltip defaults | |
Tooltip.options = {size:10, font:"_sans", corner:0}; | |
// setup cam | |
cam = Camera.get(); | |
cam.setMode(480, 320, 15); | |
cam.setQuality(0,80); | |
// setup mic | |
mic = Microphone.get(); | |
// get notified of connection changes | |
connector.addEventListener("connectionChange", this); | |
// set the uri | |
Connector.red5URI = "rtmp://localhost/oflaDemo"; | |
// initialize the connector | |
connector.configUI(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment