SpiceClientGLib.DisplayChannel.display_channel_change_preferred_video_codec_type

### Method

# SpiceClientGLib DisplayChanneldisplay_channel_change_preferred_video_codec_type

deprecated: 0.38 since: 0.35

#### Declaration [src]

    void
    spice_display_channel_change_preferred_video_codec_type (
      SpiceChannel* channel,
      gint codec_type
    )

#### Description [src]

Tells the spice server to change the preferred video codec type for streaming in `channel`. Application can set only one preferred video codec per display channel.

Available since: 0.35

Deprecated since: 0.38

Use `spice_display_channel_change_preferred_video_codec_types()` instead.

#### Parameters

`codec_type`

  Type: `gint`

  A `SpiceVideoCodecType`.