Streaming

Stream your video from sgneepBox jeOS and USB Webcam

SgneepBox jeOS integrates rtmp and rtmps protocol for Youtube and Facebook

if you don't use Respeaker Audio Device close pulseaudio: sudo killall pulseaudio



Commands:

Require: USB WebCam compatible with Raspberry pi3


Make Stream Connection to Youtube Server:

Select SoundCard (1 or default):

youtube_hw *card_number


Set Url :

youtube_url *youtube_url


Set Key :

youtube_key *youtube_key


Set Width and Height of live stream :

youtube_stream [Width]x[Height]


Close Stream :

youtube_kill


Make Stream Connection to Facebook Server :

Select Card (1 default):

facebook_hw *card_number


Set Url :

facebook_url *facebook_url


Set Key :

facebook_key *facebook_key


Set Width and Height of live stream :

facebook_stream [Width]x[Height]


Set BitRate :

facebook_bitrate *Bitrate[k]


Set quality :

facebook_quality *LevelOfQuality


Close Stream :

facebook_kill


Youtube Example:

#
# Select Sound Card ( use arecord -l for soundcard hw list )
# Example with respeaker 4mic Array + usbCam
youtube_hw 2
# without extra hardware default = 1
# youtube_hw default
# Make Youtube Live Stream
# youtube work with SSL disabled
youtube_url rtmp://x.rtmp.youtube.com/live2
youtube_key yyyy-xxx-yyyy-xxxx
youtube_stream 640x480
# ...

Facebook Example:

#
#
# Select Sound Card ( use arecord -l for soundcard list )
# Example with respeaker 4mic Array + usbCam
facebook_hw 2
# Make Facebook Live Stream
# facebook work with SSL enabled
facebook_url rtmps://live-api-s.facebook.com:443/rtmp
facebook_key yyyy-xxxx-yyyy-xxxx
facebook_bitrate 200k
facebook_quality 10
fcebook_stream 640x480
# ...

Warning!!

to see the list of devices use the arecord -l command

if the system does not see the webcam microphone close pulseaudio: sudo killall pulseaudio

Powered by Sgneep.com