We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running this code:
var chromecasts = require('chromecasts')() var file_url = 'http://......'; chromecasts.on('update', function (player) { console.log('all players: ', chromecasts.players) player.play(file_url, {title: 'my video', type: 'video/mp4'}) // pause if after 5 seconds. setTimeout(function(){player.pause();}, 5000); })
Raises a TypeError:
/node_modules/castv2-client/lib/controllers/media.js:88 data.mediaSessionId = this.currentSession.mediaSessionId; ^ TypeError: Cannot read property 'mediaSessionId' of null
The text was updated successfully, but these errors were encountered:
This happens when the chromecast socket times out, I've dug deep into this: thibauts/node-castv2-client#44
Sorry, something went wrong.
I think the best approach is to close this issue and move the discussion to node-castv2-client
No branches or pull requests
Running this code:
Raises a TypeError:
The text was updated successfully, but these errors were encountered: