Closed liuboch closed 2 years ago
SFU sends "goaway" message ( wrapped as an rtc.Reply_Error msg ) to connected clients when receiving SigTERM. Currently rtc.Reply_Error is dropped/consumed by ion-sdk-go with an error logging.
This patch adds a callback for it.
SFU sends "goaway" message ( wrapped as an rtc.Reply_Error msg ) to connected clients when receiving SigTERM. Currently rtc.Reply_Error is dropped/consumed by ion-sdk-go with an error logging.
This patch adds a callback for it.