OK, looking at: https://github.com/0xchat-app/0xchat-app-base/blob/ebcc02d8a886c2c9e37a508dffe4d9ead9b7e198/ox_common/lib/model/ice_server_model.dart#L90

They should just let you specify a username and password manually. Their approach is broken if you're using static auth since the username field will be timestamp:username and the password is the key

so it would be formatted as timestamp:username:key which their code won't handle as it expects username:password

blegh

Thanks for letting me know. I’m the dev of 0xchat. Is it possible to just use the `turn:username:password@turn.example.com:5349` format? I mean don’t use static auth?

Reply to this note

Please Login to reply.

Discussion

My coturn is already setup for nextcloud/REST, so shared secret auth is enabled.

Once you do that, the only format for username/password auth you can use will be turn:timestamp:username:key@hostname:port

The username will necessarily be of the format xxx:yyy in this case.

Classic username:password and REST can't be configured at the same time on coturn