Using mmos.ini Flags

Prev Next

Creating and Using an mmos.ini File

Overview

The mmos.ini flags are specialty flags used by Scala Enterprise to allow or deny certain behaviors for content playback. Use flags, with some exceptions, in both Player and Designer. Setting these flags in Designer ensures accurate preview of playback.

With the exception of some Windows Player images, users must create an mmos.ini file, as the file usually does not exist by default.

Creating an mmos.ini File

The process for creating an mmos.ini file is somewhat different depending on if you are working with a Windows player or a Linux player.

Windows Players

Checking for a Pre-existing File

On some Windows images, there is already an mmos.ini file provided by default so that you do not need to create one. If the file exists, it is located at C:\Scala\player. Default mmos.ini flags are:

  • WIN32_RootDataFolder

  • WEBCLIP_CachePath

  • AllowDXVA

Creating an mmos.ini File

If your player does not already have an mmos.ini file, you need create the file to apply any mmos flags to your Windows player. To create the file, use a text editor and follow the steps below.

  1. Open a text editor.

  2. Create a file and name it mmos.ini. The file extension must be .ini.

  3. At the beginning of the mmos.ini file, type [Scala].

  4. If you are creating an mmos.ini file for a 64-bit Windows player, the heading is case sensitive, and it must be entered as either [Scala] or [SCALA]. For 32-bit Windows players, the heading is not case sensitive and other capitalization is accepted.

  5. Save the file to the C:\Scala\player directory.

Linux Players

Linux players do not come to you with a mmos.ini file. If you want to apply any mmos flags to a Linux player, you need to create the file first.

Creating an mmos.ini File

Use a text editor to create the mmos.ini file for your Linux player.

  1. Open a text editor.

  2. Create a file and name it mmos.ini. The file extension must be .ini.

  3. At the beginning of the mmos.ini file, type [Scala].

  4. The heading is case sensitive, and it must be entered as either [Scala] or [SCALA].

  5. Save the file to the /opt/scala/player directory.

mmos.ini Flags

Some mmos.ini settings are only available in the player because they control specific tasks that do not affect visual playback, but instead control player software behaviors, such as how the Escape key functions and other player specific operations.

As noted in the tables below, the set of mmos.ini flags that apply to a player depend on whether the player has 32-bit or 64-bit Player software installed.

The mmos.ini flags documented below include the commonly used flags that are appropriate for most Scala installations. Some additional flags exist that are not listed below, which are used to overcome uncommon technical issues in specific Scala installations. If you are reviewing your mmos.ini file and you find any flags that are not listed below, those flags may have been added as a troubleshooting measure.

WIN32

The flags below apply only to Windows players with 32-bit Player software.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

WIN32_RootDataFolder

Use to control the location of all Scala configuration files, logs, settings, temporary files, etc.

WIN32_RootDataFolder=<file path>

n/a

WIN32Book_PreventSwitchout

Setting this flag to off (0) in Designer will log Windows Terminal Services session change events. This flag is on by default in the Windows Player software.

Default Value: On

WIN32BookPreventSwitchout=1

Additional Value: Off

WIN32BookPreventSwitchout=0

n/a

RUNIC

All RUNIC flags are Player features only.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

RUNIC_Reboot

Use to control the behavior of the player if the graphics engine fails. Determines if the entire system reboots or only the graphics engine.

Default Value: On

RUNIC_Reboot=on

Additional Value: Off

RUNIC_Reboot=off

n/a

RUNIC_MonitorConfigRetryLimit

Use to determine the number of times that the player will reboot if the monitor configuration does not sense a monitor.

RUNIC_MonitorConfigRetryLimit=n

n/a

NETIC

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

NETIC_Reboot

Use to reboot the player only.

Default Value: On

NETIC_Reboot=on

Additional Value: Off

NETIC_Reboot=off

n/a

NETCLIENT

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

NETCLIENT_AltContentURL

Use to identify an alternate content delivery.

NETCLIENT_AltContentURL=<url>

n/a

NETCLIENT_AltJobsURL

Use to set the location for downloading maintenance jobs.

NETCLIENT_AltJobs_URL=<url>

n/a

MEDIA

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

MEDIA_Content

Use to override the location of the Content folder.

MEDIA_Content=/opt/scala/data/player/content>

n/a

MEDIA_Channels

Use to override the location of the Channels folder.

MEDIA_Channels=/opt/scala/data/player/channels

