Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

multiple tracks or stream in one peerconnection

61 views
Skip to first unread message

LZ K

unread,
Dec 4, 2024, 11:35:00 AM12/4/24
to discuss-webrtc
thanks to the samples of webrtc, i have learned a lot from that website

in my app i want add three or more tracks in one rtc connection, but i can't find a way to identify those tracks on the track receive side
i dont want use any extra method to transfer something like a map of trancks identify sign by datachannel of current rtc connection
i can't force set stream's id or track's id, the id set by the method will be reset automantically at track received side
i also tried transceiver, which cannot append any identify info to the track
also asked ai a lot😅, but still con't find a applicable way to add mutiple tracks

so is there any "offical" proper way to add multiple tracks in one rtc connection and identify them at the receive side?

any help is grateful

Philipp Hancke

unread,
Dec 4, 2024, 8:55:30 PM12/4/24
to discuss...@googlegroups.com
such a map of tracks (stream ids, track id do *not* work) is the canonical way to do it.

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/be73652c-38e9-4332-9edd-dfe8d599d2f9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages