A-X-R / r-duo

0 stars 1 forks source link

Twitch Information #4

Open jfulkerson68 opened 9 years ago

jfulkerson68 commented 9 years ago

Is this the items we need to link to Twitch? : Twitch Info: Channel Link: http://www.twitch.tv/axrteammember

Embedded Live Player:

Watch live video from axrteammember on www.twitch.tv Embedded Chat:
oursland commented 9 years ago

There's an OAuth token that's needed. I'll provide instructions on how to retrieve it once I get the camera up an running (and therefore figure out how).

oursland commented 9 years ago

Hi Janine,

Log into Twitch.TV, then click the your username in the upper right corner. Select "Dashboard", then click the "Stream Key" tab. Click "Show Key" and copy/paste that. I can get it entered into the streaming program.

Regards, Jake

oursland commented 9 years ago

Hi,

Could you figure out the streaming component of the webpage? I have tried a couple of times and cannot seem to get my changes to show up on the web page. Janine has posted the Embedded Live Player link to the first comment in this issue for the robot twitch stream.

Thanks, Jake

jfulkerson68 commented 9 years ago

Jake, Here is the key: live_89916911_6FSHP4XbA7b7lE4ne1SPAkxZNuVKNr Let me know if you need anything else. Thanks, -Janine-

oursland commented 9 years ago

Hi Janine,

I can't get Twitch to accept the audio. If I don't include audio Twitch accepts the stream, if I do include the audio I get disconnected. I have confirmed that audio recording works, and I can save to a multimedia file. I suspect it is due to the audio encoder that's available on the Raspberry Pi isn't producing the right type of AAC stream that is required.

I have committed the code to include audio within the streaming program, but commented out. If we move towards a custom streaming server, this may alleviate the problem I've run into.

Regards, Jake

Wferr commented 9 years ago

Putting the stream key online on here isn't the best idea, we will want to re-gen the key before we go out.

oursland commented 9 years ago

Hi,

You're correct. I thought this was a private repository.

Janine, et. al.,

I managed to get the audio functioning with video. Ultimately the culprit was the hardware h264 encoder. For some reason the output is incompatible with audio in a flash video container. The work around is to perform software encoding of both audio and video. In order to avoid buffer underruns (and program termination) is to lower video quality to 320x240. So we have 320x240 video at 30 frames per second, with 32 Kbps AAC audio.

Regards, Jake

Wferr commented 9 years ago

Twitch added a "Reduce Stream Delay" Under Settings which apparently helps improve latency more, might be worth checking that out image