What events can CoTURN log?

785 views
Skip to first unread message

Geoff Wild

unread,
Mar 5, 2020, 1:47:14 PM3/5/20
to TURN Server (Open-Source project)
In the process of setting up a VOIP application and using CoTURN.

I can't seem to find a list of what CoTURN can log.

Can it show:

- disconnect events
- waiting connection events
- call status events
- drop party events
- others?

Thanks!

Warren McDonald

unread,
Mar 5, 2020, 9:32:50 PM3/5/20
to TURN Server (Open-Source project)
The events you seem to be looking for are application layer, but the TURN server is at a much lower level in scheme of things.

With verbose logging on there are many events logged with varying amounts of metadata available per event. 
The events relate to the STUN/TURN protocol and will have many events for a single application level media connection.

It is certainly a good source for debugging information but not always easy to map directly to application events.

If you are using WebRTC, then the client events for Peerconnections are a much better source for application level. Just collect them and send up to server API for central logging.
These include all of the ICE candidate data that is generated for  STUN/TURN connections.

Warren  

Geoff Wild

unread,
Mar 11, 2020, 2:00:52 PM3/11/20
to TURN Server (Open-Source project)
Checking the logs again, seems to have some events there - like login and usage?  

Can someone tell me what the usage line means:

1189: session 000000000000000009: usage: realm=<my.domain>, username=<geoff>, rp=313, rb=31646, sp=349, sb=28307

What are rp, rb, sp and sb?


Some Body

unread,
Mar 12, 2020, 7:15:33 AM3/12/20
to TURN Server (Open-Source project)
I don't know with certainty but would guess "recipent packets, recipient bytes, sender packets, sender bytes".

Mészáros Mihály

unread,
Mar 13, 2020, 3:31:18 AM3/13/20
to turn-server-project...@googlegroups.com

Sorry I am very busy, but check in the source on github it will help..

Misi

--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turn-server-project-rfc5766-turn-server/2ab08756-72a9-4e4f-80c6-2088470771eb%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages