Skip to content

Add WebRTC Foundation API (RTCPeerConnection Subset) #40

Description

@FlorianRappl

Proposal

Introduce a minimal WebRTC signaling-level API for scenarios that need peer connection primitives without full media complexity.

  • Expose RTCPeerConnection constructor and core methods.
  • Support createOffer, createAnswer, setLocalDescription, setRemoteDescription.
  • Add basic ICE candidate flow abstractions.
    Technical Notes:
  • Back media and transport behavior with a pluggable platform interface.
  • Keep initial implementation no-op friendly but state-correct.
    Acceptance Criteria:
  • Peer connection state transitions are testable and deterministic.
  • SDP method calls return valid object shapes.
  • API is usable by automation and script engines for signaling tests.
    Out of Scope:
  • Real media capture, codecs, and device pipeline.
  • Full SCTP/DataChannel reliability semantics in first pass.

Description

Add a WebRTC foundation subset centered on RTCPeerConnection signaling operations: createOffer, createAnswer, setLocalDescription, and setRemoteDescription, with minimal ICE abstractions.

Background

Many applications need signaling compatibility for tests and protocol integration, even when media pipelines are mocked. A subset-first approach provides value without full media stack complexity.

Specification

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions