Expand description
§discord-stream-rs
A Rust library for streaming audio/video to Discord voice channels,
ported from @dank074/discord-video-stream.
§Implemented so far
- Voice gateway OpCodes (JSON + binary) —
VoiceOpCodes.ts - Voice gateway message types (serde) —
VoiceMessageTypes.ts - DAVE / E2EE session —
@snazzah/davey VoiceConnectionstate machine + DAVE handshake —BaseMediaConnection.tsStreamConnection(Go Live) —StreamConnection.ts- Gateway events + opcodes —
GatewayEvents.ts/GatewayOpCodes.ts Streamercontroller —Streamer.ts- Stream key helpers + codec utils —
utils.ts
Re-exports§
pub use dave::DaveError;pub use dave::DaveHandler;pub use gateway::GatewayEvent;pub use gateway::GatewayOpCode;pub use gateway::GatewayPayload;pub use gateway::Streamer;pub use gateway::StreamerError;pub use processing::rewrite_sps_vui;pub use processing::split_nalu;pub use processing::H264Helpers;pub use processing::H264NalUnitType;pub use processing::H265Helpers;pub use processing::H265NalUnitType;pub use utils::generate_stream_key;pub use utils::normalize_video_codec;pub use utils::parse_stream_key;pub use utils::StreamKey;pub use utils::StreamType;pub use utils::VideoCodec;pub use voice::ConnectionError;pub use voice::StreamConnection;pub use voice::VoiceConnection;pub use voice::VoiceEvent;pub use voice::WebRtcParams;pub use voice::WebRtcError;pub use voice::WebRtcWrapper;