# rtpldacpay

Payload LDAC encoded audio into RTP packets.

LDAC does not have a public specification and concerns itself only with bluetooth transmission. Due to the unavailability of a specification, we consider the encoding-name as X-GST-LDAC.

The best reference is libldac and the A2DP LDAC implementation in Android's bluetooth stack [Flouride] (https://android.googlesource.com/platform/system/bt/+/refs/heads/master/stack/a2dp/a2dp_vendor_ldac_encoder.cc).

## Example pipeline

     gst-launch-1.0 -v audiotestsrc ! ldacenc ! rtpldacpay mtu=679 ! avdtpsink

This example pipeline will payload LDAC encoded audio.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstRTPBasePayload
                        ╰──rtpldacpay

## Factory details

Authors: – Sanchayan Maity

Classification: – `Codec/Payloader/Network`

Rank – none

Plugin – rtp

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    audio/x-ldac:
           channels: [ 1, 2 ]
              eqmid: { (int)0, (int)1, (int)2 }
               rate: { (int)44100, (int)48000, (int)88200, (int)96000 }

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-rtp:
              media: audio
            payload: [ 96, 127 ]
         clock-rate: { (int)44100, (int)48000, (int)88200, (int)96000 }
      encoding-name: X-GST-LDAC

Presence – always

Direction – src

Object type – GstPad

The results of the search are