Re: [webrtc-extensions] Consider an API for non-delivered messages in SCTP datachannels (#50)

> I'm unsure whether abandoning a message even triggers `SCTP_SEND_FAILED_EVENT` on the sender side. Would have to dig in the spec what's the case here, but maybe @tuexen knows it without looking. Even if it does, I don't see value in it unless all unsent messages can be reliably recovered from it **immediately** when ICE goes into failed. That would make it somewhat interesting (especially for reliable channels).

[RFC 6458](https://datatracker.ietf.org/doc/html/rfc6458#section-6.1.11) says:
```
If SCTP cannot deliver a message, it can return back the message as a
notification if the SCTP_SEND_FAILED_EVENT event is enabled.
```

I consider abandoning a user message as not delivering it. So, yes, the FreeBSD stack and therefore usrsctp triggers this notification in case of PR-SCTP abandoning a user message.

-- 
GitHub Notification of comment by tuexen
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/50#issuecomment-865127676 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 June 2021 15:31:21 UTC