Swf_options_getembeddedurl – Google Flix Engine Linux Reference Manual User Manual

Page 227

Advertising
background image

5.52 SWF

221

5.52.5.3

on2sc swf_options_GetAdaptivePreloaderBufferFactor (FLIX2HANDLE flix, double ∗
pPreloaderBufferFactor)

Gets the adaptive preload buffer factor.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pPreloaderBufferFactor The adaptive preloader buffer factor.

Return values:

ON2_OK

Success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

pPreloaderBufferFactor

is not NULL

See also:

swf_options_SetAdaptivePreloaderBufferFactor()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_ADAPTIVE_-

PRELOAD_BUFFER_FACTOR

parameter. This function will be removed in a future release.

5.52.5.4

on2sc swf_options_GetEmbeddedUrl (FLIX2HANDLE flix, char ∗ embeddedUrl, int32_t
∗ len)

Gets the embedded URL.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ embeddedUrl The embedded URL.

↔ len

• IN: The length of embeddedUrl.

• OUT: The length of the URL (minus the null terminator).

Return values:

ON2_OK

Success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NO_MEM

embeddedUrl

does not have enough allocated space to return the URL. The size in

bytes needed (minus null terminator) will be returned in len.

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

len

is not NULL

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising