Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class AVCRecorder

Record from a video device and encode as a raw AVC stream.

class AVCRecorder

Name Description
Constructors  
AVCRecorder() Creates an AVC-recorder.
Properties  
callback Callback function for recieving AVC packets.
Methods  
dispose() Dispose the unmanaged resource.

Constructors

AVCRecorder()

AVCRecorder(id_device: Number)

Creates an AVC-recorder.

Parameters

id_device : index of the camera device.

Properties

callback

.callback: Function .callback(data: ArrayBuffer): undefined

Callback function for recieving AVC packets.

Methods

dispose()

.dispose(): undefined

Dispose the unmanaged resource.