Vishal
Vishal

Reputation: 3

Chrome Cast Reviever App Terminates without cause

I am working on a app that renders image in the the TV… A typical user will launch the receiver app from a sender and shut the sender app.

Once the app is launched by the sender , the receiver loads a page that fetches and displays a set of images with text to a user.

The app works well except for the fact that it terminates randomly without cause after a certain period of time, as a result the user cannot see all the images the receiver app intends to display.

The receiver console logs are…

[1830.772s] [cast.receiver.IpcChannel] Received message: {"data":"{\"reason\":\"transport_too_long_inactive\",\"senderId\":\"10:client-94641\",\"type\":\"senderdisconnected\"}","namespace":"urn:x-cast:com.google.cast.system","senderId":"SystemSender”}

[1830.781s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message [urn:x-cast:com.google.cast.system, SystemSender]: {"reason":"transport_too_long_inactive","senderId":"10:client-94641","type":"sender disconnected”}

Also I used the HelloText Chrome app as the baseline for my app.

Any help would be highly appreciated…

Upvotes: 0

Views: 326

Answers (1)

Ali Naddaf
Ali Naddaf

Reputation: 19044

Well, the log says it is disconnected due to inactivity for too long. Is that the case when you see the disconnect?

Upvotes: 0

Related Questions