# spanplc

The spanplc (Packet Loss Concealment) element provides a synthetic fill-in signal, to minimise the audible effect of lost packets in VoIP applications

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──spanplc

## Factory details

Authors: – Youness Alaoui

Classification: – `Filter/Effect/Audio`

Rank – primary

Plugin – spandsp

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: 1

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: 1

Presence – always

Direction – src

Object type – GstPad

## Properties

### stats

    “stats” GstStructure *

Various decoder statistics. This property returns a GstStructure with name application/x-spanplc-stats with the following fields:

- guint64 `num-pushed`: the number of packets pushed out.
- guint64 `num-gap`: the number of gap packets received.
- guint64 `plc-num-samples`: the number of samples generated using PLC
- guint64 `plc-duration`: the total duration, in ns, of samples generated using PLC
- guint `pitch`: pitch estimate, in Hz
- guint `pitch-offset`: current offset in pitch period, in Hz

Flags : Read

The results of the search are