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. |
| PluginResultInfo | |
| PluginSession |
Enums
| PluginResultType |
Constants
| API_VERSION |
Functions
| create_result |
Allocates a Janus plugin result. Should be destroyed with destroy_result. |
| destroy_result |
Destroys a Janus plugin result. |
| get_result |
Converts a Janus gateway result code to either success or a potential error. |