Hi, I have a working signaling server with two PC’s, the offer/answer works, the datachannel works, the add tracks works as to that it does the callbacks and I see UDP datagrams flow between the two PC’s but I do not get the receive texture to display/update. Any guidance welcome. Not sure if I must send the ice candiate updates via the WS when they happen, what I do see is the updates create new offers/answers when I add tracks.
First the signaling server, this is just for lab/testing and it works
I’ve left out a lot of the code that is generic, but this works, I can make a call, sendMessage via datachannel etc. just the video does not render on the receiveImage.
@gtk2k Thank you, I moved the receiveStream.addTrack(e.Track); into the Ontrack function and impletmented the WebRTC.Update() Coroutine, everything is working now.
@gtk2k and @hyeongwooman this is correct, my OnTrack is a self made function to handle the e.Track, here is the example:
pc2Ontrack = e => { OnTrack(_pc2, e); };