![]() |
SOUND4 Stream Library [1.1.5]
|
This library can be used with SOUND4 .CL HD and WEB processing families. This extension supports Live processing only.
You just have to put this library in the same directory of the process, and it will detect and use it, if possible.
You can check in the About window, it should appear with its version.
You will need a Stream.CL
license activated by SOUND4.
You can put a folder named "SOUND4 Stream.CL Metaparsers" in the same directory, which contains some Lua files with predefined metadata parser scripts. For Linux/Darwin, this folder can also be in (libpath)/../share/sound4/.
When integrating in your software, like radio automation software, you can automatically set the metadata from it, using its SetMetadata function.
You should set the Metadata_no_ui
before startup to avoid that the user can manage it on his side (Setup Parameters).
Those parameters can be send to the process at startup by using its SetParameter
function before creating the instance. They will configure what will be available to the user in the interface :
Metadata_no_ui
: If set, disable the user access to metadata (0/1)Metadata_provided_path
: A directory were there are software provided metadata scripts (.lua). If not set, will search in directory "SOUND4 Stream.CL Metaparsers" located where the library is.Metadata_no_auto_path
: If set, disable the search of scripts in "SOUND4 Stream.CL Metaparsers" (0/1)Metadata_server_maxclient
: Set the maximum count of client to metadata TCP server (default: 1)LICENSE_CERT_DIR
: optional certificates dirs for HTTPS verificationLICENSE_CERT_BUNDLE
: optional certificates bundle for HTTPS verificationLICENSE_CERT_CHECK
: if "false", do not check HTTPS certificatesAdvanced runtime setup :
STREAM_THREAD_PRIO
: force the streaming threads priority.Metadata can be used to set the stream artist/title/song/... information that will be passed to the streaming servers.
The following metadata can be passed :
title
: The title of the current songartist
: The name of the artist of the current songcompact_song
: The compact_song sent to stream servers using single metadata info. Automatically built from artist and title if not setxml_metadata
: The metadata in XML form. See Metadata XML formatThe metadata XML should have the following format (each is optional):