Browse Source

notify: Added NO_EMM_RECEIVED event.

Georgi Chorbadzhiyski 12 years ago
parent
commit
00fade927f
3 changed files with 7 additions and 0 deletions
  1. 1
    0
      ChangeLog
  2. 2
    0
      tsdecrypt.1
  3. 4
    0
      tsdecrypt.c

+ 1
- 0
ChangeLog View File

5
  * Fixed newcamd protocol issues when OSCAM disappeared.
5
  * Fixed newcamd protocol issues when OSCAM disappeared.
6
  * Fix (and optimize) decryption when the input is MPTS. Previously
6
  * Fix (and optimize) decryption when the input is MPTS. Previously
7
    decrypting one stream broke the others.
7
    decrypting one stream broke the others.
8
+ * notify: Add NO_EMM_RECEIVED event.
8
 
9
 
9
 2012-02-24 : Version 6.0
10
 2012-02-24 : Version 6.0
10
  * Add --output-tos (-g) option used to set output TOS value.
11
  * Add --output-tos (-g) option used to set output TOS value.

+ 2
- 0
tsdecrypt.1 View File

245
                   decryption process have been suspended until valid
245
                   decryption process have been suspended until valid
246
                   code word is received.
246
                   code word is received.
247
 
247
 
248
+  \fBNO_EMM_RECEIVED\fR    No EMM packet have been received for X seconds.
249
+
248
   \fBINPUT_TIMEOUT\fR   There was no data on the input.
250
   \fBINPUT_TIMEOUT\fR   There was no data on the input.
249
 
251
 
250
   \fBINPUT_OK\fR        The data have appeared on the input.
252
   \fBINPUT_OK\fR        The data have appeared on the input.

+ 4
- 0
tsdecrypt.c View File

656
 		ts->emm_seen_count,
656
 		ts->emm_seen_count,
657
 		ts->emm_processed_count,
657
 		ts->emm_processed_count,
658
 		now - ts->emm_last_report);
658
 		now - ts->emm_last_report);
659
+	if (ts->emm_seen_count == 0) {
660
+		notify(ts, "NO_EMM_RECEIVED", "No EMMs were received in last %lu seconds.",
661
+			now - ts->emm_last_report);
662
+	}
659
 	ts->emm_last_report = now;
663
 	ts->emm_last_report = now;
660
 	ts->emm_seen_count = 0;
664
 	ts->emm_seen_count = 0;
661
 	ts->emm_processed_count = 0;
665
 	ts->emm_processed_count = 0;

Loading…
Cancel
Save