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.

Return

A Future which returns the preprocessed HttpResponse.

Parameters

type

The type of the corresponding response.

response

Configuration object of the response.