sidaigle avatar image
sidaigle asked

How to set push urls in client

Dec 24, 2018 by: helloluobo

hello,I have two questions:
1 ) how to set push urls(twitch youtube) in client
2)where to push gamedata

Our game has integrated twitch sdk,and can login and get stream (push)url from twitch。We want to use genvid to push a/v stream and gamedata, but I cannot find any api to set the stream url in genvid sdk。And in my mind, the gamedata should not push to twitch stream url。So where to push gamedata?

Dec 25, 2018 by: Jacob Navok - CEO


Thanks for your question. Can I clarify your goals:

  1. You want to embed a Twitch and YouTube stream in your game via an embedded website in your game client?
  2. You want to send game data utilizing Genvid to the embedded website?

Please note that the office is closed during the holiday break and will return on January 2nd but I’ll do my best to get answers to you in the meantime.

Dec 25, 2018 by: helloluobo

  1. Not an embedded website in my game client, but to push A/V stream via genvid to twitch and youtube。
  2. Send gamedata to twitch extension

Dec 25, 2018 by: Jacob Navok - CEO

Got it, thank you.

When you setup a Genvid project, you’ll set the Twitch URL in the Genvid settings. It looks like the attachment.


You should start development via an embedded website and then convert that to a Twitch extension. We’re preparing a guide for how to deploy the embedded website to Twitch extensions for January.

Dec 25, 2018 by: helloluobo

You mean these parameters should be embedded in twitch extensions? But in this way, how does game client know where to push its streams?
In my mind, the parameters should be set to genvid sdk from game client. Then the sdk knows where to push streams. It seems my understanding is wrong.

Thanks for your reply.

Dec 25, 2018 by: Jacob Navok - CEO


You are correct that a Genvid-enabled game client will send the data to Twitch, but it’ll send that data via Genvid services which handle scalability. (Note that the SDK assumes you’re using your own AWS account; if you’d like us to assist with deployment we can.) I’ll provide a bit more details and links below, and we are happy to get on a call to explain more if you’d like.

First, a good overview is here:

The Genvid system is a very robust, scalable system design intended for live operations of your interactive
content. With Genvid, you deploy a spectator build of your game; the spectator build should be integrated with our SDK (what we call the Native SDK)

The spectator build, once setup with the Native SDK will capture audio and video and send it to Twitch. You’ll also determine what data you want to send to the extension. Genvid services will send that data. The Genvid Web APIs will read that data, and you’ll deploy a Genvid website via Extensions on Twitch.

The game client by itself shouldn’t be sending data directly to Twitch because that won’t scale. While Twitch Extensions provides you the ability to setup your website (which you can do via Genvid) and a simple pubsub service, Twitch’s pubsub service only updates once per second, whereas the Genvid system allows for you to have far greater, richer data updated at higher amounts.

Here is how to setup the streaming services to Twitch once you’ve setup the Native and Web portions of the SDK:

While the above seems complicated at first glance, the design is intentionally balanced between scalability, stability and ability for you to customize to a wide variety of scenarios.

Dec 25, 2018 by: helloluobo

Thanks for your replay. I think I got your streaming framework.
I have one more question: Is it possible for live streamers to use our genvid client to live? It seems that if the live streamer live with our genvid client, he must have his personal aws with genvid server which is configured with his own twitch account.

Dec 25, 2018 by: Jacob Navok - CEO

The system is oriented toward developer operated broadcasts (esport events, 24/7 streaming channels.) There are two ways to have streamers utilize the interactivity:

  1. Create a series of 24/7 streaming channels (perhaps one, two or three) and enable your top streamers to access the channel at preset timeslots. E.g. Popular Streamer A gets the access on Channel 1 on Tuesday from 5pm to 10pm. This lets you create a premium experience and also promote the streamers to your users.

  2. Build the Genvid technology directly into your SDK. This is not the normal usecase, but if you are interested in this, our tech can consult with you. It will create an impact on the user’s client because they will need to encode video and send data. You as the developer will need to deploy the servers required to scale data but you won’t need to operate the GPU servers for replicating the user’s camera. You’ll also lose the additional camera angles that could be created by a spectator mode camera.

Dec 25, 2018 by: helloluobo

Thanks, I got it. I’ll discuss with my partners first.

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

0 Answers