Hello,
Headers are not working in the latest release of 3.02 (playerView.setSource(videoUrl, headers)). When I tried to pass the Referrer as extraheaders it is not passing, and the server is responding as header not received in the request.
While reviewing the code I found you are using setDrmLicenseRequestHeaders to set the headers in AndExoPlayerView class, this method is now deprecated and setLicenseRequestHeaders method should be used instead as per ExoPlayer documentation. Kindly see this. Thanks, this simplified player is excellent.
Hello, Headers are not working in the latest release of 3.02 (playerView.setSource(videoUrl, headers)). When I tried to pass the Referrer as extraheaders it is not passing, and the server is responding as header not received in the request.
While reviewing the code I found you are using setDrmLicenseRequestHeaders to set the headers in AndExoPlayerView class, this method is now deprecated and setLicenseRequestHeaders method should be used instead as per ExoPlayer documentation. Kindly see this. Thanks, this simplified player is excellent.