Crate janus_plugin

Crate janus_plugin 

Source

Re-exports§

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
refcount
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 generate_answer is variadic.)
build_eventhandler
Helper macro to produce a Janus event handler instance. Should be called with a LibraryMetadata instance and a series of exported event handler callbacks.
build_plugin
Helper macro to produce a Janus plugin instance. Should be called with a LibraryMetadata instance and a series of exported plugin callbacks.
export_eventhandler
Macro to export a Janus event handler instance from this module.
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 generate_offer is variadic.)

Structs§

EventHandler
JanusError
An error emitted by the Janus core in response to a plugin pushing an event.
JanusEventType
Flags that control which events an event handler receives.
LibraryMetadata
Represents metadata about this library which Janus can query at runtime.
Plugin
PluginCallbacks
PluginDataPacket
PluginResult
A Janus plugin result; what a plugin returns to the gateway as a direct response to a signalling message.
PluginRtcpPacket
PluginRtpExtensions
PluginRtpPacket
PluginSession
RawPluginResult

Type Aliases§

JanusResult
A result from pushing an event to Janus core.