Open apurohitrivian opened 7 months ago
Did some more digging to find out that the socket creation is missing SO_BINDTODEVICE options. https://stackoverflow.com/questions/14478167/bind-socket-to-network-interface
Packets for an ice candidate are routed over the interface for which ICE candidate is created.
Packets route over the default interface of the device.
Create a webrtc session with network interface filter not being the default route interface for the device.
1.7.3
No response
gcc-9.4.0
linux-ubuntu
amd64; arm64
@apurohitrivian ,
Thank you for the details. Will look into this and revert back.
Please confirm you have already done the following
Please answer the following prompt
Describe the bug
Did some more digging to find out that the socket creation is missing SO_BINDTODEVICE options. https://stackoverflow.com/questions/14478167/bind-socket-to-network-interface
Expected Behavior
Packets for an ice candidate are routed over the interface for which ICE candidate is created.
Current Behavior
Packets route over the default interface of the device.
Reproduction Steps
Create a webrtc session with network interface filter not being the default route interface for the device.
WebRTC C SDK version being used
1.7.3
If it was working in a previous version, which one?
No response
Compiler and Version used
gcc-9.4.0
Operating System and version
linux-ubuntu
Platform being used
amd64; arm64