preprocessHttpResponseCallback

The callback which can be used to the access or change properties of the response before it gets into the player.

This function is only called for HttpRequestType in TweaksConfig.httpResponseTypesToPreprocess. By default, all requests except for MediaProgressive.

Performance impact: The player must keep in memory the full response before it can be preprocessed. This has significant impact on memory usage and download latency. It is strongly suggested to set TweaksConfig.httpResponseTypesToPreprocess to the types of HttpRequestType to preprocess.

The default value is null.