Mercurial > pt1.oyama
comparison 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 |
comparison
equal
deleted
inserted
replaced
126:5dcaf3785ebe | 127:5a380559a61e |
---|---|
72 } session; | 72 } session; |
73 | 73 |
74 typedef struct _streamer { | 74 typedef struct _streamer { |
75 pthread_mutex_t mutex; //open、close、(recpt1からの)write | 75 pthread_mutex_t mutex; //open、close、(recpt1からの)write |
76 int stream_nr; | 76 int stream_nr; |
77 size_t total_byte; // 送信BYTE数 | |
78 struct timespec start; // 開始時刻 | |
77 session *stream_session[STREAM_MAX]; //NULL止めの配列 | 79 session *stream_session[STREAM_MAX]; //NULL止めの配列 |
78 } streamer; | 80 } streamer; |
79 | 81 |
80 typedef struct thread_data { | 82 typedef struct thread_data { |
81 QUEUE_T *queue; | 83 QUEUE_T *queue; |