coturn icon indicating copy to clipboard operation
coturn copied to clipboard

Possible to send custom message?

Open vince-lynch opened this issue 7 years ago • 3 comments

Hey, Rather than the default response I would like to either change the string or add my own. Is this possible?

vince-lynch avatar Jan 02 '19 19:01 vince-lynch

I don't understand your question. Can you please rephrase it? Thanks..

misi avatar Jan 03 '19 07:01 misi

Hey. Well, when the WebRTC browser, communicates with the STUN/TURN server the browser sends a UDP series of packets. Then coturn responds with a UDP series of packets to the ip address and port of the browser.

I've used tcpdump, and nping to attempt to grab the outbound UDP response HEX packets and send them to the same ip address and port; however I'm not receiving a message in the browser. (doesn't seem to pick it up).

My question is; can I modify coturn's source code to change the UDP response packet that it sends.

Many thanks, Vince

vince-lynch avatar Jan 03 '19 09:01 vince-lynch

Hi @vince-lynch Looks like you are trying to implement some custom version of turnserver Of course you can do that customizing turnserver code (changing outgoing STUN and TURN messages)

It does not look like a feature that we could develop or support, though

eakraly avatar Aug 23 '22 00:08 eakraly