Ejemplo n.º 1
0
 private static void currentMetric_TransportErrorIndicatorDetected(object sender, TransportStreamEventArgs e)
 {
     LogMessage($"Transport Error Indicator on TS PID {e.TsPid}");
 }
Ejemplo n.º 2
0
        private static void currentMetric_DiscontinuityDetected(object sender, TransportStreamEventArgs e)
        {
            LogMessage($"Discontinuity on TS PID {e.TsPid}");

            //this event shall trigger the current historical buffer to write to a TS (if the historical buffer is full)
            FlushHistoricalBufferToFile();
        }
Ejemplo n.º 3
0
 private void OnTransportErrorIndicatorDetected(int tsPid)
 {
     var handler = TransportErrorIndicatorDetected;
     if (handler == null) return;
     var args = new TransportStreamEventArgs { TsPid = tsPid };
     handler(this, args);
 }
Ejemplo n.º 4
0
        protected void OnTableChangeDetected()
        {
            var handler = TableChangeDetected;
            if (handler == null) return;

            var generatingPid = -1;

            if (InProgressTable != null)
            {
                generatingPid = InProgressTable.Pid;
            }
            
            var args = new TransportStreamEventArgs { TsPid = generatingPid };
            handler(this, args);
        }
Ejemplo n.º 5
0
 private void OnDiscontinuityDetected(int tsPid)
 {
     var handler = DiscontinuityDetected;
     if (handler == null) return;
     var args = new TransportStreamEventArgs { TsPid = tsPid };
     handler(this, args);
 }