VideoTrack


Description:

[ CCode ( has_construct_function = false ) ]
public VideoTrack ()

Creates a new video track, with a VIDEO track_type and "video/x-raw(ANY)" caps, and "video/x-raw" restriction_caps with the properties:

  • width: 1280
  • height: 720
  • framerate: 30/1

You should use update_restriction_caps if you wish to modify these fields, or add additional ones.

Returns:

The newly created video track.