Creates an OfflineSourceConfig, which can be used to play the offline content with a Player or returns null, if no offline content is available.

Throws an IOException if loading of the offline DRM key fails. Throws a DrmLicenseKeyExpiredException if the DRM license key expired. The DRM license can be renewed with a call to OfflineContentManager.renewOfflineLicense.