saltyrtc / saltyrtc-meta

Protocol description and organisational information for SaltyRTC implementations.
MIT License
74 stars 8 forks source link

What is close code 3003 "Handover of the Signalling Channel" being used for? #157

Closed ghost closed 5 years ago

ghost commented 5 years ago

Why there is 3003: Handover of the Signalling Channel Close Code ?

It is not used anywhere in the Protocol, I found it only in SaltyRTC WebRTC Task Protocol & SaltyRTC ORTC Task Protocol that are supersets of original SaltyRTC Signalling Protocol or I am missing something ?

dbrgn commented 5 years ago

The code 3003 is used by tasks that want to hand over the signaling channel to another transport. For example, the WebRTC task allows to hand over the signaling from the WebSocket to a DataChannel.

Does that answer your question?

lgrahl commented 5 years ago

@dbrgn answered the question, so I'll close. :slightly_smiling_face: If you have further questions, feel free to participate in our Gitter chat: https://gitter.im/saltyrtc/Lobby