Skip to main content

Module prelude

Module prelude 

Source
Expand description

Caller-facing o-sfu-core API.

This facade groups configuration, source intent, SfuCore and MediaSession. Process integration types remain under crate::server.

Re-exports§

pub use crate::Bitrate;
pub use crate::RoomInstanceId;

Structs§

ActiveSpeakerGroup
active-speaker group id used to separate speech relationships
ActiveSpeakerPolicy
active-speaker relationship declared for one source
CodecPreferences
Audio and video codec ordering for RTP profile compilation.
ConnectionId
unique identifier for a user’s transport connection within the server process
MediaCodecFlags
Codec enablement for RTP profile compilation.
MediaSession
One admitted user connection in one room.
NegotiationOffer
server-authored SDP offer plus upload metadata for the client
RoomMediaLimits
Room media activation limits.
RoomWorkerPolicy
Same-room router cap and packet-loop health threshold.
RtcPortRange
Inclusive UDP port range assigned across RTC workers.
RuntimeFeatureFlags
SessionBitrateLimits
Per-session bandwidth policy applied by RTC workers.
SfuCore
A cloneable core handle that admits users into room-bound MediaSessions.
SourceDeactivateIntent
Deactivation intent for one user stream.
SourceLayoutPolicy
default receiver-layout role for one source
SourcePolicy
room policy applied to one published source
SourcePublishIntent
Publish intent for one user stream.
SourceSubscriptionIntent
Per-source subscription update submitted by the caller.
UploadEncoding
one upload encoding offered to the client
UploadSlot
one offered upload media section
UserStreamId
User-scoped stream identity supplied with a publish intent.
VideoAdaptationTuning
Room-wide video budget and adaptation hysteresis.
VideoBitrateLimits
Bitrate limit used by generated VP8 and H.264 simulcast upload profiles.

Enums§

ActiveSpeakerSourceRole
role one source plays inside an active-speaker group
AudioCodecPreference
audio codec entry used to rank the negotiated audio capability surface
RoomMediaLimitsError
Invalid room media limit input.
RtcUdpIoBackend
RTC packet-loop UDP I/O backend.
SessionError
error returned by MediaSession operations
SfuCoreError
SourceAdaptationPolicy
receiver bandwidth behavior for one published source
SourceRoomPolicySelector
receiver-specific layout role before a concrete encoding is chosen
SourceRoutePriority
overload priority derived from a route’s room-policy selector
TransportSessionHealth
UploadLayerPolicyRole
server-defined role for one published source encoding
VideoAdaptationTuningError
VideoCodecPreference
video codec entry used to rank the negotiated video capability surface