Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Proposal: RtpListener for unsignalled ssrcs #32

@aboba

Description

@aboba

From: Peter Thatcher pthatcher@google.com
Date: Thu, 13 Feb 2014 11:23:56 -0800
To: "public-orca@w3.org" public-orca@w3.org
URL: http://lists.w3.org/Archives/Public/public-orca/2014Feb/0022.html

With the move to RtpSender/RtpReceiver, we have one thing we're missing
from RTP that can't be put in either of them: an event for unsignalled
ssrcs. We want such an event, but right now we don't have a clear place to
put it. I propose we add a class called RtpListener which, like
RtpReceiver, wraps a DtlsTransport, and fires events for RTP received.
Unlike RtpReceiver, which handles the RTP for a given set of ssrcs, the
RtpListener can listen to all RTP and fire an event if a packet is already
process by an existing RtpReceiver. Here's how I propose RtpListener
should look:

[Constructor(RTCDtlsTransport)]
interface RTCRtpListener {
readonly attribute RTCDtlsTransport transport;
// fires RTCRtpUnhandledRtpEvent;
attribute EventHandler? onunhandledrtp;
}

interface RTCRtpUnhandledRtpEvent : Event {
readonly attribute unsigned int ssrc;
readonly attribute unsigned byte payloadType;
// AKA "AppID" header extension
readonly attribute DOMString? receiverId;
}

That's it :). It's simple, but it grants a lot more flexibility to the
application to signal things (or not signal things) how it wants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions