scivision / PyLivestream

Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Apache License 2.0
707 stars 156 forks source link

Starting the program / key format #63

Closed alexdeslauriers16 closed 3 years ago

alexdeslauriers16 commented 3 years ago

Hello,

Im trying to run this off of a raspberry pi.

I have the following code:

import pylivestream.api as pls

pls.stream_screen('~/twitch.key', 'twitch')

And I get an error "File contains no section headers"

Basically what I did is I copied the twitch key and I made a file called twitch.key and pasted that in it and saved it in ~/

What am I doing wrong? Is there a specific format I should put the key in? I couldn't find information anywhere on this.