Logging in the React Native Player SDK

Troubleshooting streams can be challenging, especially for issues that occur rarely and only in specific circumstances. A common approach in such a scenario is to add log statements to the code in order to observe configurations and states at the time of the failure.

Exhaustive debug logs

To enable exhaustive debug logging with a single configuration, use the following line of code:

DebugConfig.setDebugLoggingEnabled(true);

📘

Note:

When running on an Android device, this flag must be set before interacting with any Bitmovin Player component to take effect.