Questions tagged [twitch]

Twitch is a live streaming service and global community for content spanning gaming, entertainment, music, sports, and more. Use this tag for questions related to the Twitch API, Extensions, Drops, or EventSub.

Official Twitch Links

Twitch API on GitHub

821 questions
6
votes
4 answers

How to get the stream key for twitch.tv

I write an app for broadcasting to twitch.tv using C++. For that streaming I need to know the user stream key, usually an user gets that key from the page, http://www.twitch.tv/user_name/dashboard/streamkey But I would like get it via my app by…
victor kulichkin
  • 394
  • 1
  • 2
  • 16
5
votes
1 answer

NextJS - get url in getServerSideProps

I'm using nextJS and I'm having a hard time getting the full URL from a redirect. I'm doing an oauth flow from Twitch and after authenticating, Twitch redirects back to my Next app on a URL like http://localhost:3000/auth/twitch/ - they include a…
ProEvilz
  • 5,310
  • 9
  • 44
  • 74
5
votes
0 answers

Twitch OAuth access_token instead of Bearer token

Twitch has New API and V5 API, and I want to use exactly the V5 API since that's API gives a little bit more info about channel. And when I'm use assess_token from browser dev tools, API is working. But when I'm using assess_token got by Omniauth…
O.Vykhor
  • 461
  • 1
  • 5
  • 18
5
votes
0 answers

Wordpress: Launch a function after login to check if user is a subscriber

I am developing an app in Wordpress. I would like to check after login with OAuth with Twitch TV if a user is a suscriptor of a channel to assign a role. I think it could be done using Twitch API calling an object with the user and then checking if…
Esteban S
  • 1,859
  • 5
  • 22
  • 43
4
votes
3 answers

How do you send a message in TwitchIO that's not a response to a command?

I'm setting up a python TwitchIO chat bot. The getting started example has this: async def event_message(self, message): print(message.content) await self.handle_commands(message) @commands.command(name='test') async def my_command(self,…
Alan W. Smith
  • 24,647
  • 4
  • 70
  • 96
4
votes
1 answer

ffmpeg: consider increasing probesize error, but it is never satisfied

I was trying to use an Arch solution for streaming to twitch today through FFMPEG, but all of my attempts were in vain because of one simple thing on FFMPEG. it says that the probesize is not large enough, so I instinctively increased the probesize…
Jaz
  • 59
  • 1
  • 1
  • 8
4
votes
2 answers

Reactjs error: Uncaught (in promise) Error: Request failed with status code 401

Actually I am working on Twitch Tv dashboard in react.js by following this tutorial https://www.youtube.com/watch?v=VTY6ZzDTV3A&t=197s Everything was working but my twitch api is not working, please can anyone help me to sort it out this bug. This…
bombom
  • 107
  • 2
  • 12
4
votes
2 answers

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 1023: unexpected end of data

Basically I've made an IRC Twitch bot in Python that does nothing but join the channel for now. The ping-pong cycle works properly for a while but then it gets halted with the error in the title. What did I do wrong? Thanks in advance. import…
emredesu
  • 179
  • 1
  • 5
  • 11
4
votes
1 answer

Is there a way to play Twitch Streams inside Android app (Java)

I am unable to play Twitch Streams in my Android application. Twitch is only providing their embed url for playing Streams. I am using this url: https://player.twitch.tv/?channel=CHANNEL_NAME I am using a WebView to load this url…
emilpmp
  • 1,716
  • 17
  • 32
4
votes
0 answers

Programmatically mute embedded Twitch player

I'm embedding a Twitch stream into my WKWebView by displaying this HTML document:
Nibr
  • 187
  • 1
  • 9
4
votes
3 answers

Getting Access-Control-Allow-Headers in preflight error

I have created angular js app in which I have integrate twitch api , the api is return $http({ url: "https://api.twitch.tv/kraken/streams", method: "GET", params: { channel: channel, limit: 1 }, headers: {…
Kalpesh Kashyap
  • 824
  • 11
  • 18
4
votes
3 answers

Youtube and Twitch channel name maximum character limit

I am trying to find docs to figure out what the max limit is for YouTube and twitch channel names, but I am unable to find one. This post suggests it's 20 but this post is like 3 years old. Plus the official YouTube API page doesn't list anything…
Em Ae
  • 8,167
  • 27
  • 95
  • 162
4
votes
1 answer

How to play HLS video in Android?

Here is stream video from justin.com or twitch.tv this CHANNEL Go to here and choose any live stream, get from them url and add html://.../hls in screen appears Guys told me that: Android is weird in that it will not work on Android Chrome but…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
3
votes
1 answer

How to automate video editing for streaming

Let me describe the problem I am facing: I would like to record a room with a fixed camera, and put the video live on Twitch. In the room will be present two ore three people talking around a table, wearing hoodies. Here comes the problem: I would…
3
votes
1 answer

Asp.Net Core Twitch OAuth: Correlation Failed

I configured Twitch authentication for my website using this tutorial: https://blog.elmah.io/cookie-authentication-with-social-providers-in-asp-net-core/ In the Twitch dev console I added the https://localhost:44348/signin-twitch url to the callback…
user1797792
  • 1,169
  • 10
  • 26
1
2
3
54 55