Re: [webrtc-pc] Invalid TURN credentials: What function should fail? (#2593)

I agree with @juberti that especially in a case where the error can be detected it should be raised as early as possible, thus in the constructor or setConfig. Which is also how Firefox rejects too long TURN usernames already.

"Nowhere" appears to be the worst option, as that could result in nobody noticing anything wrong until it is too late, e.g. multiple urls provided, but one is invalid but goes unnoticed.

-- 
GitHub Notification of comment by nils-ohlmeier
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2593#issuecomment-720948595 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 3 November 2020 07:20:38 UTC