JSPM

quickrtc-types

1.1.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 259
    • Score
      100M100P100Q55120F
    • License ISC

    Shared TypeScript types for QuickRTC client and server

    Package Exports

    • quickrtc-types
    • quickrtc-types/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (quickrtc-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    quickrtc-types

    Shared TypeScript types for QuickRTC client and server.

    Installation

    npm install quickrtc-types

    Usage

    import {
      MediasoupConfig,
      JoinConferenceParams,
      CreateTransportParams,
      SocketEventData,
    } from "quickrtc-types";

    Main Types

    • MediasoupConfig - Server configuration
    • Conference, Participant - Core entities
    • CreateTransportParams, ProduceParams, ConsumeParams - Transport operations
    • SocketEventType, SocketEventData - Socket communication
    • ClientConfig, ClientConnectionState - Client types

    Peer Dependencies

    • mediasoup ^3.19.0
    • socket.io ^4.8.0

    License

    ISC