-
Notifications
You must be signed in to change notification settings - Fork 473
Description
用 demo 播放未缓存的视频源(已替换),每次都会出现这个问题。视频大小 10943952,但是下载到 781856,sdk 内部 Cancel download task。之后又重新下载,导致 文件服务 计算的下载流量 是原视频大小的 2 倍。
KTVHCDataNetworkSource : 0x600002c4c600, Callback for has available data - End
KTVHCDataSourceManager : 0x60000263a460, Callback for has available data - Begin
Source : <KTVHCDataNetworkSource: 0x600002c4c600>
KTVHCDataSourceManager : 0x60000263a460, Callback for has available data - End
KTVHCDataReader : 0x600002932d10, Callback for has available data - Begin
KTVHCDataReader : 0x600002932d10, Callback for has available data - End
KTVHCHTTPResponse : 0x60000029d600, Has available data
KTVHCHTTPResponse : 0x60000029d600, Offset : 744992
KTVHCDataNetworkSource : 0x600002c4c600, Read data
Length : 36864
downloadLength : 781854
readedLength : 781854
KTVHCDataSourceManager : 0x60000263a460, Read data : 36864
KTVHCDataReader : 0x600002932d10, Read data : 36864
KTVHCHTTPResponse : 0x60000029d600, Read data : 36864
nw_protocol_socket_set_no_wake_from_sleep [C3.1.1:2] setsockopt SO_NOWAKEFROMSLEEP failed [22: Invalid argument]
KTVHCHTTPResponse : 0x60000029d600, Connection did closed : 10943952, 781856
nw_protocol_socket_set_no_wake_from_sleep setsockopt SO_NOWAKEFROMSLEEP failed [22: Invalid argument]
KTVHCDataReader : 0x600002932d10, Call close
KTVHCDataSourceManager : 0x60000263a460, Call close
KTVHCDataFileSource : 0x600002932ca0, Call close
KTVHCDataNetworkSource : 0x600002c4c600, Call close
KTVHCDataNetworkSource : 0x600002c4c600, Cancel download task
nw_protocol_socket_set_no_wake_from_sleep [C3.1.1:2] setsockopt SO_NOWAKEFROMSLEEP failed [22: Invalid argument]
nw_protocol_socket_set_no_wake_from_sleep setsockopt SO_NOWAKEFROMSLEEP failed [22: Invalid argument]
KTVHCDataUnit : 0x600002636b20, Working release : 0
KTVHCDownload : 0x600002905030, Complete
Error : Error Domain=NSURLErrorDomain Code=-999 "cancelled"