| Package | com.hippohx |
| Class | public class VideoServer |
| Inheritance | VideoServer HaxeBackendListener flash.events.EventDispatcher |
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.
| Method | Defined by | ||
|---|---|---|---|
|
Do NOT call this constructor, please use getInstance method instead.
| VideoServer | ||
![]() |
getHaxeBackendId():String
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 | ||
| VideoServer | () | constructor |
public function VideoServer()Do NOT call this constructor, please use getInstance method instead.
See also
| getInstance | () | method |
public static function getInstance():VideoServerUse 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();
VideoServer |
| start | () | method |
public function start(baseDir:String = null):voidStarts haXeVideo server. You need to start the server before start recording.
ParametersbaseDir:String (default = null) — Defines the path where the video will be stored. By default it will use the value of System.getUserFolder.
|
See also