Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marinalohova/211dfb3cabea6aa73e4e34c5c0eee0a2 to your computer and use it in GitHub Desktop.
Save marinalohova/211dfb3cabea6aa73e4e34c5c0eee0a2 to your computer and use it in GitHub Desktop.
org.red5.samples.livestream.broadcaster.Main
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