a49aa0a1ca
Moved bbb-webrtc-sfu utilitaries to properly named folder Logging improvements to base broker Added onerror/onstart/onended callback interfaces to base broker
26 lines
877 B
JavaScript
26 lines
877 B
JavaScript
export default SFU_BROKER_ERRORS = {
|
|
// 13xx errors are client-side bbb-webrtc-sfu's base broker errors
|
|
1301: "WEBSOCKET_DISCONNECTED",
|
|
1302: "WEBSOCKET_CONNECTION_FAILED",
|
|
1305: "PEER_NEGOTIATION_FAILED",
|
|
1307: "ICE_STATE_FAILED",
|
|
// 2xxx codes are server-side bbb-webrtc-sfu errors
|
|
2000: "MEDIA_SERVER_CONNECTION_ERROR",
|
|
2001: "MEDIA_SERVER_OFFLINE",
|
|
2002: "MEDIA_SERVER_NO_RESOURCES",
|
|
2003: "MEDIA_SERVER_REQUEST_TIMEOUT",
|
|
2004: "MEDIA_SERVER_GENERIC_ERROR",
|
|
2020: "ICE_ADD_CANDIDATE_FAILED",
|
|
2021: "ICE_GATHERING_FAILED",
|
|
2022: "ICE_STATE_FAILED",
|
|
2200: "MEDIA_GENERIC_ERROR",
|
|
2201: "MEDIA_NOT_FOUND",
|
|
2202: "MEDIA_INVALID_SDP",
|
|
2203: "MEDIA_NO_AVAILABLE_CODEC",
|
|
2208: "MEDIA_GENERIC_PROCESS_ERROR",
|
|
2209: "MEDIA_ADAPTER_OBJECT_NOT_FOUND",
|
|
2210: "MEDIA_CONNECT_ERROR",
|
|
2211: "MEDIA_NOT_FLOWING",
|
|
2300: "SFU_INVALID_REQUEST",
|
|
}
|