Skip to content

DAI tag set custom headers only on live #11082

Open

Description

@BejanCorneliu

Hello,

In my aplication i'm using DAI tag and i want to intercept headers and add some custom headers only when playing live ; When ads rolling no custom headers.

I use OkHttpClient and on addNetworkInterceptor or addInterceptor i can set those custom headers but i can not figure out when i'm live and when ads are playing. But if neccesary i can change it

I don't receive any stream segment specific on
chain.request().url.pathSegments

On both cases ( live / ads ) i receive on every intercept same manifest url

Only on transfer listeners i can se with specific urls when exoplayer user our live mp4 segments or google when playing ads

I need to set custom headers only for live ( mp4 ) request before.
How can i make this verification before each request?

Thanks

Activity

  1. tianyif commented on Mar 27, 2023

    @tianyif
    Contributor

    Just adding a side note for the future issues, we will begin to triage the issues in media repository (new home of ExoPlayer) only, so please make sure the new issues are filed in that repository. This one can continues staying in ExoPlayer repository though.

    Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions