private void _flvDownloader_Info(object sender, DownloadInfoArgs e) { _mw.Dispatcher.Invoke(() => { _mw.RecordTimeStatus.Content = e.Duration; _mw.BitrateStatus.Content = e.Bitrate / 1000.0f + "Kbps"; _mw.SizeStatus.Content = FormatSize(e.Bytes); }); _recordedSize = e.Bytes; }
private void _flvDownloader_Info(object sender, DownloadInfoArgs e) { OnDownloadInfoUpdate?.Invoke(sender, e); _recordedSize = e.Bytes; }