4 Commits

Author SHA1 Message Date
Raja Subramanian
0236ffc17f Include mid -> trackID in SDP. (#1256)
* 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>
2025-10-15 23:01:18 +05:30
Raja Subramanian
bfdbffc082 Use mapped SDP answer when using single peer connection mode. (#1255)
* 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>
2025-10-15 18:18:54 +05:30
Raja Subramanian
7f6468a6a0 join request as proto message (#1151)
* join request as proto message

* generated protobuf

* add join_publish

* generated protobuf

* comments

* generated protobuf

* simulcast not yet deprecated

* generated protobuf

* remove join_publish

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-07 11:00:07 +05:30
Raja Subramanian
52633eee69 Move signalling utils to protocol so that both server and Go SDK can use (#1138)
it.
2025-07-21 17:12:33 +05:30