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 | |
| sdp | |
| session | |
| utils |
Macros
| answer_sdp |
Given an SDP offer from a client, generates an SDP answer. (This has to be a macro because generate_answer is variadic.) |
| build_plugin |
Helper macro to produce a Janus plugin instance. Should be called with a PluginMetadata instance and a series of exported plugin event handlers. |
| export_plugin |
Macro to export a Janus plugin instance from this module. |
Structs
| 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 |
Enums
| PluginResultType |
Constants
| API_VERSION |
Functions
| get_result |
Converts a Janus gateway result code to either success or a potential error. |