private void Downloader_OnDownloadInfoUpdate(object sender, DownloadInfoArgs e) { RecordSize = Downloader.FormatSize(e.Bytes); PropertyChange("RecordSize"); RecordTime = e.Duration; PropertyChange("RecordTime"); BitRate = e.Bitrate / 1000.0f + "Kbps"; PropertyChange("BitRate"); }
private void Downloader_OnDownloadInfoUpdate(object sender, DownloadInfoArgs e) { PropertyChange("TimelineType"); PropertyChange("RecordStatus"); RecordSize = Downloader.FormatSize(e.Bytes); PropertyChange("RecordSize"); RecordTime = e.Duration; PropertyChange("RecordTime"); BitRate = e.Bitrate / 1000.0f + "Kbps"; PropertyChange("BitRate"); retrycount = 0;//网络正常,次数清零 }