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§
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§
- Event
Handler - Janus
Error - An error emitted by the Janus core in response to a plugin pushing an event.
- Janus
Event Type - Flags that control which events an event handler receives.
- Library
Metadata - Represents metadata about this library which Janus can query at runtime.
- Plugin
- Plugin
Callbacks - Plugin
Data Packet - Plugin
Result - A Janus plugin result; what a plugin returns to the gateway as a direct response to a signalling message.
- Plugin
Rtcp Packet - Plugin
RtpExtensions - Plugin
RtpPacket - Plugin
Session - RawPlugin
Result
Type Aliases§
- Janus
Result - A result from pushing an event to Janus core.