[webrtc-rtptransport] Allow inserting padding into packets (#60)

tonyherre has just created a new issue for https://github.com/w3c/webrtc-rtptransport:

== Allow inserting padding into packets ==
UC2 requires the JS app to be able to pace sending, but doesn't allow any way to inject padding eg is the app wants to do some probing, but controlling packet sizes in general. We could inject data into the payload, but it would be better if there was a way to inject true rtp padding, with the `padding` RTP header bit set.

Suggested API:
```
dictionary RTCRtpPacketInit {
...
  unsigned long paddingBytes = 0;
}
```

and
```
interface RTCRtpPacket {
...
  readonly attribute unsigned long paddingBytes = 0;
}
```

CC @pthatcher @aboba @alvestrand 

Please view or discuss this issue at https://github.com/w3c/webrtc-rtptransport/issues/60 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 August 2024 09:14:21 UTC