preprocessHttpResponse
abstract fun preprocessHttpResponse(type: HttpRequestType, response: HttpResponse): Future<HttpResponse>?
Can be used to the access or change properties of the response before it gets into the player. If null is returned, the original HttpResponse object will be used without modifications. This callback is not called for HttpRequestType.MediaProgressive.
This callback is invoked on a background thread. Calls for different requests may run concurrently.
If a Future is returned, the loading thread waits for it to complete before processing the response.