</ul> <p>Configuration parameters will be retrieved from these sources in the listed order: <ol> <li>command line arguments (eg BITMOVIN_API_KEY=xyz) <li>properties file located in the root folder of the JAVA examples at ./examples.properties (see examples.properties.template as reference) <li>environment variables <li>properties file located in the home folder at ~/.bitmovin/examples.properties (see examples.properties.template as reference) </ol> """ EXAMPLE_NAME = "MultiLanguageBroadcastTs" config_provider = ConfigProvider() bitmovin_api = BitmovinApi(api_key=config_provider.get_bitmovin_api_key(), # uncomment the following line if you are working with a multi-tenant account # tenant_org_id=config_provider.get_bitmovin_tenant_org_id(), logger=BitmovinApiLogger()) def main(): encoding = _create_encoding(name=EXAMPLE_NAME, description="BroadcastTS muxing example with multiple audio streams") http_input = _create_http_input(host=config_provider.get_http_input_host()) input_file_path = config_provider.get_http_input_file_path() output = _create_s3_output( bucket_name=config_provider.get_s3_output_bucket_name(), access_key=config_provider.get_s3_output_access_key(),
</ul> <p>Configuration parameters will be retrieved from these sources in the listed order: <ol> <li>command line arguments (eg BITMOVIN_API_KEY=xyz) <li>properties file located in the root folder of the JAVA examples at ./examples.properties (see examples.properties.template as reference) <li>environment variables <li>properties file located in the home folder at ~/.bitmovin/examples.properties (see examples.properties.template as reference) </ol> """ EXAMPLE_NAME = "ServerSideAdInsertion" config_provider = ConfigProvider() bitmovin_api = BitmovinApi( api_key=config_provider.get_bitmovin_api_key(), # uncomment the following line if you are working with a multi-tenant account # tenant_org_id=config_provider.get_bitmovin_tenant_org_id(), logger=BitmovinApiLogger()) def main(): encoding = _create_encoding( name=EXAMPLE_NAME, description="Encoding with SSAI conditioned HLS streams") http_input = _create_http_input(host=config_provider.get_http_input_host()) input_file_path = config_provider.get_http_input_file_path()