n/a

MM3D

Use these flags in conjunction with AllowDXVA. For more information about the AllowDXVA flag, see the Miscellaneous section below.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

MM3D_MaxWidthforDXVA2

Use in conjunction with AllowDXVA to determine the width, in pixels, of your window playing the Direct X Video Acceleration.

MM3D_MaxWidthforDXVA2=<width>

MM3D_MaxHeightforDXVA2=98

Sets the maximum window height to 98 pixels.

MM3D_MaxHeightforDXVA2

Use in conjunction with AllowDXVA to determine the height of your window, in pixels, playing the Direct X Video Acceleration.

MM3D_MaxHeightforDXVA2=<height>

MM3D_MaxWidthforDXVA2=75

Sets the maximum window width to 75 pixels.

MM3D_MinWindowDimension

Use to set the minimum size for the window, in pixels.

MM3D_MinWindowDimension=<px value>

MM3D_MinWindowDimension=32

Sets the minimum window size to 32px x 32px.

INPUTMGR

All INPUTMGR flags are Player features only.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

INPUTMGR_EscapeKey

Use in conjunction with INPUTMGR_EscapePassword to create a numerical password used to exit playback.

Default Value: On

INPUTMGR_EscapeKey=1

Additional Value: Off

INPUTMGR_EscapeKey=0

n/a

INPUTMGR_EscapePassword

Use in conjunction with INPUTMGR_EscapeKey to create a numerical password used to exit playback.

The password must be at least one number character.

If left at its default value, no password will be required.

Default Value:
INPUTMGR_EscapePassword=0

Additional Value:

INPUTMGR_EscapePassword=#

INPUTMGR_EscapePassword=988522

INPUTMGR_WindowClose

Use to disable the Window.close() method.

Default Value: On

INPUTMGR_WindowClose=1

Additional Value: Off

INPUTMGR_WindowClose=0

n/a

INPUTMGR_InteractTouchScreen

Use to change the input type to touchscreen.

Default Value: Off

INPUTMGR_InputTouchScreen=0

Additional Value: On

INPUTMGR_InputTouchScreen=1

n/a

DESKTOP

Use these settings to run a window on your desktop as a top-most borderless window of arbitrary or full size. If you want the window to fill the primary display, omit the Desktop_CustomPosition setting.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

DESKTOP_Borderless

Determines if playback appears on your display screen within a conventional desktop window that has a border, title bar, close button, min/max button, resize handle, etc.

Default Value: On (playback is borderless and does not appear within a window)

Desktop_Borderless=1

Additional Value: Off (playback is not borderless and appears within a conventional desktop window)

Desktop_Borderless=0

n/a

DESKTOP_TopMost

Use to determine if the window runs in the topmost corner of the screen.

Default Value: Off

Desktop_TopMost=0

Additional Value: On

Desktop_TopMost=1

n/a

DESKTOP_CustomPosition

Use to customize the position of the window, in pixels.

Note: If you want the window to fill the primary display, do not use this setting.

Desktop_CustomPostion= # # # #

Desktop_CustomPosition=100 50 800 600

Sets the static position for the window.

DSHOWRENDER

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

DSHOWRENDER_ForceRTPMulticastViaRTSP

Use to force RTSP requests to use multicast.

Default Value: False

DSHOWRENDER_ForceRTPMulticastviaRSTP=False

Additional Value: True

DSHOWRENDER_ForceRTPMulticastviaRSTP=True

n/a

DSHOWRENDER_FrameStuckErrorMS

Use to determine the default timeout period, in milliseconds, for the video decoder to deliver any frames.

Network Video Streaming - This setting does not apply to network video streaming. See DSHOWRENDER_StreamingTimeoutToErrorMS in this table.

Default Value:
DSHOWRENDER_FrameStuckErrorMS=25000

Additional Value:

DSHOWRENDER_FrameStuck

ErrorMS=######

DSHOWRENDER_FrameStuckErrorMS=5000

DSHOWRENDER_FrameStuckErrorMS=355000

If the file times out, it stops playing.

DSHOWRENDER_StreamingTimeoutToErrorMS

Use to determine the default timeout period, in milliseconds, for video streaming to timeout.

Default Value:

DSHOWRENDER_StreamingTimeoutToErrorMS=300000

Additional Value:

DSHOWRENDER_StreamingTimeoutToErrorMS=n

