-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active TCP candidates? #562
Comments
Hi @ahaooahaz, I will move this issue to the pion/ice repo as this is ICE related. |
Hi @ahaooahaz, it is not supported yet. |
#565 has been merged. 🥳 |
@ahaooahaz I just tagged v3.2.3 which has Active TCP support, would you mind testing it out. Thank you! |
@Sean-Der @stv0g @ashellunts Great works! I has tested publish video to TCP-only webrtc server, I can see the ICE-TCP connected, but when transport SRTP packets there always auth failed. here is the TCP-only server logs which publish client is pion/[email protected]:
here is the TCP-only server logs which publish client is Chrome:
|
Hi @ahaooahaz would you please try again with I believe you hit an unrelated bug. thank you! |
@Sean-Der I changed to |
In some cases, I will use Pion instead of the browser as the client to push data to the server. When the server only supports tcp-type ice links, the candidate address generated by Pion needs to be an active-mode tcp address. Tried examples/ice-tcp, the current tcp candidate addresses only include passive mode addresses, and I didn’t find any configuration items that can change this.
The phenomenon I encountered is that Pion generates tcp passive candidate addresses, and the server’s candidate addresses only have tcp passive mode, and they always fail to connect.
When I use the browser as a client, it generates tcp's active mode candidates and works fine.
I guess the reason for the inability to connect may be related to the active mode and passive mode. I am sorry that I am a novice in webrtc, and I am not very clear about some underlying principles.
If Pion already supports this function, can you tell me how to make this function take effect?
Thanks.
The text was updated successfully, but these errors were encountered: