I’m using Example lib-jitsi-meet (lib-jitsi-meet/example.js at master · jitsi/lib-jitsi-meet · GitHub) to connect to a room: conference. I also try to call Kurento server using webrtc and want to exchange Video and Aaudio between them.
Init jitsi xmpp connection and join room name conference
When onRemoteTrack fired in jitsi side, I start to call kurento connection and pass jitsi remote stream to Kurento client localStream.
Then In Kurento UI i can view a stream that mix all jitsi stream in room conferecne.
After that I got Kurento ontrack fired, then i start to call JitsiMeetJS.createLocalTracks by pass a mixed stream from Kurento.
Finally I get a mixed stream of Kurento in other Jitsi meet UI.
It’s working perfectly with the example code provided by lib Jitsi
BUT, It’s not working when i try to convert to run this code in NODEJS by using wrtc library.
It’s just successfull running to Step 4. But I can not get a mixed stream that must be add to localtrack and other Jitsi participants can view the mixed stream.
You can view the picture to clearly understand my problem.(Problem in red line - mix stream, that can’t forward to other jitsi client):
(Sorry i can up only 1 picture =)) )
I log the Jitsi localDescription and in nodeJS code it’s not contain ssrc part.
Can anyone help me why am i missing. Thank you !!