Crate janus_plugin [−] [src]
Reexports
pub use debug::LogLevel; |
pub use debug::log; |
pub use jansson::JanssonDecodingFlags; |
pub use jansson::JanssonEncodingFlags; |
pub use jansson::JanssonValue; |
pub use jansson::RawJanssonValue; |
pub use session::SessionWrapper; |
Modules
debug | |
jansson | |
rtcp | |
sdp | |
session | |
utils |
Macros
answer_sdp |
Given an SDP offer from a client, generates an SDP answer.
(This has to be a macro because |
build_plugin |
Helper macro to produce a Janus plugin instance. Should be called with
a |
export_plugin |
Macro to export a Janus plugin instance from this module. |
janus_dbg | |
janus_err | |
janus_fatal | |
janus_huge | |
janus_info | |
janus_log | |
janus_log_enabled | |
janus_verb | |
janus_warn | |
offer_sdp |
Generates an SDP offer given some parameters.
(This has to be a macro because |
Structs
JanusError |
An error emitted by the Janus core in response to a plugin. |
Plugin | |
PluginCallbacks | |
PluginMetadata |
Represents metadata about this plugin which Janus can query at runtime. |
PluginResult |
A Janus plugin result; what a plugin returns to the gateway as a direct response to a signalling message. |
PluginSession | |
RawPluginResult |
Constants
API_VERSION |
Functions
get_result |
Converts a Janus gateway result code to either success or a potential error. |