AngleSharp / AngleSharp/AngleSharp.Io

Add WebRTC Foundation API (RTCPeerConnection Subset)

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api enhancement up-for-grabs
Dominant language
C#
Stars
37
Forks
13
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test entry point is named. Start by reviewing the WebRTC 1.0 RTCPeerConnection specification and the repository structure for a suitable platform-interface extension point. Done means deterministic signaling-state transitions, valid SDP object shapes, and minimal ICE abstractions that support automation without media or full DataChannel semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.