-
Notifications
You must be signed in to change notification settings - Fork 770
[CMCD] DefautDataSource doesn't add headers on master playlist requests #1951
Copy link
Copy link
Closed
Labels
Description
Version
Media3 1.4.1
More version details
DefautDataSource doesn't add headers on master playlist requests
Devices that reproduce the issue
reproduced on Google Pixel 6 Pro
Devices that do not reproduce the issue
no device
Reproducible in the demo app?
Not tested
Reproduction steps
- Add cmcd headers into CMCDConfiguration factory, add it into Datasource
val cmcdConfigurationFactory = CmcdConfiguration.Factory { mediaItem ->
val cmcdRequestConfig = CmcdConfiguration(
/* sessionId=*/ UUID.randomUUID().toString()
/* contentId= */ UUID.randomUUID().toString() ,
object : CmcdConfiguration.RequestConfig {})
mediaSourceFactory.setCmcdConfigurationFactory(cmcdConfigurationFactory)
-
Run any HLS stream
-
Headers is presents during ts requests, but not presents during m3u8 requests
Expected result
cmcd headers presents in m3u8 requests
Actual result
No cmcd headers in m3u8 requests
Media
https://devstreaming-cdn.apple.com/videos/streaming/examples/adv_dv_atmos/main.m3u8
But can be uses any hls stream
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Reactions are currently unavailable