我在下面附上了一些日志。为什么这样的自动断开和重新连接发生?
cast_receiver_framework.js:66 [140.285s] [cast.receiver.IpcChannel] Received message: {"data":"{"reason":"`transport_closed`","senderId":"0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693","type":"`senderdisconnected`"}","namespace":"urn:x-cast:com.google.cast.system","senderId":"SystemSender"}
cast_receiver_framework.js:66 [140.287s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message
cast_receiver_framework.js:66 [140.289s] [cast.receiver.CastReceiverManager] Dispatching sender disconnected event [0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693] Reason: unknown
cast_receiver_framework.js:66 [140.292s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.google.cast.debugoverlay, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.294s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.google.cast.cac, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.296s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.testapp.chrome.cast, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.298s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.google.cast.broadcast, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.300s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.google.cast.media, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.302s] [cast.receiver.CastMessageBus] Unregistering sender [urn:x-cast:com.google.cast.inject, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.4:151299535132113693]
cast_receiver_framework.js:66 [140.305s] [cast.framework.Application] onSenderDisconnected
cast_receiver_framework.js:66 [141.694s] [cast.receiver.IpcChannel] Received message: {"data":"{"senderId":"0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693","type":"`senderconnected`","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"}","namespace":"urn:x-cast:com.google.cast.system","senderId":"SystemSender"}
cast_receiver_framework.js:66 [141.695s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message
cast_receiver_framework.js:66 [141.699s] [cast.receiver.CastReceiverManager] Dispatching CastReceiverManager sender connected event [0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.702s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.debugoverlay, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.704s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.cac, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.707s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.trialapp.chrome.cast, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.709s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.broadcast, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.712s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.media, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [141.714s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.inject, 0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:151299535132113693]
cast_receiver_framework.js:66 [142.496s] [cast.receiver.IpcChannel] Received message: {"data":"{"type":"GET_STATUS","requestId":174390150}","namespace":"urn:x-cast:com.google.cast.media","senderId":"0c131ea4-1bf8-5d01-4628-87b5e61bfb65.9:sender-gf9htjf8syr5"}
cast_receiver_framework.js:66 [142.498s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message
有很多原因可能发生断开连接。通常,接收器的响应不够快,那么心跳信号不会到达发件人,这会迫使接收器关闭并断开连接。它也可能是本地网络问题,但是对于任何瞬态网络问题,发件人将自动重新连接到接收方。