# rtpjpegpay

Payload encode JPEG pictures into RTP packets according to RFC 2435. For detailed information see: http://www.rfc-editor.org/rfc/rfc2435.txt

The payloader takes a JPEG picture, scans the header for quantization tables (if needed) and constructs the RTP packet header followed by the actual JPEG entropy scan.

The payloader assumes that correct width and height is found in the caps.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstRTPBasePayload
                        ╰──rtpjpegpay

## Factory details

Authors: – Axis Communications

Classification: – `Codec/Payloader/Network/RTP`

Rank – secondary

Plugin – rtp

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    image/jpeg:
    video/x-jpeg:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-rtp:
              media: video
            payload: 26
         clock-rate: 90000
      encoding-name: JPEG
              width: [ 1, 65536 ]
             height: [ 1, 65536 ]
    application/x-rtp:
              media: video
            payload: [ 96, 127 ]
         clock-rate: 90000
      encoding-name: JPEG
              width: [ 1, 65536 ]
             height: [ 1, 65536 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### quality

    “quality” gint

Quality factor on JPEG data (unused)

Flags : Read / Write

Default value : 255

### type

    “type” gint

Default JPEG Type, overwritten by SOF when present

Flags : Read / Write

Default value : 1

The results of the search are