Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

425
Visualizações
Android Chrome Browser casting to Chromecast - if I unplug chromecast (or unplug network), then the Chrome Browser page crashes

I have replicated the issue on Chrome and Edge (on Android). Although don't appear to have the issue on Chrome and Edge (Windows). I have tried Chrome v83 and latest v98.0.4758.101 - same issue. I can successfully cast and disconnect.

However, if the network drops, router powers off, wifi unit powers off, cast receiver is unplugged - then the browser window on the Android also crashes (closes). We have included further debugging, android debugging, usb debuggin but there is no evidence of why the browser is crashing / closing.

What can I try to resolve this?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

We use Google Chromecast session.sendMessage to communicate from our web app to our casted web app. I found when there was a network issue on an Android device using google chrome, calling session.sendMessage would crash Chrome. No errors or events received the webrowser would just exit.

There were 3 separate instances; Internet outage, chromeCast powered off, wifi was turned off.

The workaround was to run some basic checks before sending a message to the API.

The casting session is alive The status of navigator.onLine is true and a simple network check (API Call) == 200

all 3 checks must pass before sending a message. If one or more checks failed kill the session.

This does result in slightly slower cast speeds.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda