Jump to content

Chromecast external server


dailo

Recommended Posts

For some reason I can't cast to my chromecast through an external emby server. Is there a certain port I need to open? I hit play and wait a while but nothing happens. Can't get it to cast through chrome on my desktop either. playback works fine when I send it to Kodi or the local device.

Link to comment
Share on other sites

So if I understand correctly, your away from home, let's say at a friend's house for example, and you want to cast media to their chromecast? Is this a similar analogy to what you're trying to do? If so then yes this is possible. The first thing to test is, can you connect to your server when away from home using emby apps and browse your content?

Link to comment
Share on other sites

This is exactly what I am trying to do and was able to get it to work in the past, but does not work anymore with recent updates to either Emby or Chromecast.  I am able to connect to both the web client and through the iOS App to my Emby Server through my phone's internet and the internet at my friends house.  I have verified I can play videos just fine through both the web client and iOS app remotely, but when I try to cast through chromecast nothing happens.  Looking at the server logs, I don't see any activity as the transcoding doesn't even start.  If I hit play though the iOS app nothing hapens at all.  If I try to cast to a chromecast while on my home network, it works fine though but I also see the activity in the log files.

 

When trying to cast from my friends house I see the error below in my server log.

2015-11-15 16:30:04.4716 Error - HttpServer: Error in ProcessAccept	*** Error Report ***	Version: 3.0.5781.1	Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1	Processor count: 4	64-Bit OS: True	64-Bit Process: False	Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server	Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe	Authentication failed because the remote party has closed the transport stream.	System.IO.IOException	   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)	   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)	   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)	   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)	   at System.Net.Security.SslStream.AuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)	   at System.Net.Security.SslStream.AuthenticateAsServer(X509Certificate serverCertificate)	   at SocketHttpListener.Net.HttpConnection..ctor(ILogger logger, Socket sock, EndPointListener epl, Boolean secure, String connectionId, X509Certificate cert)	   at SocketHttpListener.Net.EndPointListener.ProcessAccept(Socket accepted)	
Link to comment
Share on other sites

After looking at the error, I just realized the problem might be that the chromecast device itself doesn't trust my self-signed SSL cert and is blocking the connection.  Will have to look into if it's possible to install a signed cert on chromecast or using a real one.

Link to comment
Share on other sites

It's my own self-signed certificate.  If I use http instead of https it works fine.  On my phone I was able to import my self-signed certificate, but guess you can't do the same for Chromecast.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...