Shaka Player Embedded
Public Attributes | List of all members
shaka::JsManager::StartupOptions Struct Referencefinal

#include <js_manager.h>

Public Attributes

std::string dynamic_data_dir
 
std::string static_data_dir
 
bool is_static_relative_to_bundle = false
 

Detailed Description

Definition at line 55 of file js_manager.h.

Member Data Documentation

§ dynamic_data_dir

std::string shaka::JsManager::StartupOptions::dynamic_data_dir

The path to store persistent data (e.g. IndexedDB data). This directory needs write access, but can be initially empty. It is assumed that we have complete control over this directory (i.e. other programs won't create/modify files here).

If the path is relative, then it is relative to the working directory.

Definition at line 67 of file js_manager.h.

§ is_static_relative_to_bundle

bool shaka::JsManager::StartupOptions::is_static_relative_to_bundle = false

If true, then static_data_dir is relative to the iOS app bundle, otherwise the path is relative to the working directory. This flag is ignored for non-iOS targets (always relative to working directory).

Definition at line 84 of file js_manager.h.

§ static_data_dir

std::string shaka::JsManager::StartupOptions::static_data_dir

The path to static library data (e.g. shaka-player.compiled.js). This directory only needs read access.

See is_static_relative_to_bundle for handling of relative paths.

Definition at line 76 of file js_manager.h.


The documentation for this struct was generated from the following file: