Core tools for libgpac.
More...
◆ e2s()
def python.libgpac.libgpac.e2s |
( |
|
err | ) |
|
◆ init()
def python.libgpac.libgpac.init |
( |
|
mem_track = 0 , |
|
|
|
profile = None |
|
) |
| |
◆ close()
def python.libgpac.libgpac.close |
( |
| ) |
|
- Note
- Make sure you have destroyed all associated gpac resources before calling this !
- Returns
◆ set_logs()
def python.libgpac.libgpac.set_logs |
( |
|
logs, |
|
|
|
reset = False |
|
) |
| |
- Note
- Make sure you have destroyed all associated gpac resources before calling this !
- Parameters
-
logs | |
reset | if true, resets all logs to default |
- Returns
◆ sys_clock()
def python.libgpac.libgpac.sys_clock |
( |
| ) |
|
- Returns
- clock in milliseconds
◆ sys_clock_high_res()
def python.libgpac.libgpac.sys_clock_high_res |
( |
| ) |
|
- Returns
- clock in microseconds
◆ set_args()
def python.libgpac.libgpac.set_args |
( |
|
args | ) |
|
- Parameters
-
args | list of strings, the first string is ignored (considered to be the executable name) |
- Returns
◆ set_rmt_fun()
def python.libgpac.libgpac.set_rmt_fun |
( |
|
callback_obj | ) |
|
- Parameters
-
callback_obj | object to call back, must have a method on_rmt_event taking a single string parameter |
- Returns
- True if success, False if no Remotery support
◆ rmt_log()
def python.libgpac.libgpac.rmt_log |
( |
|
text | ) |
|
- Parameters
-
- Returns
- True if success, False if no Remotery support
◆ rmt_send()
def python.libgpac.libgpac.rmt_send |
( |
|
text | ) |
|
- Parameters
-
- Returns
- True if success, False if no Remotery support
◆ rmt_on()
def python.libgpac.libgpac.rmt_on |
( |
| ) |
|
- Returns
- True if enabled, False otherwise
◆ rmt_enable()
def python.libgpac.libgpac.rmt_enable |
( |
|
value | ) |
|
- Parameters
-
value | enable or disable sampling |
- Returns
◆ sleep()
def python.libgpac.libgpac.sleep |
( |
|
value | ) |
|