class RubyRabbitmqJanus::Janus::Responses::Errors
@author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
@since 3.0.0
Manage exception to response Janus
Public Instance Methods
Unauthorized (can only happen when using apisecret/auth token)
# File lib/rrj/janus/responses/error.rb, line 15 def _403(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::Unauthorized, request end
Unauthorized access to a plugin (can only happen when using auth token)
# File lib/rrj/janus/responses/error.rb, line 21 def _405(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::UnauthorizedPlugin, request end
Transport related error
# File lib/rrj/janus/responses/error.rb, line 26 def _450(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::TransportSpecific, request end
The request is missing in the message
# File lib/rrj/janus/responses/error.rb, line 31 def _452(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::MissingRequest, request end
The Janus
core does not suppurt this request
# File lib/rrj/janus/responses/error.rb, line 36 def _453(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::UnknownRequest, request end
The payload is not a valid JSON message
# File lib/rrj/janus/responses/error.rb, line 41 def _454(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::InvalidJSON, request end
The object is not a valid JSON object as expected
# File lib/rrj/janus/responses/error.rb, line 46 def _455(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::InvalidJSONObject, request end
A mandatory element is missing in the message
# File lib/rrj/janus/responses/error.rb, line 51 def _456(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::MissingMandatoryElement, request end
The request cannot be handled for this webserver path
# File lib/rrj/janus/responses/error.rb, line 56 def _457(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::InvalidRequestPath, request end
The session the request refers to doesn't exist
# File lib/rrj/janus/responses/error.rb, line 61 def _458(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::SessionNotFound, request end
The handle the request refers to doesn't exist
# File lib/rrj/janus/responses/error.rb, line 66 def _459(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::HandleNotFound, request end
The plugin the request wants to talk to doesn't exist
# File lib/rrj/janus/responses/error.rb, line 71 def _460(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::PluginNotFound, request end
An error occurring when trying to attach to a plugin and create a handle
# File lib/rrj/janus/responses/error.rb, line 77 def _461(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::PluginAttach, request end
An error occurring when trying to send a message/request to the plugin
# File lib/rrj/janus/responses/error.rb, line 82 def _462(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::PluginMessage, request end
brief An error occurring when trying to detach from a plugin and destroy the related handle
# File lib/rrj/janus/responses/error.rb, line 88 def _463(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::PluginDetach, request end
The Janus
core doesn't support this SDP type
# File lib/rrj/janus/responses/error.rb, line 93 def _464(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::JSEPUnknownType, request end
The Session Description provided by the peer is invalid
# File lib/rrj/janus/responses/error.rb, line 98 def _465(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::JSEPInvalidSDP, request end
The stream a trickle candidate for does not exist or is invalid
# File lib/rrj/janus/responses/error.rb, line 103 def _466(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::TrickleInvalidStream, request end
A JSON element is of the wrong type (e.g., an integer instead of a string)
# File lib/rrj/janus/responses/error.rb, line 109 def _467(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::InvalidElementType, request end
The ID provided to create a new session is already in use
# File lib/rrj/janus/responses/error.rb, line 114 def _468(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::SessionConflit, request end
We got an ANSWER to an OFFER we never made
# File lib/rrj/janus/responses/error.rb, line 119 def _469(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::UnexpectedAnswer, request end
The auth token the request refers to doesn't exist
# File lib/rrj/janus/responses/error.rb, line 124 def _470(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::TokenNotFound, request end
The current request cannot be handled because of not compatible WebRTC state
# File lib/rrj/janus/responses/error.rb, line 130 def _471(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::WebRTCState, request end
The server is currently configured not to accept new sessions
# File lib/rrj/janus/responses/error.rb, line 135 def _472(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::NotAcceptingSession, request end
Unknown/undocumented error
# File lib/rrj/janus/responses/error.rb, line 140 def _490(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::Unknown, request end
# File lib/rrj/janus/responses/error.rb, line 150 def default_error(request) raise RubyRabbitmqJanus::Errors::Janus::Responses::Nok, request end
# File lib/rrj/janus/responses/error.rb, line 146 def method_missing(_method, request) default_error(request) end
# File lib/rrj/janus/responses/error.rb, line 144 def respond_to_missing?(name, include_private); end