[mediacapture-main] ability to pass metadata on add track [Feature Request] (#952)

JSmithOner has just created a new issue for https://github.com/w3c/mediacapture-main:

== ability to pass metadata on add track [Feature Request] ==
This would be nice to be able to pass in metadata per track.
example:

`  peer.addTrack( track, streams, params );`

where the prototype of `params` could look like this in TypeScript:

```
RTCTrackParams = {
  [ key:string ]:string|number
}

```

then retrieve on end

```
peer.ontrack = ( event ) => {

  console.log( event.params );

}
```

Would this be possible?

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/952 using your GitHub account


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

Received on Friday, 7 April 2023 12:01:22 UTC