在流媒体播放6-7个视频时,我会在Chrome上收到警告Caution provisional headers are shown
。
在检查net-internals
时,连接正在等待套接字
t= 18186 [st= 0] +REQUEST_ALIVE [dt=444781]
--> has_upload = false
--> is_pending = true
--> load_flags = 142737664 (ENABLE_LOAD_TIMING | MAYBE_USER_GESTURE | REPORT_RAW_HEADERS | VERIFY_EV_CERT)
--> load_state = 2 (WAITING_FOR_AVAILABLE_SOCKET)
--> method = "GET"
--> status = "IO_PENDING"
--> url = "<url>"
t=462966 [st=444780] CANCELLED
t=462966 [st=444780] -HTTP_STREAM_REQUEST
t=462967 [st=444781] -URL_REQUEST_START_JOB
--> net_error = -3 (ERR_ABORTED)
t=462967 [st=444781] URL_REQUEST_DELEGATE [dt=0]
t=462967 [st=444781] -REQUEST_ALIVE
有没有办法关闭流媒体HTML版本中的现有连接?
关闭流媒体
var api = flowplayer();
api = $(".flowplayer:first").data("flowplayer");
api.unbind();
api.unload();
任何强制关闭连接的方法?