DSHOWRENDER_StreamingTimeoutToErrorMS=700000

DSHOWRENDER_StreamInitNoDataTimeoutMS

Use with

DSHOWRENDER_StreamInitSomeDataTimeoutMS

and

DSHOWRENDER_StreamRebuildNoDataTimeoutMS

to govern the timeout for network data when initializing a video streaming for playback. All values are in milliseconds.

Default Value:
DSHOWRENDER_StreamInitNoDataTimeoutMS=5000

Additional Value:

DSHOWRENDER_StreamInitNoDataTimeoutMS=n

DSHOWRENDER_StreamInitNoDataTimeoutMS=6782

DSHOWRENDER_StreamInitSomeDataTimeoutMS

Use to determine the number of milliseconds before timeout if some data has been downloaded.

Use with

DSHOWRENDER_StreamInitNoDataTimeoutMS

to govern the timeout for network data when initializing a video streaming for playback.

Default Value:
DSHOWRENDER_StreamInitSomeDataTimeoutMS=20000

Additional Value:

DSHOWRENDER_StreamInitSomeDataTimeoutMS

n/a

DSHOWRENDER_StreamRebuildNoDataTimeoutMS

Use to determine the number of milliseconds until timeout if no content arrives during stream rebuild.

Default Value:

DSHOWRENDER_StreamRebuildNoDataTimeoutMS=35000

Additional Value:

DSHOWRENDER_StreamRebuildNoDataTimeoutMS=n

n/a

DSHOWRENDER_RebuildSomeDataTimeoutMS

Use to determine the number of milliseconds until timeout if some new data arrives during rebuild.

Default Value:

DSHOWRENDER_RebuildSomeDataTimeoutMS=180000

Additional Value:

DSHOWRENDER_RebuildSomeDataTimeoutMS=n

n/a

DSHOWRENDER_AllowDXVA2ForRTPTCP

Use to allow streaming TCP traffic through a firewall.

0 = never
1 = always try
2 = only when coded size matches visual size
Default Value: Off
DSHOWRENDER_AllowDXVA2ForRTPTCP=0

Additional Value:

DSHOWRENDER_AllowDXVA2ForRTPTCP=1

DSHOWRENDER_AllowDXVA2ForRTPTCP=2

n/a

DSHOWRENDER_AllowDXVA2ForRTP

Use to determine if DXVA streaming is allowdd for RTP.

0 = never
1 = always try
2 = only when coded size matches visual size
Default Value: Off
DSHOWRENDER_AllowDXVA2ForRTP=0

Additional Value:

DSHOWRENDER_AllowDXVA2ForRTP=1

DSHOWRENDER_AllowDXVA2ForRTP=2

n/a

DSHOWRENDER_AllowDXVA2ForTSoverUDP

officUse to allow transports and streams over UDP.

0 = never
1 = always
Default Value: Off
DSHOWRENDER_AllowDXVA2ForTSoverUDP=0

Additional Value: On

DSHOWRENDER_AllowDXVA2ForTSoverUDP=1

n/a

WEBCLIP

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

WEBCLIP_ShowFPSCounter

Flag to turn on Chrome's Frame Per Second counter. Used for diagnostics.

Chromium Command Line Switch:
--show-fps-counter

Default Value: Off
WEBCLIP_ShowFPSCounter=0

Additional Value: On

WEBCLIP_ShowFPSCounter=1

n/a

WEBCLIP_LogJSConsole

Used to determine if JavaScript console messages are logged in the Scala log. Used in conjunction with WEBCLIP_LogSeverityVerbose and WEBCLIP_JSLogFile.

Default Value: Off

WEBCLIP_LogJSConsole=0

Additional Value: On

WEBCLIP_LogJSConsole=1

When on, any JavaScript console messages get logged in the Scala log.

When off, the JavaScript console messages are ignored.

WEBCLIP_AllowDevTools

Use to pin Chrome's Developers Tool window. This option must be used in Playback in a Window and not full-screen mode with the Developer Tool window.

Default Value: Off

WEBCLIP_AllowDevTools=0

Additional Value: On

WEBCLIP_AllowDevTools=1

When on, if a WEBCLIP has focus, and you hit Ctrl-Shift-I, it will open Chrome's Developers Tool window. Ctrl-shift-I is the same key used by the English version of the consumer version of Chrome.

WEBCLIP_EnableMediaStream

Use to allow webcams inside a web browser.

