Cargo Features

[dependencies]
gst-plugin-ndi = { version = "0.12.0", default-features = false, features = ["sink", "advanced-sdk", "capi", "doc"] }
default = sink

The sink feature is set by default whenever gst-plugin-ndi is added without default-features = false somewhere in the dependency tree.

sink default

Enables v1_18 of gstreamer and gstreamer-base

Affects ndi_cc_meta::NDICCMetaEncoder

advanced-sdk

Affects ndi::CompressedPacket, ndisys::NDIlib_recv_color_format_ex_compressed, ndisys::NDIlib_recv_color_format_ex_compressed_v2, ndisys::NDIlib_recv_color_format_ex_compressed_v3, ndisys::NDIlib_recv_color_format_ex_compressed_v3_with_audio, ndisys::NDIlib_recv_color_format_ex_compressed_v4, ndisys::NDIlib_recv_color_format_ex_compressed_v4_with_audio, ndisys::NDIlib_recv_color_format_ex_compressed_v5, ndisys::NDIlib_recv_color_format_ex_compressed_v5_with_audio, ndisys::NDIlib_FourCC_video_type_ex_SHQ0_highest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_SHQ2_highest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_SHQ7_highest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_SHQ0_lowest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_SHQ2_lowest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_SHQ7_lowest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_H264_highest_bandwidth, ndisys::NDIlib_FourCC_video_type_ex_H264_lowest_bandwidth

static capi
doc

Enables v1_18 of gstreamer