sip/audio/media_session_platform library
Platform facade for MediaSession.
On native targets re-exports the dart:io-backed implementation from
media_session.dart. On web (no dart:io) re-exports the stub from
media_session_stub.dart so the rest of the app still compiles.
Classes
- MediaSession
- RtpEndpoint
- Negotiated remote media endpoint (parsed from SDP).
Enums
- G711Variant
- G.711 codec selection.
- RtpFlow
- Direction tag for RtpPacketTap.
Typedefs
- RtpPacketTap = void Function(RtpFlow flow, String summary)
- Diagnostic callback invoked once per RTP / RTCP datagram. Called with a human-readable one-line dump (header fields, length — never the payload bytes themselves) so the host can write to a log file.