[vlc-devel] Tagging VLC 3.0.13

Rémi Denis-Courmont remi at remlab.net
Mon Apr 5 06:13:39 UTC 2021


Le maanantaina 5. huhtikuuta 2021, 2.02.01 EEST Pierre Ynard via vlc-devel a 
écrit :
> > For Twitch I took a quick look, it seems that a new signature
> > token is generated by a POST request to the endpoint
> > https://gql.twitch.tv/gqlthrough/gql with among the request
> > JSON body, an operationNam: "PlaybackAccessToken_Template".
> > 
> > After that, the response json body has a
> > data.streamPlaybackAccessToken.signature field which seems
> > to be what is given as "sig" URL parameter for the endpoint
> > https://usher.ttvnw.net/api/channel/hls/$CHANNEL_NAME.m3u8
> > 
> > There's also a "token" url parameter needed which seems to
> > match the data.streamPlaybackAccessToken.value field.
> 
> Yeah that sounds like what I remember.
> 
> > The Client-ID that was given through URL parameters seems
> > to be passed through custom request headers, however the
> > API seems to react on whether it's present or not in the
> > URL parameters too so it might not be mandatory indeed.
> 
> Ah, that would be good news. It could be workable to fix it then. I can
> take a look at it again, but I have other things to tend to. How much
> time do I have?

I don't know, but if the VLC adaptive plugin is incompatible anyway, then I 
don't suppose you will be tending to it.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list