![]() |
libgpac
Documentation of the core library of GPAC
|
JavaScript API for libgpac core tools. More...
Collaboration diagram for JS Core API for libgpac:Data Structures | |
| interface | JSGPACCoreSystem |
| JSGPACCoreSystem API. More... | |
| interface | WinRect |
| interface | FileInformation |
| interface | SHA1 |
| interface | File |
| interface | Bitstream |
| interface | Fraction |
| interface | FileIO |
| interface | JS_RMTClient |
Variables | |
| attribute JSGPACCoreSystem | Sys |
JavaScript API for libgpac core tools.
This section documents the JavaScript API used to query and control libgpac.
Errors are handled through exceptions.
| interface WinRect |
| interface FileInformation |
object used for file enumeration - cannot be created through constructor
| Data Fields | ||
|---|---|---|
| DOMString | name |
file name |
| DOMString | path |
file path |
| boolean | directory |
true if directory |
| boolean | drive |
true if drive root (local HDD, USB or other mount points) |
| boolean | hidden |
true if hidden file |
| boolean | system |
true if system file |
| unsigned long long | size |
file size in bytes |
| unsigned long long | last_modified |
last modification UTC time in microseconds |
| attribute JSGPACCoreSystem Sys |
global context property representing the one and only JSGPACCoreSystem object attached to the loaded script