diff src/recpt1.h @ 127:5a380559a61e

modify calclate bitrate mechanism.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Tue, 05 Oct 2010 01:42:59 +0900
parents e413158cae13
children 0db6ccf0fe31
line wrap: on
line diff
--- a/src/recpt1.h	Sun Oct 03 21:55:37 2010 +0900
+++ b/src/recpt1.h	Tue Oct 05 01:42:59 2010 +0900
@@ -74,6 +74,8 @@
 typedef struct _streamer {
     pthread_mutex_t mutex;   //open、close、(recpt1からの)write
     int stream_nr;
+    size_t total_byte; // 送信BYTE数
+    struct timespec start; // 開始時刻
     session *stream_session[STREAM_MAX]; //NULL止めの配列
 } streamer;