Default Value: On

WEBCLIP_EnableMediaStream=1

Additional Value: Off

WEBCLIP_EnableMediaStream=0

Webcams are enabled by default.

WEBCLIP_AllowFileAccessFromFiles

By default file:// URLs cannot read other file:// URLs. This is an override for developers who need the old behavior for testing.

Chromium Command Line Switch:
--allow-file-access-from-files

Default Value: Off
WEBCLIP_AllowFileAccessFromFiles=0

Additional Value: On

WEBCLIP_AllowFileAccessFromFiles=1

n/a

WEBCLIP_Locale

Sets the locale string passed to the Blink/Webkit subsystem of Chrome.

WEBCLIP_Locale="string"

US English

WEBCLIP_Locale="en-US"

German

WEBCLIP_Locale="de-DE"

British English

WEBCLIP_Locale= 'en-GB'

If you use the special "<OS>" value, Scala will query the PC for its locale string. The locale string is typically the two letter ISO 639 language code in lower case, followed by a dash, followed by the two letter ISO 3166 country code in uppercase

Used in conjunction with

WEBCLIP_AcceptLanguageList.

If you set WEBCLIP_Locale but not WEBCLIP_AcceptLanguageList, WEBCLIP_AcceptLanguageList will use the value of WEBCLIP_Locale.

WEBCLIP_AcceptLanguageList

Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.

WEBCLIP_AcceptLanguageList=« « string »

WEBCLIP_AcceptLanguageList= « « qps-ploc,en-us,en »

WEBCLIP_DisablePinch

Use to enable the PinchZoom feature for Windows 8.1 and newer OS.

Chromium Command Line Switch:
--disable-pinch

Note: Users cannot enable PinchZoom for Windows® 7 OS and earlier.

Designer & Windows 32-Bit

Default Value: On

WEBCLIP_DisablePinch=1

Additional Value: Off

WEBCLIP_DisablePinch=0

Linux & Windows 64-Bit

Default Value: Off

WEBCLIP_DisablePinch=0

Additional Value: On

WEBCLIP_DisablePinch=1

n/a

WEBCLIP - Advanced

The flags below should be used only by those who have a thorough understanding of the systems and technologies involved.

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

WEBCLIP_NoProxyServer

Flag that disables proxy server use from libcef. This basically passes the --no-proxy-server option to the chromium run time.

Note: This does not help if you use both WebClip commands and a proxy.

Overrides the following WebClip flags:

WEBCLIP_UsOSProxySettings

WEBCLIP_ProxyBypass

WEBCLIP_BypassProxyForLocalHost

Chromium Command Line Switch:

--no-proxy-server

Default Value: Off
WEBCLIP_NoProxyServer=0

Additional Value: On

WEBCLIP_UseOSProxySettings=1

n/a

WEBCLIP_UseOSProxySettings

Use the Operating System proxy settings instead of the Designer/Player configuration proxy settings.

Overrides the following WebClip flags:

WEBCLIP_ProxyBypass

WEBCLIP_BypassProxyForLocalHost

Default Value: Off
WEBCLIP_UseOSProxySettings=0

Additional Value: On

WEBCLIP_UseOSProxySettings=1

n/a

WEBCLIP_ProxyBypass

This string specifies a list of web addresses where WEBCLIP should not use the either the Operating System and Designer/Player configuration proxy settings. The format matches the format used by Chrome's Bypass list, including a special token for variations of localhost, <local>

If the requirement is to only bypass Proxy settings for localhost, then WEBCLIP_ByPassProxyForLocalHost should be used instead.

Overrides the following WebClip flags:

WEBCLIP_BypassProxyForLocalHost

Chromium Command Line Switch:

--proxy-bypass-list

WEBCLIP_ProxyBypass = "string"

If this setting is used, <local> must be present if you want to bypass the proxy for localhost.

For example, to add an exception for localhost, for all addresses matching 199.999.99.* and scala.com:, you would use: WEBCLIP_ProxyBypass="<local>;scala.com;199.999.99.*"

Proxy settings may be entered in Designer > Tools > Options >Network

-OR-

Player Configuration Tool > Network

Once the settings have been entered, Designer and Player must be restarted to apply those settings.

WEBCLIP_BypassProxyForLocalHost

