webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.72k stars 1k forks source link

Cant use chromecast to stream #1093

Closed asolopovas closed 7 years ago

asolopovas commented 7 years ago

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu) 0.17.2 (0.97.2) (64-bit) What operating system and version? Windows 10 What did you do? Chromecast Icon is not on the window What did you expect to happen? I was expecting to stream torrent onto my TV What actually happened? No Icon on the player for streaming but chromecast is detected on my chrome browser without problems

feross commented 7 years ago

Can you try to reproduce this error once more? But this time when it happens, click View > Developer > Developer Tools, select the Console tab and copy-paste all the text into a new comment here.

If you don't see any errors, then please check in one more place! Click View > Developer > Show WebTorrent Process, select the Console tab and copy-paste all the text.

Being able to see that output would help us out very much. Thanks.

asolopovas commented 7 years ago

I will do this in the evening after work.

asolopovas commented 7 years ago

Here is my console log.

init: 1085.266ms
Command line args: Array[1]
webtorrent: queueing wt-start-torrenting
sending 2 queued messages from the main win to the webtorrent window
webtorrent: sent queued wt-start-torrenting
got infohash for existing torrent 1
webtorrent: got wt-infohash
webtorrent: got wt-metadata
webtorrent: got wt-progress
got infohash for existing torrent 2
webtorrent: got wt-infohash
webtorrent: got wt-metadata
webtorrent: got wt-progress
Checking for update
webtorrent: got wt-ready
webtorrent: got wt-ready-70884213a2cc718228c7305429b6976f87e1c688
webtorrent: got wt-progress
webtorrent: got wt-done
dispatch: stateSave Array[0]
webtorrent: got wt-file-modtimes
webtorrent: got wt-ready
webtorrent: got wt-ready-6a02592d2bbc069628cd5ed8a54f88ee06ac0ba5
webtorrent: got wt-progress
webtorrent: got wt-done
dispatch: stateSave Array[0]
webtorrent: got wt-file-modtimes
warning for torrent 1: Non-200 response code 403 from http://bt3.t-ru.org/ann?magnet
webtorrent: got wt-warning
warning for torrent 1: Non-200 response code 403 from http://bt3.t-ru.org/ann?magnet
webtorrent: got wt-warning
No announcement available
webtorrent: got wt-progress
No update available
Saving state to C:\Users\Andrius\AppData\Local\WebTorrent\config.json
webtorrent: got wt-progress
Sent telemetry
webtorrent: got wt-progress
Second app instance opened, but was prevented: Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: stateSave Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
Saving state to C:\Users\Andrius\AppData\Local\WebTorrent\config.json
dispatch: playFile Array[1]
dispatch: checkForSubtitles Array[0]
webtorrent: sent wt-start-server
powerSaveBlocker.enable: 0
webtorrent: got wt-server-running
webtorrent: got wt-server-70884213a2cc718228c7305429b6976f87e1c688
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: setDimensions Array[1]
setBounds: setting bounds to {"contentBounds":true,"height":574,"width":760,"x":null,"y":null}
setBounds: centered to {"contentBounds":true,"height":574,"width":760,"x":580,"y":253}
dispatch: mediaSuccess Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
dispatch: mediaControlsMouseEnter Array[0]
dispatch: mediaControlsMouseLeave Array[0]
toggleDevTools
asolopovas commented 7 years ago
init: 2221.520ms
starting torrent 1: C:\Users\Andrius\AppData\Local\WebTorrent\Torrents\70884213a2cc718228c7305429b6976f87e1c688.torrent
starting torrent 2: C:\Users\Andrius\AppData\Local\WebTorrent\Torrents\6a02592d2bbc069628cd5ed8a54f88ee06ac0ba5.torrent
WebSocket connection to 'wss://tracker.webtorrent.io/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: WebSocket opening handshake was canceled
WebSocket connection to 'wss://tracker.webtorrent.io/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: WebSocket opening handshake was canceled
WebSocket connection to 'wss://tracker.webtorrent.io/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: WebSocket opening handshake was canceled
WebSocket connection to 'wss://tracker.webtorrent.io/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: WebSocket opening handshake was canceled
WebSocket connection to 'wss://tracker.webtorrent.io/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: WebSocket opening handshake was canceled
feross commented 7 years ago

@asolopovas Thanks for the logs. One more question: What kind of Chromecast device are you using? Do you know the model number of it?

asolopovas commented 7 years ago

@feross its NC2-6A5

delgotit commented 7 years ago

I had similar issue so I switched chromecast and my computer from 5Ghz to 2.4Ghz restarted webtorrent and saw the icon.

asolopovas commented 7 years ago

@delgotit then that's definitely a bug as chrome works fine with 5ghz when streaming to chromecast. My 2.4ghz is too slow to be usable something badly interferes with it so I have no option but to use 5ghz

InSuperposition commented 7 years ago

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)

0.17.2 and 0.18

What operating system and version?

OS X Sierra

What did you do?

Chromecast Icon is not on the window

What did you expect to happen?

I was expecting to stream torrent onto my TV

What actually happened?

No Icon on the player for streaming but chromecast is detected on my chrome browser without problems

Chromecast device:

Sony Android TV - XBR-65X850D

DevConsole output: had no Errors

WebTorrent Proccess output: (There are errors)

/Applications/WebTorrent.app/Contents/Resources/app.asar/build/renderer/webtorrent.js:95 init: 212.965ms
/Applications/WebTorrent.app/Contents/Resources/app.asar/build/renderer/webtorrent.js:106 starting torrent 1: /Users/blah/Library/Application Support/WebTorrent/Torrents/f034de6d03cb17e9b26a9fbcb3b6de1ee548bf87.torrent
/Applications/WebTorrent.app/Contents/Resources/app.asar/build/renderer/webtorrent.js:106 starting torrent 2: /Users/blah/Library/Application Support/WebTorrent/Torrents/0409894078a68b955a52f10a8714de115f8d03d7.torrent
/Applications/WebTorrent.app/Contents/Resources/app.asar/build/renderer/webtorrent.js:106 starting torrent 3: /Users/blah/Library/Application Support/WebTorrent/Torrents/fc2e168c5a717d5a5e923a6813fb53cbb08d3aa1.torrent
internal/process/warning.js:24 (node:5807) Warning: Possible EventEmitter memory leak detected. 11 ready listeners added. Use emitter.setMaxListeners() to increase limitprocess.on @ internal/process/warning.js:24
2internal/process/warning.js:24 (node:5807) Warning: Possible EventEmitter memory leak detected. 11 ready listeners added. Use emitter.setMaxListeners() to increase limitprocess.on @ internal/process/warning.js:24emitOne @ events.js:96emit @ events.js:188process.nextTick @ internal/process/warning.js:47_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
stevenmathews commented 7 years ago

Having the same issue. The chromecast streaming icon used to show in the earlier versions but disappeared at some stage (don't know between which versions sorry). Expected it to come back but never has.

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu) Version 0.17.2 (0.97.2) (64-bit) What operating system and version? Linux Mint KDE What did you do? Chromecast Icon is not on the window What did you expect to happen? I was expecting to stream torrent onto my TV What actually happened? No Icon on the player for streaming but chromecast is detected on my chrome browser without problems

stevenmathews commented 7 years ago

The chromecast icon is back for me and it works :tada: - Version 0.18.0 (0.98.5) (64-bit)

feross commented 7 years ago

Glad to hear it!