#[cfg(all(
feature = "voip-runtime",
any(target_arch = "wasm32", target_os = "espidf")
))]
compile_error!(
"the native VoIP features of `whatsapp-rust` pull webrtc-rs and do not build on \
wasm32/espidf. For those targets use `wacore/voip` for crypto/encoded transport and \
optionally `wacore/voip-mlow` for the pure-Rust MLOW codec."
);
pub mod audio;
pub mod driver;
pub mod facade;
pub mod registry;
pub mod session;
pub mod transport;
pub mod video;
pub use audio::{AudioSink, AudioSource, EncodedAudioSink, EncodedAudioSource};
pub use facade::{
AcceptCall, CallHandle, CallLinkCall, GroupBoundCall, OutgoingCall, OutgoingGroupCall,
};
pub use video::{VideoFrame, VideoSink, VideoSource};
pub use wacore::voip::{
AudioCodec, AudioConfig, AudioFormat, AudioIo, AudioRtpProfile, EncodedAudioFrame,
OpusMlowPacketError, depacketize_opus_from_mlow, packetize_opus_for_mlow,
};
pub use wacore::voip::{CallEvent, GroupCallState, GroupStateApply, VideoUpgradeToken};
pub use wacore::types::call::VideoState;
pub use wacore::types::group_call::{
CallLink, CallLinkJoin, CallLinkMedia, CallLinkPreview, GROUP_CALL_MAX_PARTICIPANTS,
GroupCallDevice, GroupCallEncRekey, GroupCallParticipant, GroupCallRelay,
GroupCallRelayEndpoint, GroupCallUpdate, ScreenShare, ScreenShareState, WaitingRoom,
WaitingRoomUser,
};