示例#1
0
 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");
 }
示例#2
0
        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;//网络正常,次数清零
        }