[vlc-devel] Tagging VLC 3.0.13

Pierre Ynard linkfanel at yahoo.fr
Sun Apr 4 23:02:01 UTC 2021


> 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?

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list