This Boolean flag tells WEBCLIP to always bypass both Designer/Player configuration and Windows OS proxy settings for local host. WEBCLIP should obey Designer/Player proxy server settings if non-null and fall back to windows setting otherwise. Implemented CEF's authentication callback so users can authenticate web sites and proxy servers.

Note: This only applies to authentication that happens through the browser. It does not apply to websites that roll their own via "HTML Form based" authentication, which is what most websites do.

Overrides the following WebClip flags:

WEBCLIP_NoProxyServer

WEBCLIP_UseOSProxySettings

WEBCLIP_ProxyBypass

Default Value: On
WEBCLIP_BypassProxyForLocalHost = 1

Additional Value: Off

WEBCLIP_BypassProxyForLocalHost = 0

n/a

WEBCLIP_UserAgent

A value that will be returned as the User-Agent HTTP header, which identifies your browser to a web server.

This option allows WEBCLIP to use an identifiable user agent string. If empty, WEBCLIP uses the default User-Agent string from the version of Chromium built into Player/Designer.

Chromium Command Line Switch:

--user-agent

WEBCLIP_UserAgent= <"string">

WEBCLIP_UserAgent="Mozilla Gecko"

WEBCLIP_CachePath

Use to determine the location where cache data will be stored on disk. When set to a valid directory name, CEF will use this directory to store the browser cache. For Windows 32-bit players, cache data is not saved if this flag is not specified.

Note: The directory/folder must be created by the user in order for the WEBCLIP_CachePath option to work. Designer/Player will not create the folder.

For Linux & Windows 64-bit players, this flag is not available and cache data is always saved in a pre-defined folder location that cannot be changed.

WEBCLIP_CachePath= <string>

WEBCLIP_CachePath=c:\webcache

The string must be a path to a valid existing directory name which is accessible by the user.

By default, CEF will not delete the files in this directory when Player/Designer shuts down, so the cache will persist between runs of Player/Designer, unless you also use WEBCLIP_DeleteCacheOnShutdown. All WEBCLIPs share the same CachePath directory

Unless WEBCLIP_DeleteCacheOnShutdown is on, the cache will persist across Designer/Player sessions. Since CEF decides the maximum size of the cache based on available disk space the only way to control the size of the cache is to use WEBCLIP_DeleteCacheOnShutdown.

WEBCLIP_DeleteCacheOnShutdown

Use to determine if Player/Designer will delete all the files within the CachePath directory when shutting down.

Default Value: Off

WEBCLIP_DeleteCacheOnShutdown=0

Additional Value: On

WEBCLIP_DeleteCacheOnShutdown=1

This flag may be used to avoid reloading stale information each time a page is reloaded in WEBCLIP. Used in conjunction with WEBCLIP_CachePath flag.

CEF decides the maximum size of the cache based on available disk space. Apart from WEBCLIP_DeleteCacheOnShutdown, there is currently no explicit mechanism to automatically remove files from the web cache or manage how large it gets. When WEBCLIP_DeleteCacheOnShutdown is on, Player/Designer will delete all the files within the CachePath directory when shutting down.

WEBCLIP_PersistSessionCookies

Use to determine if CEF keeps session cookies for a WebClip across sessions. Used in conjunction with the WEBCLIP_CachePath flag.

Default Value: Off

WEBCLIP_PersistSessionCookies=0

Additional Value: On

WEBCLIP_PersistSessionCookies=1

To persist session cookies (cookies without an expiry date or validity interval) by default when using the global cookie manager set this value to on.

Miscellaneous

Flag

Designer

Windows 32-Bit

Windows 64-Bit

Linux Player

Description

Values

Examples/Notes

AllowDXVA

Use to enhance image quality and performance and lower power consumption when playing H.264 or WMV/VC-1 video. Windows 7 or newer is required.

Default Value: Off

AllowDXVA=0

Additional Value: On

AllowDXVA=1

n/a

Fullscreen

Determines if playback content will cover the entire display screen. When set to true, features that optimize performance for full screen playback are also enabled.

Default Value: True (playback content covers the entire display screen)

Fullscreen=true

Additional Value: False (playback content does not cover the entire display screen)

Fullscreen=false

n/a

PreLoadedContent

Use to determine the location of the Channels folder.

Default Value:

PreLoadedContent=<path>

n/a

PLAYBACKBASE_MonitorConfigRetryCount

not available

Default Value:

PLAYBACKBASE_MonitorConfigRetryCount=

Example:

PLAYBACKBASE_MonitorConfigRetryCount=10