[DestroysInstance]
public Gst.Caps normalize ();
public void remove_structure (uint idx);
+ [Version (since = "1.20")]
+ public string serialize (Gst.SerializeFlags flags);
[Version (since = "1.2")]
public void set_features (uint index, owned Gst.CapsFeatures? features);
[Version (since = "1.16")]
[CCode (has_construct_function = false)]
public DateTime (float tzoffset, int year, int month, int day, int hour, int minute, double seconds);
[CCode (has_construct_function = false)]
- public DateTime.from_g_date_time (owned GLib.DateTime dt);
+ public DateTime.from_g_date_time (owned GLib.DateTime? dt);
[CCode (has_construct_function = false)]
public DateTime.from_iso8601_string (string string);
[CCode (has_construct_function = false)]
public void remove_field (string fieldname);
public void remove_fields (params string[] field_names);
public void remove_fields_valist (string fieldname, va_list varargs);
+ [Version (since = "1.20")]
+ public string serialize (Gst.SerializeFlags flags);
public void @set (string fieldname, ...);
[Version (since = "1.12")]
public void set_array (string fieldname, GLib.ValueArray array);
TRICKMODE_FORWARD_PREDICTED,
TRICKMODE_NO_AUDIO
}
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_SERIALIZE_FLAG_", type_id = "gst_serialize_flags_get_type ()")]
+ [Flags]
+ [Version (since = "1.20")]
+ public enum SerializeFlags {
+ NONE,
+ BACKWARD_COMPAT
+ }
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STACK_TRACE_SHOW_", type_id = "gst_stack_trace_flags_get_type ()")]
[Flags]
[Version (since = "1.12")]
VIDEO,
CONTAINER,
TEXT;
- public unowned string? get_name ();
+ public unowned string get_name ();
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_", type_id = "gst_structure_change_type_get_type ()")]
public enum StructureChangeType {
public Gst.Audio.Format unpack_format;
public weak Gst.Audio.FormatUnpack unpack_func;
public weak Gst.Audio.FormatPack pack_func;
+ [Version (since = "1.20")]
+ public void fill_silence ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] dest);
}
[CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
[GIR (name = "AudioMeta")]
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_build_integer")]
public static Gst.Audio.Format audio_format_build_integer (bool sign, int endianness, int width, int depth);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_fill_silence")]
+ [Version (deprecated = true, deprecated_since = "1.20")]
public static void audio_format_fill_silence (Gst.Audio.FormatInfo info, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] dest);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_from_string")]
public static Gst.Audio.Format audio_format_from_string (string format);
public bool process_id (owned Gst.ClockID pending_id);
[Version (since = "1.4")]
public uint process_id_list (GLib.List<Gst.ClockID?>? pending_list);
- public Gst.ClockID process_next_clock_id ();
+ public Gst.ClockID? process_next_clock_id ();
public void set_time (Gst.ClockTime new_time);
[Version (since = "1.16")]
public bool timed_wait_for_multiple_pending_ids (uint count, uint timeout_ms, out GLib.List<Gst.ClockID?> pending_list);
[Version (since = "1.10")]
public Gst.Structure get_config ();
public Gst.PlayerAudioInfo get_current_audio_track ();
- public unowned Gst.PlayerSubtitleInfo get_current_subtitle_track ();
+ public Gst.PlayerSubtitleInfo get_current_subtitle_track ();
public Gst.PlayerVideoInfo get_current_video_track ();
public string get_current_visualization ();
public Gst.ClockTime get_duration ();
public static Gst.PlayerVisualization[] visualizations_get ();
public int64 audio_video_offset { get; set; }
public Gst.PlayerAudioInfo current_audio_track { owned get; }
- public Gst.PlayerSubtitleInfo current_subtitle_track { get; }
+ public Gst.PlayerSubtitleInfo current_subtitle_track { owned get; }
public Gst.PlayerVideoInfo current_video_track { owned get; }
public uint64 duration { get; }
public Gst.PlayerMediaInfo media_info { owned get; }
public bool source_info { get; set; }
[NoAccessorMethod]
public Gst.Structure stats { owned get; }
+ [Version (since = "1.20")]
+ public signal void add_extension (owned Gst.RTP.HeaderExtension ext);
+ [Version (since = "1.20")]
+ public signal void clear_extensions ();
+ [Version (since = "1.20")]
+ public signal Gst.RTP.HeaderExtension request_extension (uint ext_id, string? ext_uri);
}
[CCode (cheader_filename = "gst/rtp/rtp.h", type_id = "gst_rtp_base_payload_get_type ()")]
[GIR (name = "RTPBasePayload")]
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
public void set_options (string media, bool @dynamic, string encoding_name, uint32 clock_rate);
+ [Version (since = "1.20")]
+ public bool set_outcaps_structure (Gst.Structure? s);
[Version (since = "1.16")]
public void set_source_info_enabled (bool enable);
[NoWrapper]
public uint timestamp { get; }
[NoAccessorMethod]
public uint timestamp_offset { get; set; }
+ [Version (since = "1.20")]
+ public signal void add_extension (owned Gst.RTP.HeaderExtension ext);
+ [Version (since = "1.20")]
+ public signal void clear_extensions ();
+ [Version (since = "1.20")]
+ public signal Gst.RTP.HeaderExtension request_extension (uint ext_id, string ext_uri);
}
[CCode (cheader_filename = "gst/rtp/rtp.h", has_type_id = false)]
[Compact]
public void set_version (uint8 version);
public void unmap ();
}
+ [CCode (cheader_filename = "gst/rtp/rtp.h", type_id = "gst_rtp_header_extension_get_type ()")]
+ [GIR (name = "RTPHeaderExtension")]
+ [Version (since = "1.20")]
+ public abstract class HeaderExtension : Gst.Element {
+ public uint ext_id;
+ [CCode (has_construct_function = false)]
+ protected HeaderExtension ();
+ public static Gst.RTP.HeaderExtension? create_from_uri (string uri);
+ public uint get_id ();
+ public virtual size_t get_max_size (Gst.Buffer input_meta);
+ public string get_sdp_caps_field_name ();
+ public virtual Gst.RTP.HeaderExtensionFlags get_supported_flags ();
+ public unowned string get_uri ();
+ public virtual bool read (Gst.RTP.HeaderExtensionFlags read_flags, uint8 data, size_t size, Gst.Buffer buffer);
+ public virtual bool set_attributes_from_caps (Gst.Caps caps);
+ public bool set_attributes_from_caps_simple_sdp (Gst.Caps caps);
+ public virtual bool set_caps_from_attributes (Gst.Caps caps);
+ public bool set_caps_from_attributes_simple_sdp (Gst.Caps caps);
+ public void set_id (uint ext_id);
+ public virtual size_t write (Gst.Buffer input_meta, Gst.RTP.HeaderExtensionFlags write_flags, Gst.Buffer output, uint8 data, size_t size);
+ }
[CCode (cheader_filename = "gst/rtp/rtp.h", has_type_id = false)]
[GIR (name = "RTPPayloadInfo")]
public struct PayloadInfo {
SKIP_PADDING,
LAST
}
+ [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_HEADER_EXTENSION_", type_id = "gst_rtp_header_extension_flags_get_type ()")]
+ [Flags]
+ [GIR (name = "RTPHeaderExtensionFlags")]
+ [Version (since = "1.20")]
+ public enum HeaderExtensionFlags {
+ ONE_BYTE,
+ TWO_BYTE
+ }
[CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_PAYLOAD_", type_id = "gst_rtp_payload_get_type ()")]
[GIR (name = "RTPPayload")]
public enum Payload {
}
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_BASE")]
public const string HDREXT_BASE;
+ [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_ELEMENT_CLASS")]
+ [Version (since = "1.20")]
+ public const string HDREXT_ELEMENT_CLASS;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_56")]
public const string HDREXT_NTP_56;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_56_SIZE")]
public const string HDREXT_NTP_64;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_64_SIZE")]
public const int HDREXT_NTP_64_SIZE;
+ [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY")]
+ [Version (since = "1.20")]
+ public const string HEADER_EXTENSION_URI_METADATA_KEY;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_SOURCE_META_MAX_CSRC_COUNT")]
public const int SOURCE_META_MAX_CSRC_COUNT;
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_VERSION")]
[CCode (cheader_filename = "gst/rtp/rtp.h")]
public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
+ [Version (since = "1.20")]
+ public static GLib.List<Gst.RTP.HeaderExtension> get_header_extension_list ();
+ [CCode (cheader_filename = "gst/rtp/rtp.h")]
public static bool hdrext_get_ntp_56 ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, out uint64 ntptime);
[CCode (cheader_filename = "gst/rtp/rtp.h")]
public static bool hdrext_get_ntp_64 ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, out uint64 ntptime);
public weak int stride[4];
public Gst.Video.Alignment alignment;
[Version (since = "1.18")]
- public bool get_plane_height (out uint plane_height);
+ public bool get_plane_height ([CCode (array_length = false)] out unowned uint plane_height[4]);
[Version (since = "1.18")]
- public bool get_plane_size (out size_t plane_size);
+ public bool get_plane_size ([CCode (array_length = false)] out unowned size_t plane_size[4]);
public bool map (uint plane, Gst.MapInfo info, out void* data, out int stride, Gst.MapFlags flags);
[Version (since = "1.18")]
public bool set_alignment (Gst.Video.Alignment alignment);
[Version (since = "1.16")]
public static Gst.Caps caption_type_to_caps (Gst.Video.CaptionType type);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (deprecated = true, deprecated_since = "1.20")]
public static Gst.Video.ChromaSite chroma_from_string (string s);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.20")]
+ public static Gst.Video.ChromaSite chroma_site_from_string (string s);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.20")]
+ public static string? chroma_site_to_string (Gst.Video.ChromaSite site);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ [Version (deprecated = true, deprecated_since = "1.20")]
public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.18")]
[CCode (cheader_filename = "gst/video/video.h")]
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, [CCode (array_length = false)] out unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
[CCode (cheader_filename = "gst/video/video.h")]
- [Version (deprecated = true, since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.20", since = "1.6")]
public static double color_transfer_decode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
- [Version (deprecated = true, since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.20", since = "1.6")]
public static double color_transfer_encode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
public weak void* _padding[4];
public weak Gst.Element dtlssrtpdec;
public weak Gst.Element dtlssrtpenc;
- public bool is_rtcp;
[CCode (has_construct_function = false)]
- public WebRTCDTLSTransport (uint session_id, bool rtcp);
+ public WebRTCDTLSTransport (uint session_id);
public void set_transport (Gst.WebRTCICETransport ice);
[NoAccessorMethod]
public string certificate { owned get; set; }
[NoAccessorMethod]
public string remote_certificate { owned get; }
[NoAccessorMethod]
- public bool rtcp { get; construct; }
- [NoAccessorMethod]
public uint session_id { get; construct; }
[NoAccessorMethod]
public Gst.WebRTCDTLSTransportState state { get; }
public class WebRTCRTPReceiver : Gst.Object {
[CCode (array_length = false)]
public weak void* _padding[4];
- public weak Gst.WebRTCDTLSTransport rtcp_transport;
public weak Gst.WebRTCDTLSTransport transport;
[CCode (has_construct_function = false)]
public WebRTCRTPReceiver ();
- public void set_rtcp_transport (Gst.WebRTCDTLSTransport transport);
- public void set_transport (Gst.WebRTCDTLSTransport transport);
}
[CCode (cheader_filename = "gst/webrtc/webrtc.h", lower_case_csuffix = "webrtc_rtp_sender", type_id = "gst_webrtc_rtp_sender_get_type ()")]
[Version (since = "1.16")]
public class WebRTCRTPSender : Gst.Object {
[CCode (array_length = false)]
public weak void* _padding[4];
- public weak Gst.WebRTCDTLSTransport rtcp_transport;
public weak GLib.Array<void*> send_encodings;
public weak Gst.WebRTCDTLSTransport transport;
[CCode (has_construct_function = false)]
public WebRTCRTPSender ();
[Version (since = "1.20")]
public void set_priority (Gst.WebRTCPriorityType priority);
- public void set_rtcp_transport (Gst.WebRTCDTLSTransport transport);
- public void set_transport (Gst.WebRTCDTLSTransport transport);
[NoAccessorMethod]
[Version (since = "1.20")]
public Gst.WebRTCPriorityType priority { get; set; }