Commit b6a56867 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Add various other WebRTC related enums/flags types to the bindings

While they are not used by the types we have, they are used by the
webrtcbin element and are required for setting properties.

Fixes https://github.com/sdroege/gstreamer-rs/issues/110
parent 8d0a0ee6
...@@ -23,6 +23,11 @@ generate = [ ...@@ -23,6 +23,11 @@ generate = [
"GstWebRTC.WebRTCICERole", "GstWebRTC.WebRTCICERole",
"GstWebRTC.WebRTCICEComponent", "GstWebRTC.WebRTCICEComponent",
"GstWebRTC.WebRTCSDPType", "GstWebRTC.WebRTCSDPType",
"GstWebRTC.WebRTCDTLSSetup",
"GstWebRTC.WebRTCPeerConnectionState",
"GstWebRTC.WebRTCRTPTransceiverDirection",
"GstWebRTC.WebRTCSignalingState",
"GstWebRTC.WebRTCStatsType",
] ]
manual = [ manual = [
......
This diff is collapsed.
...@@ -21,12 +21,17 @@ mod web_rtc_session_description; ...@@ -21,12 +21,17 @@ mod web_rtc_session_description;
pub use self::web_rtc_session_description::WebRTCSessionDescription; pub use self::web_rtc_session_description::WebRTCSessionDescription;
mod enums; mod enums;
pub use self::enums::WebRTCDTLSSetup;
pub use self::enums::WebRTCDTLSTransportState; pub use self::enums::WebRTCDTLSTransportState;
pub use self::enums::WebRTCICEComponent; pub use self::enums::WebRTCICEComponent;
pub use self::enums::WebRTCICEConnectionState; pub use self::enums::WebRTCICEConnectionState;
pub use self::enums::WebRTCICEGatheringState; pub use self::enums::WebRTCICEGatheringState;
pub use self::enums::WebRTCICERole; pub use self::enums::WebRTCICERole;
pub use self::enums::WebRTCPeerConnectionState;
pub use self::enums::WebRTCRTPTransceiverDirection;
pub use self::enums::WebRTCSDPType; pub use self::enums::WebRTCSDPType;
pub use self::enums::WebRTCSignalingState;
pub use self::enums::WebRTCStatsType;
#[doc(hidden)] #[doc(hidden)]
pub mod traits { pub mod traits {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment