Callback to receive events from TURN session.
Notification when peer address has been bound successfully to a channel number.
This callback is optional since the nature of this callback is for information only.
Notification when incoming data has been received, either through Data indication or ChannelData message from the TURN server.
This callback will be called by the TURN session whenever it needs to send outgoing message. Since the TURN session doesn't have a socket on its own, this callback must be implemented.
Notification when TURN session state has changed. Application should implement this callback at least to know that the TURN session is going to be destroyed.
The documentation for this struct was generated from the following file: