Hi,
I have a weird case of DTLS/ICE failure on multistream branch, and hoping someone can help me bring it to some light or fire :)
So from client perspective we are we are publishing (joinandconfigure request) Audio then Video but then depending which track we want to disable mid 0 or 1 we get a good stream or ICE failed/ DTLS alert. When ever we want to inactivate mid 0 janus instantly gives us alert and cleanup the publisher.
Example of good offer/answer:
mid 1(video) was inactivated and can be seen in offer audio stream keeps flowing, and it doesn't matter if video is in mid0 it will keep working.
Example of DTLS alert:
mid 0 was inactivated, in this case video and we got Alert in matter of miliseconds of sending Answer to client (before client managed to send new ICE candidates).
Note that Janus send answer with correct streams objects :
I also noticed that Client (chrome) is adding candidates only to mid0 (even when 0 is inactive) wheres Janus adds them to active mid.
Can it be that we are missing a step on client side, like pc.restartIce() but I doubt that it is necessary when disabling track?
Thanks for any help.
mirko