Code Monkey home page Code Monkey logo

package-livestream's Introduction

Import

Description

Uses the streamlink streaming command line utility to stream from various stream providers like Twitch, Youtube or others. You can find the full list of supported sources here.

This package is still experimental, so streaming might not work. You also get little feedback about the state of the stream. If you run into problems, please use the issue tracker.

Remote control and channels

You can define multiple channels. Each with its own name and stream url source. You can use use channel up and channel down keys on your TV remote to switch between the channels. This needs an info-beamer hosted OS version that supports CEC.

Alternatively you can visit the device detail page for any of your devices and use the remote control interface to trigger Channel Up or Channel Down events. This allows you to switch channels from remote.

Additionally this package provides some API endpoints to switch channels. Those can be used by sending a message to the node to the following paths:

Path Data
channel/up empty
channel/down empty
channel/name channel name
channel/id channel index/id

Updates

Version sl-2.4.0

Updated bundled streamlink to 2.4.0

Version sl-2.1.2

Updated bundled streamlink to 2.1.2

Version pi4

Updated for Pi4 compatibility.

Version sl-1.1.0

Updated bundled streamlink to 1.1.0

Version sl-965c375

Updated bundled streamlink to 965c375. This fixes problems with YouTube livestreams.

package-livestream's People

Contributors

dividuum avatar

Stargazers

 avatar

Watchers

 avatar  avatar

package-livestream's Issues

Update package

Hi,
is it possible to update this package to last streamlink version?
It would be great to add the possibility of specifing a buffer size for the player in order to avoid video lagging.
Thanks.

Twitch Stream is flapping

Hi Florian,
tried to stream different Twitch channels today (over WiFi as well as LAN 1000Mbit). All had the issue that they were constantly stopping and restarting. With Vimeo, I didn't have any issues. Could you please test if you have the same issue?
Cheers
Marcus

Small discrepancy in api endpoint

Hey hey

https://github.com/info-beamer/package-livestream/blob/master/control.html
sends channel-up/down events via api to the device/{id}/node/root/remote/key endpoint.
ib.sendCommand("remote/key", "channel-up");

in the receiving side it reacts to all which is send to /remote/
https://github.com/info-beamer/package-livestream/blob/master/node.lua#L84

is this by intention? should it be accessible via /remote or via remote/key only?

the intention behind this clarification:
i would like to add an additional endpoint (seperat issue) to be able to choose channels directly (via name and/or position in list). this could either be done via
device/{id}/node/root/remote/channel/name -> data={channel.name}
and
device/{id}/node/root/remote/channel -> data={channel.id}

or via a complete own endpoint
device/{id}/node/root/channel/name -> data={channel.name} [...]

but what choices would be available there depend on if this here will be changed or not. :)
thanks!

does not work on zero 2 w

hi! I just tried package Live streaming on Zero 2 w. It does not work, stuck on white screen where it reads "Opening ". I waited like 30 minutes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.