GithubHelp home page GithubHelp logo

dlnacasts's People

Contributors

grunjol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dlnacasts's Issues

Only works in Chromecast?

Don`t work in my TV:

My code:


console.log(`Players: ${dlnacasts.players}`)

dlnacasts.on('update', function (player) {
  console.log('all players: ', dlnacasts.players)
  player.play('http://commondatastorage.googleapis.com/gtv-videos-bucket/ED_1280.mp4', {title: 'my video', type: 'video/mp4'})
})

Console:

Players: 

Samsung TV not displaying subtitles

while exectuting the following code

var dlnacasts = require('dlnacasts')()
dlnacasts.on('update', function (player) {
 player.play('http://192.168.0.13:9999/video.mp4', 
    {title: 'test titre video',
     type: 'video/mp4',
     subtitles: ['http://192.168.0.13:9999/video.srt'],
     autoSubtitles: true,
    })
})

The subtitles are not diplayed. By checking the log of the server hosting the subtitles, they are even not requested.

Does samsung tv request special metadata ? (using 'minidlna' application, the video & the subtitles are well displayed...)

Unhandled 'error' event after 15 min streaming

Hi, Many thanks for your work, this is really great, I'm testing webtorrent from "feross" reposity, I explained him that issue, and he told me this issue come from dlnacasts, that way I need your help to understand what's wrong... I noticed this issue is coming only when webtorrent is streaming to TV, anyway through VLC or MPV, it working well.
As I'm not really an expert about "node" codes, I'm just going to try to explain what's happening.

I'm starting "webtorrent-hybrid" as:

webtorrent-hybrid "torrent file or URL" --dlna

It's starting downloading and streaming to my tv but 15 min later stop working and let me know this into the terminal window:

DEBUG INFO: webtorrent-cli 1.8.1, webtorrent 0.98.0, node v7.2.1, darwin x64, exit 1
events.js:160
throw er; // Unhandled 'error' event
^

Error: SUBSCRIBE renewal error
at ClientRequest.
(/usr/local/lib/node_modules/webtorrent-hybrid/node_modules/upnp-device-client/index.js:234:25)
at ClientRequest.g (events.js:292:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
at Socket.socketOnData (_http_client.js:362:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)

I forgot to tell you I'm working on Mac OS X 10.11.6, the installed node version is 7.2.1, and webtorrent seems to be 0.98.0 and webtorrent-cli 1.8.1...

I installed node through HomeBrew, and webtorrent with npm...

Any ideas? If you need further informations, just ask me, thanks..

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.