* Include mid -> trackID in SDP.
And send it in subscriber peer connection offer also. It can be useful
to clients even in dual peer connection case.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Use mapped SDP answer when using single peer connection mode.
In single peer connection mode, the client does not get the
TR_ ids for tracks. That is because the transceiver is created with a
receiver when the offer is generated and a random id assigned. Once the
id is assigned, it is not updated. So, when client gets `onTrack`, the
id of the associated MediaStreamTrack is not the TR_ variety.
So, send the mapping of mid -> trackID in signalling when sending
answer. And used that on client side to find LK track ID for given mid.
Side note: Probably worth doing it for dual peer connection also when
subscriber sends offer so that we do not have to deduce it on client
side using some rules.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Add last processed remote message id when adding to cache also as the returned message could be sent on the wire
* generated protobuf
* clean up
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* HTTP DELETE to delete a participant session - relay signal message for
that.
Also, doing a basic signal cache and building server message and client
message cache on top of it.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* More v2 stuff
- Adding `Trickle` to client -> server message. There should not be any
tricklw from server -> client in v2. So, not adding it. Will add if
needed later.
- Some utils to parse envelopes as we are moving in the direction of
having an envelope of messages in the initial connect request to keep
it modular. May change again later, but today's state is this.
- change relay signal to pass wire message back and forth.
* generated protobuf
* add utils
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>