Packagecom.hippohx
Classpublic class VideoServer
InheritanceVideoServer Inheritance HaxeBackendListener Inheritance flash.events.EventDispatcher

The VideoServer class is used to interact with haXevideo server to perform local audio and video recording.

This class is experimental and hasn't been thoroughly tested so expect some problems or weird behaviours. If you find them, please tell us about it.



Protected Properties
 PropertyDefined by
 InheritedHAXE_BACKEND : String = ""
HAXE_BACKEND defines the ID that a Neko backend needs to use to call methods on this class (or the class extending this one).
HaxeBackendListener
Public Methods
 MethodDefined by
  
Do NOT call this constructor, please use getInstance method instead.
VideoServer
 Inherited
Returns HAXE_BACKEND API identifier.
HaxeBackendListener
  
[static] Use this method to retrieve an instance of the class, do NOT call the constructor directly.
VideoServer
  
start(baseDir:String = null):void
Starts haXeVideo server.
VideoServer
Constructor detail
VideoServer()constructor
public function VideoServer()

Do NOT call this constructor, please use getInstance method instead.

See also

Method detail
getInstance()method
public static function getInstance():VideoServer

Use this method to retrieve an instance of the class, do NOT call the constructor directly. Note that you don't need to store the instance to access its methods, you can simply do this:

VideoServer.getInstance().start();

Returns
VideoServer
start()method 
public function start(baseDir:String = null):void

Starts haXeVideo server. You need to start the server before start recording.

Parameters
baseDir:String (default = null) — Defines the path where the video will be stored. By default it will use the value of System.getUserFolder.

See also