-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
PR ExistsA PR has been submittedA PR has been submitted
Description
The examples won't work as written for more than one sender:
const rtpTransport = pc.createRtpTransport();
pc.getSenders().forEach((sender) => {
pc.createEncodedStreams().readable.
pipeThrough(createPacketizingTransformer()).pipeTo(rtpTransport.writable);
});...because multiple streams cannot be piped into a single writable.
It's not super-clear what a single "transport" is meant to be scoped to.
- Is there one for the entire peer connection?
- Is there one per transceiver?
- Is there one per sender and receiver?
- Is there one per transform?
- Can apps create as many as they wish?
Is it just a packetizer sink? — In #14 I end up with number 4.
Conceptually, is this just be some option on a transform to change expected inputs and outputs? E.g. on the sender:
- encodedFrame → encodedFrame (default, e.g. e2ee)
- encodedFrame → packet (e.g adding metadata)
- Frame → encodedFrame (JS encoder)
- Frame → packet (hold my beer)
If so, this proposal may be closer to @alvestrand's than I previously appreciated.
Metadata
Metadata
Assignees
Labels
PR ExistsA PR has been submittedA PR has been submitted