Commit Graph

26 Commits

Author SHA1 Message Date
Jasper Hugo 476bc21adf fmt 2022-03-09 13:35:19 +07:00
Jasper Hugo ea73eec7ee Automatically decode audio & video rather than requiring the pipeline to 2022-03-09 13:34:26 +07:00
Jasper Hugo d7e2320fe5 Configurable JB size, send PLIs, send loss events, sep RTP/RTCP logging 2022-03-09 10:58:23 +07:00
Jasper Hugo 6ef974719b Transmit EndpointStats on the colibri channel 2022-03-09 10:05:28 +07:00
Jasper Hugo d44546e8c6 Add support for logging RTP/RTCP packets 2022-03-07 10:04:30 +07:00
Jasper Hugo 43afe4696a Response to E2E ping requests 2022-03-06 17:54:15 +07:00
Jasper Hugo 44208e28b3 fmt 2022-03-06 16:24:02 +07:00
Jasper Hugo c68a7cbe0a Make it possible to disable certificate verification 2022-03-06 16:23:46 +07:00
Jasper Hugo 3f27c90489 Updates for GStreamer 1.20, XMPP parsing improvements
* Updated GStreamer to 1.20
* Updated libnice to 0.1.18
* Vendored a minimal set of modified xmpp-parsers elements rather than
  the whole thing
* Implemented retries of the initial Colibri connection
* Updated deps
2022-03-06 12:01:37 +07:00
Jasper Hugo 594414138c Send the full presence when muting/unmuting 2021-11-19 12:08:57 +07:00
Emmanuel Gil Peyrot 66cfaa4da5 implement caps to avoid a panic
The previous disco#info was missing the required disco#info feature and
an identity, and the ecaps2 was computed from an empty disco#info
instead of the one we advertise.

In our case caps is a tiny optimisation which lets other participants
cache our disco#info to avoid querying us every time.

A future improvement will be to reply to ecaps2 queries as well.
2021-10-25 10:11:26 +07:00
Emmanuel Gil Peyrot c793d08bb6 wait for our self-presence to consider the room joined
The current code was only waiting until the first presence received from
the room, while our self-presence is the very last one to be received.
2021-10-25 10:07:33 +07:00
linkmauve 0040d20151
don’t include region elements when empty (#4)
In small deployments, for instance when there is only one server for all
participants, the region doesn’t mean anything so we can remove the
elements instead of sending an empty value.
2021-10-11 21:36:10 +07:00
Emmanuel Gil Peyrot 9d2dcfb21c replaced empty ns hack with the actual namespace used
All children of a message/presence/iq are in the jabber:client namespace
in a c2s stream unless xmlns is specified.
2021-10-11 21:32:45 +07:00
Jasper Hugo fab8efe5fb Compatibility fixes
* Allow focus to be a bare or full JID (thanks @teowoz & @Tellyo)
* If extdisco fails, just continue without STUN/TURN (thanks @teowoz &
  @Tellyo)
* Updated deps for new colibri protocol crate
* rustfmt
2021-10-11 10:33:29 +07:00
Jasper Hugo 2b2ceca515 use new colibri crate & vendored xmpp-parsers 2021-10-06 12:06:27 +07:00
Jasper Hugo 037c2d944f XMPP improvements
- Handle unsolicited XMPP messages gracefully
- Split out generic XMPP connection handler which can be used for
  connecting to brewery MUCs
- Don't deadlock during Jingle handling
2021-09-07 23:52:04 +07:00
Jasper Hugo 4575371d6d fmt 2021-08-25 11:21:43 +07:00
Jasper Hugo d5842ee79f RTX support, TCC support (not working correctly yet) 2021-08-23 11:56:11 +07:00
Jasper Hugo 6f67e2536d lib-gst-meet 0.3: colibri message support, more flexible recv handling 2021-08-19 17:06:12 +07:00
Jasper Hugo e5d10c6da0 added set_pipeline_state to C API, improved participant-left handler 2021-08-18 07:56:01 +07:00
Jasper Hugo b593ca6697 added support for configuring tracing via API, made connected() private 2021-08-17 11:55:17 +07:00
Jasper Hugo 2fd02c7e68 provide a ctx argument for the C API callbacks 2021-08-17 08:55:17 +07:00
Jasper Hugo 56463c6100 Added verbosity option, added participant_left event 2021-08-15 18:24:06 +07:00
Jasper Hugo 7190086673 added TURN support 2021-08-13 23:09:17 +07:00
Jasper Hugo fbaf22ba7e Initial 2021-08-13 18:48:59 +07:00