1 unstable release

0.1.0 Dec 6, 2024

#370 in Multimedia

Download history 70/week @ 2024-11-30 69/week @ 2024-12-07 7/week @ 2024-12-14

146 downloads per month
Used in videocall-daemon

MIT license

71KB
1.5K SLoC

videocall-types

videocall-types is a Rust library that provides the shared types and definitions for the videocall.rs teleconferencing system. This crate contains essential data structures and type definitions used across the system, enabling seamless communication and interoperability between components.

Main Repo

If you are new to videocall you should start at our repo videocall

Features

  • Common Data Models: Standardized types for messages, user sessions, room configurations, and more.
  • Serialization/Deserialization: Implementations for Protobuf to enable efficient data transfer (well better than JSON).
  • Type Safety: Strongly-typed structures to reduce errors in communication.

Usage

To use videocall-types, add it to your Cargo.toml:

[dependencies]
videocall-types = "0.1"

Then, import and use the types in your project:

use videocall_types::protos::{
    connection_packet::ConnectionPacket,
    packet_wrapper::{packet_wrapper::PacketType, PacketWrapper},
};

About videocall.rs

The videocall.rs system is an open-source, real-time teleconferencing platform built with Rust, WebTransport, and HTTP/3, designed for high-performance and low-latency communication.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Dependencies

~13–22MB
~313K SLoC