Repository navigation
0.2.0
Makes a libmediasoupclient application's samples join to the SFU the way the web client's do, and
the bindings easy to build.
Breaking: everything moved into the observertc::clientmonitor namespace (the v0.1.0 tag
predates the move; the 0.1.0 notes below already describe it).
- Attachments on every level of a sample:
ClientMonitor::UpdateAttachments()merges into the
client attachments (RFC 7386,nullremoves a key); every stats monitor hasGetAttachments()/
UpdateAttachments(), kept across reports;PeerConnectionMonitor::SetDataChannelAttachments()
binds a data channel's attachments by SCTP stream id. ClientMonitor::AddMetaData(ClientMetaData), for payloads that are not objects (an SDP with its
peerConnectionId).AddMetaData({})andAddMetaData({ "type" })are now ambiguous;
writeAddMetaData("type").- mediasoupclient binding, matching the web client's
MediasoupTransportBinding:direction: "send" | "recv"on the peer connection attachments;{ dataProducerId[, dataConsumerId] }on the data channel entries;ReplaceTrack()drops the old track and keepsproducerIdon the new one; a producer's track
is remembered, so closing it works after the track is gone;MEDIA_TRACK_REMOVEDwith the producer and consumer ids when either closes;OnConsumerProducerPaused()/OnConsumerProducerResumed()setremoteOutboundTrackPaused;GetTransportId(),GetDirection().
- Build:
- with
CLIENTMONITOR_MEDIASOUPCLIENT, libsdptransform'sjson.hppis found and used
automatically. The README's earlier${libsdptransform_SOURCE_DIR}recipe expanded to an empty
path from the application's scope; aCLIENTMONITOR_JSON_INCLUDE_PATHwithout ajson.hppis
now an error; - libwebrtc's include directories are
SYSTEM, so applications building with-Werrorcompile; test/bindingscompiles both bindings and the newexamples/mediasoup_client.cppagainst
libmediasoupclient and a prebuilt libwebrtc m140, in CI;- CI ran on
master, which does not exist; it runs onmainnow.
- with