O
Sections
Every group

ExternalReference

Media at a URL.

Symbols in this group are spelled otio_external_reference_…. An SDK drops that prefix, which is why the name beside each call is the short one.

new

constructor

Creates a media reference pointing at a URL.

OtioStatus otio_external_reference_new(
    OtioDocument *target,
    const char *name,
    const char *target_url,
    OtioNode *out_node,
    OtioBuffer *out_error);
ParameterTypeRole
targetdocumentthe document, changed
name ?textinput
target_url ?textinput
out_nodenodewritten through, not read
out_errortextwhy the call failed, or null to skip it

set_target_url

setter

Sets where an external reference's media lives.

OtioStatus otio_external_reference_set_target_url(
    OtioDocument *target,
    OtioNode node_handle,
    const char *url,
    OtioBuffer *out_error);
ParameterTypeRole
targetdocumentthe document, changed
node_handlenodewhat the call is about
urltextinput
out_errortextwhy the call failed, or null to skip it

target_url

getter

Returns where an external reference's media lives.

OtioStatus otio_external_reference_target_url(
    const OtioDocument *source,
    OtioNode node_handle,
    OtioBuffer *out_url,
    OtioBuffer *out_error);
ParameterTypeRole
source ?documentthe document, borrowed
node_handlenodewhat the call is about
out_urltextwritten through, not read
out_errortextwhy the call failed, or null to skip it