mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.95k stars 226 forks source link

Stream live video #83

Open rstanislav opened 10 years ago

rstanislav commented 10 years ago

Is it possible currently ? If yes - how to do it ? :)

kilianc commented 10 years ago

probably requesting bytes in order based on the format specs? then you could create a local video stream/socket and let VLC(like) apps consume the video stream

rstanislav commented 10 years ago

From what i heard for bittorrent to work its req. to know file size, in case of live stream its unknown :(

kilianc commented 10 years ago

@rstanislav what you mean? are we talking about streaming a file shared through a torrent link like popcorn does, am I correct?

rstanislav commented 10 years ago

No, question was about live video, for example from webcam or HD video source like HD capture card - for example blackmagic intensity pro.

kilianc commented 10 years ago

is it 1 to 1 or 1 to many? it may be hackable as long they use the same client and you just keep increasing byte counts. I don't know how this library works, but I guess it creates a readable stream for the file to send, you then have control on the data that you are pushing down the socket

skerit commented 9 years ago

You want to stream a video stream from a device to the browser? I don't see why you would need torrent-stream, then. That can be covered with fluent-ffmpeg alone.

mchelen commented 9 years ago

I assume this request is about streaming a live video source to many viewers using BitTorrent. There was an official attempt to do this a year ago but IDK what happened to it http://www.wired.co.uk/news/archive/2013-03/13/bittorrent-video-streaming-launched

rstanislav commented 9 years ago

I found some info about it few months ago, but currently is seems that bittorrent cancelled that project and also it was not open source... I think idea has very great "future" because it will allow to stream to millions of people using single server, yes delay will be large (up to minutes when there is alot of people watching) but it doesn't matter...it still will be "live".

mchelen commented 9 years ago

Here was another effort that implemented live streaming video, IDK if they still support this feature https://www.tribler.org/LiveStreamingBeta/

diaskooo commented 9 years ago

http://acestream.org/ru/ live stream torrent Old version and old protocol https://github.com/tarasian666/acestream