Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oops, error creating inbound SRTP session for component 1 in stream 1 #2024

Closed
gdiazlo opened this issue Mar 26, 2020 · 30 comments
Closed

Oops, error creating inbound SRTP session for component 1 in stream 1 #2024

gdiazlo opened this issue Mar 26, 2020 · 30 comments

Comments

@gdiazlo
Copy link

gdiazlo commented Mar 26, 2020

hello!
I have a setup with:

janus-gatewat 0.9.1
libnice 0.1.16
libsrtp 2.3.0

When running the videoroom demo in firefox 74 with janus default configuration modified to add let's encrypt certificates and more debug, the publishing of the video fails. The janus-gateway states:

[WARN] [2756815112186902]     Missing valid SRTP session (packet arrived too early?), skipping...
[2756815112186902] DTLS established, yay!
[2756815112186902] Computing sha-256 fingerprint of remote certificate...
[2756815112186902] Remote fingerprint (sha-256) of the client is E9:C7:0A:6F:11:40:26:2D:9D:1A:08:10:F5:BA:0E:38:F8:37:BF:B7:75:3A:D3:26:B0:CF:52:65:1C:D2:3D:E6
[2756815112186902]  Fingerprint is a match!
[2756815112186902] SRTP_AEAD_AES_128_GCM
[2756815112186902] Key/Salt/Master: 28/16/12
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] [2756815112186902] Oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:871] [2756815112186902]  -- 1 (srtp_err_status_fail)
[2756815112186902] DTLS alert triggered on stream 1 (component 1), closing...
[2756815112186902] Hanging up PeerConnection because of a DTLS alert
[2756815112186902] Telling the plugin about the hangup (JANUS VideoRoom plugin)
[janus.plugin.videoroom-0x2168490] No WebRTC media anymore; 0x7fae70002070 0x7fae700021e0
[2756815112186902] Notifying WebRTC hangup; 0x7fae70002070
[2756815112186902] Sending event to transport...; 0x7fae70002070
[2756815112186902] WebRTC resources freed; 0x7fae70002070 0x7fae70001a90

The demo works fine with chromium based browsers using the same computer and networks. Also the demo in https://janus.conf.meetecho.com/videoroomtest.html works fine, so there should be something on my set up.

I have checked the ports and IPs. There is no NAT in the server, and no other failures in the log, besides some warnings about the sockets server not being enabled)

I can't figure out why it has an error creating the SRTP session. This may be related to #1688 ? That issue the most similar I've been able to find.

Any hints?

Thanks alot!

@lminiero
Copy link
Member

No, your issue is different:

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] [2756815112186902] Oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:871] [2756815112186902]  -- 1 (srtp_err_status_fail)

It's a libsrtp error in srtp_create. First of all, try master, as lines in dtls.c don't match. Have you also checked if it works as expected with older versions of libsrtp, e.g., 2.2.0 instead of 2.3.0?

@gdiazlo
Copy link
Author

gdiazlo commented Mar 26, 2020

That solved the problem! great! I need to learn more about the different components and their mission, any recommendations to read?

I downgraded libsrtp to version 2.2.0.

Thanks a lot

@gdiazlo gdiazlo closed this as completed Mar 26, 2020
@lminiero
Copy link
Member

But that's not good news... it means that libsrtp 2.3.0 breaks something, apparently. I'll add it to the things to check.

@gdiazlo
Copy link
Author

gdiazlo commented Mar 26, 2020

Oh! sorry :-) Should I open a new issue or reopen this one? I might be able to do more tests these days if needed.

@lminiero
Copy link
Member

No need, I'll try and investigate myself, and reopen in case. If it turns out we need some more testing from who can replicate the issue, I'll make sure to ping you, thanks 🙂

@atoppi
Copy link
Member

atoppi commented Mar 26, 2020

FWIW I've been successfully using libsrtp 2.3.0 for the last months.
The only difference is that I do not use certificates.

@lminiero
Copy link
Member

In that case, @gdiazlo you may want to try with 2.3.0 again, but without using the LetsEncrypt certificates. For DTLS you don't need valid certificates at all, it's always self-signed in browsers as well, and if you don't provide any Janus will create one for you at startup.

@gdiazlo
Copy link
Author

gdiazlo commented Mar 26, 2020

Where should I put the certificates if I do not want to use a proxy? I just put them in all certificate blocks in the config files.

@lminiero
Copy link
Member

lminiero commented Mar 26, 2020

The transport configuration file: the certificates setting in janus.jcfg is, as explained in the commented section, only for DTLS.

@gdiazlo
Copy link
Author

gdiazlo commented Mar 26, 2020

I tested with the certificate block and lets encrypt certificates only in janus.transport.http.jcfg and janus.transport.websockets.jcfg. No certificates in janus.jcfg. Libsrtcp 2.3.0 and janus 0.9.1.

Still has the behaviour described in the issue.

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] [2099492507476063] Oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:871] [2099492507476063] -- 1 (srtp_err_status_fail)

@atoppi have you tested it with firefox? which version? It fails to me with firefox 74 :(

Thanks!

@jonassmedegaard
Copy link

I have the same issue on two instances of Janus, and can help test as needed.

@jonassmedegaard
Copy link

in case it is relevant: I run Debian testing on armhf hardware.

@jonassmedegaard
Copy link

compiling libsrtp2 with configure option --enable-nss made the problem go away for me.

@gdiazlo is your libsrtp2 linked with any of libssl or libnss, or without either of those?

Libsrtp2 can optionally be linked with either libssl (a.k.a. openssl) or libnss, and it seems from the symbols of compiled code that without those a few GCM functions are missing.

I notice if perhaps the build-time checks in janus for HAVE_SRTP_AESGCM should instead be runtime probing for libsrtp capabilities?

@lminiero
Copy link
Member

lminiero commented Apr 6, 2020

I notice if perhaps the build-time checks in janus for HAVE_SRTP_AESGCM should instead be runtime probing for libsrtp capabilities?

I removed those checks.

@jonassmedegaard
Copy link

@lminiero
Copy link
Member

lminiero commented Apr 6, 2020

HAVE_SRTP_AESGCM is always set to true right now.

@jonassmedegaard
Copy link

ah.

If janus cannot query at runtime which crypto ciphers are available, then I guess it would be helpful to at least document that janus needs libsrtp linked against libnss or libssl - because such linking is optional.

@lminiero
Copy link
Member

lminiero commented Apr 6, 2020

Had to get rid of that check because of #2019 which forced me to use pkg-config in #2033, and I can't check for methods using pkg-config. I asked for feedback on whether the check was needed, nobody answered, so I merged. We can't check at runtime, I think, because the method signature is always there, but the method is not always implemented.

@jonassmedegaard
Copy link

I don't mean to say that any specific change to janus code is wrong - I am not qualified to judge that.
What I do try to point out is that this issue is marked as closed, even though the described issue still persist: It happens when using janus linked with libsrtp2 which is not linked with either libssl or libnss.
It seems related to cisco/libsrtp#387 (but again, I am not qualified - just a guess).

I suggest to reopen this issue until janus can reliably probe for GCM support at runtime, and mention in README the requirement/recommendation of libsrtp with GCM capability.

@lminiero
Copy link
Member

lminiero commented Apr 7, 2020

I suggest to reopen this issue until janus can reliably probe for GCM support at runtime,

As I already said, you can't. Janus won't start because of undefined references, since the method is in the header, but is not implemented in some cases (I guess when libsrtp is not built against libssl or libnss). I had those checks in place exactly because I wanted to verify if they were in the library, but since I had to switch to pkg-config (and to my knowledge pkg-config doesn't have ways to check if a method is in the library, only if the library is there) I had to remove those checks. I asked for feedback and as usual nobody answered when I needed it, so here we are. I can add a note to the README, but won't investigate further, and will definitely not reopen this issue which is unrelated (again, if GCM isn't there it just won't start). If you guys have solutions, happy to review a pull request.

@gdiazlo
Copy link
Author

gdiazlo commented Apr 7, 2020

@jonassmedegaard it worked compiling in openssl or nss, or both. Thanks!

@jonassmedegaard
Copy link

I can add a note to the README,

Thanks. I think that would be helpful for your users.

but won't investigate further, and will definitely not reopen this issue which is unrelated (again, if GCM isn't there it just won't start).

I did not mean that you should solve this. What I meant was to keep this issue open until Cisco improves on that issue I referenced.

But this is all just suggestions for how I think your users are best helped (not imposing extra work on you) - if you disagree then do whatever you like, this is your project :-)

@gdiazlo thanks for confirming!

@lminiero
Copy link
Member

lminiero commented Apr 7, 2020

What I meant was to keep this issue open until Cisco improves on that issue I referenced.

Oh sorry, I missed the reference to the libsrtp issue. Makes sense now, thanks 👍
Looks like it's a very old issue, though, and that the milestone has changed a few times, so it's likely it won't be available any time soon. I'll make this clearer in the README for the time being.

@lminiero
Copy link
Member

lminiero commented Apr 9, 2020

Just added a --disable-aes-gcm configure flag in case --enable-openssl doesn't help for some reason. Added to FAQ too: https://janus.conf.meetecho.com/docs/FAQ#aesgcm

voicenter added a commit to voicenter/janus-gateway that referenced this issue Apr 24, 2020
* Updated link to project in resources (docs)

* Add exception var to catch stmt to fix rollup (meetecho#1848)

* Fixed typo

* fix nullptr dereference in streaming plugin (meetecho#1855)

* VP9 SVC fixes (meetecho#1849)

* Fixed SIP hangup not sending CANCEL, when inviting (fixes meetecho#1856)

* Use strtol more, and add checks when atoi is used (meetecho#1852)

* Fixed broken code in AudioBridge

* Fixed regression when setting up DataChannels

* Fix RTP fuzzing target according to recent VP9 changes.

* Fixed rare race condition in HTTP plugin that could cause leak (fixes meetecho#1665)

* add missing closing curly bracket (meetecho#1859)

* Don't scan libnice version if it wasn't retrieved (fixes meetecho#1858)

* Fixed wrong clock rate being used for RTP header updates when using G.722

* Feature/ignore unreachable ice server (meetecho#1854)

* Keep track of clock rates associated to payload types, for RTCP

* Don't send RTCP SR if outgoing media has been disabled via SDP update

* Bumped version in postprocessing tool as well

* Fixes to RTSP latching procedure (fixes meetecho#1536, replaces meetecho#1851) (meetecho#1866)

* New functionality to add custom Contact URI params to SIP REGISTER (meetecho#1874)

* Reduced verbosity of some lines in the SIP plugin

* Reduced default twcc_period value from 1s to 200ms

* SIP plugin: custom (non-standard) headers on incoming events (requests) (meetecho#1873)

* Bumped to version 0.8.0

* Gzip compression utility in the core (and sample event handler) (meetecho#1846)

* New category of plugins for modular logging (meetecho#1814)

* Fixed linking error for post-rocessing tools after recent changes

* Remove option to enable rtx (now always supported, when negotiated) (meetecho#1877)

* Updated documentation to include some info on the new logger modules

* Avoid gzip functions when fuzzing in OSS and add zlib dependency when fuzzing locally.

* Fixed exception to GPL code (see meetecho#713)

* Fixed wrong default folder for loggers

* Added link to new video on Simulcast and SVC to docs

* Add CHANGELOG.md file into the project (meetecho#1885)

* Fix RTSP SETUP when url includes query string parameters (fixes meetecho#1869) (meetecho#1875)

* Added changelog (and info on tagged versions) to documentation

* [Suggestion] Started the refactoring of the janus.js (meetecho#1830)

* Make sure libcurl is available before using CURL_AT_LEAST_VERSION (fixes meetecho#1887)

* Fixed small typos in demos

* Fixed obsolete value for TWCC period default in docs/hints

* Make sure the installed libcurl knows about CURL_AT_LEAST_VERSION

* Fixed variable shadowing

* Added fwrite checks in record.c (warnings only)

* Updated changelog (v0.8.0)

* Bumped to version 0.8.1

* Remove SIPre plugin from the repo (meetecho#1894)

* Binary data support in data channels (meetecho#1878)

* Fixed typo in SIP plugin

* Allow RTCP ports to be picked randomly using 0, in Streaming plugin

* Check if rtcp port is > 0 before creating a RTCP socket.

* Revert "Check if rtcp port is > 0 before creating a RTCP socket."

This reverts commit a0b7dbf.

* Check if rtcp port is > 0 before creating a RTCP socket, in Videoroom plugin.

* Add in mountpoint/forwarder create response the allocated RTCP ports.

* he 'referred_by' field currently holds the SIP URI value copied from the (meetecho#1896)

* Fixed warnings introduced in meetecho#1896

* Fixed leak in SIP plugin (fixes meetecho#1897)

* Fixed occasional memory leak in Streaming plugin (fixes meetecho#1900)

* Fix out of bounds array access for last_spatial_layer (meetecho#1906)

* startup: only close the logger directory if it was opened (meetecho#1903)

* Only close the event handlers directory if it was opened (see meetecho#1903)

* fixed typo (meetecho#1916)

* Move loggers cleanup to end of logger thread (fixes meetecho#1904)

* Fixed late initialization of janus.js constructor callbacks (fixes meetecho#1912)

* Added reference to Snap repo in resources (docs)

* Fixed warnings when building DTLS bio code

* Don't keep TextRoom plugin loaded if data channels were not compiled

* Updated year in demos and docs

* Use sendBeacon instead of sync XHR in onbeforeunload (fixes meetecho#1902) (meetecho#1918)

* Fixed occasional buffer overflow error when post-processing H.264 recordings

* Increase buffer when post-processing VP8/VP9 recordings too (see previous commit)

* Updated Changelog

* Bumped to version 0.8.2

* Fix a possible race condition when joining as a subscriber and destroying the session. (meetecho#1911)

* More verbose output on postprocessing output error

* Fixed reference to deprecated configuration file

* Added check on AudioBridge instance in setup_media (fixes meetecho#1923)

* Added missing check on SDP attribute value existence

* Add new configuration property to add protected folders not to save to (meetecho#1919)

* Fixed undefined reference when building postprocessor utilities

* Better parsing of RTSP messages (see meetecho#1922) (meetecho#1925)

* Fixed undefined reference when building fuzzers

* Add missing mutex unlocks in videoroom message handler.

* Add math library when fuzzing locally.

* Add audio skew compensation to janus-pp-rec. (meetecho#1870)

* Updated man file for janus-pp-rec

* Remove odd respond to automatically responded OPTIONS request (meetecho#1930)

* Fix g_async_queue usage (meetecho#1929)

* typo (meetecho#1934)

AudioBridge documentation typo in request mute|unmute

* Fixed broken links in docs (plugins list)

* Removed deprecated warning in screensharing demo

* Removed deprecated text from screensharing demo

* Fixed helpers not being able to send SUBSCRIBE requests in SIP plugin

* Small tweaks after static analysis

* Added Coverity badge

* Janus Travis CI integration (meetecho#1932)

* Updated Changelog (0.8.2)

* Bumped to version 0.9.0

* Refactoring of core-plugin callbacks and RTP extensions termination (meetecho#1884)

* Support for transport-wide CC on outgoing streams (meetecho#1889)

* Dynamically update NACK queue size depending on RTT (meetecho#1867)

* Fixed broken RTP fuzzer

* Fixed typo when adding audio attribute to SDP

* Fixed RTCP parsing issue found by OSS-fuzz

* Fix volume-related functions in janus.js (meetecho#1935)

* Fixed leak when parsing broken TWCC RTCP message (Credit to OSS-Fuzz)

* Add travis_retry to git clone commands.

* Fixed occasional segfault when parsing TWCC RTCP message (Credit to OSS-Fuzz)

* Add OSS-Fuzz badge.

* Fixed regression on video bitrates when using monodirectional PeerConnections

* Update janus_audiobridge.c (meetecho#1938)

The target of participant should also acknowledge the latest mute/unmute status which has been made by administrator.

* Travis libnice clang flags (meetecho#1941)

Do not check cast-alignment errors when compiling libnice with clang.

* Fixed occasional error messages on console when trying to add RTP extensions

* Update debugging section in Janus documentation.

* Optimized parsing of TWCC RTCP message (Credit to OSS-Fuzz)

* Renamed corpora file

* Avoid RTP header memory misalignment in rtx packets (meetecho#1943)

* We should allow to have ICE-TCP enabled without ICE Lite. Recent versions of libnice allow this combination and gather tcp passive candidates etc. in this setup. (meetecho#1946)

* conf: transports: document events option (meetecho#1952)

* Updated Changelog (0.9.0)

* Bumped to version 0.9.1

* Configurable global prefix for log lines (meetecho#1940)

* add missing callbacks.error check (meetecho#1959)

* janus_sip: add missing check for NULL (meetecho#1963)

Fixes meetecho#1962

* Remove Sofia reference from the title of the SIP demo

* rtp: drop dead code in rtp_header_update callers (meetecho#1964)

* Subtype for some event, and better docs for event handlers (fixes meetecho#1953) (meetecho#1957)

* Added link to new event handlers documentation to the doc main page

* Removed unused variables

* Added license badge to the README

* Small tweaks to demo intro text

* Detect H264 key frames with smaller SPS units (meetecho#1965)

Reduces the H264 keyframe length check from 16 to 6 bytes.
6 bytes seems to be the lower bound of any possibly valid SPS NAL unit,
based on Section 7.3 of the H264 specification.

For reference, we have been observing Chrome 80 producing SPS units
of 12 bytes or less.

* Support for strings as unique IDs in AudioBridge, VideoRoom, TextRoom (meetecho#1880)

* If glib is too old, generate uuid manually when needed (see meetecho#1880)

* Fixed errors creating VideoRoom when strings are used (see meetecho#1880)

* Remove duplicated codecs when answering SIP call (meetecho#1966)

* Fixed a couple of JSON attributes in VideoRoom when strings are used (see meetecho#1880)

* Make sure a publisher exists when asking for a VideoRoom subscriber renegotiation (fixes meetecho#1970)

* Added errno info when socket operations fail in Streaming plugin

* Fixed typos in TextRoom

* Support for strings as unique mountpoint IDs in Streaming plugin (meetecho#1969)

* fix meetecho#1967 (meetecho#1968)

Fixed error callback not being invoked when an HTTP error happens trying to attach to a plugin

* Added checks on nice_address_set_from_string (fixes meetecho#1973)

* Fixed broken method signature in Streaming plugin when not using libcurl

* Remove /root from the list of protected folders. Make comment text more clear.

* Valgrind fixes for sockaddr structs (meetecho#1976)

Avoid use of uninitialized members

* Hide libcurl from pkg-config when testing travis-ci with LIBCURL = NO.

* Fixed leak when creating Streaming mountpoint dynamically

* Reduced log level to info when logger and event handlers are not found (meetecho#1980)

* Always use base SSRC when recording VideoRoom simulcast participant

* Removed wrong comment

* Fixed broken DTMF in SIP demo

* Add UI to SIP demo to remove helpers, when created

* Fixed occasional missing referred-by info in SIP demo

* Reply to incoming REFER with 202 right away, not 100, in SIP plugin

* Added more checks on nice_address_set_from_string (fixes meetecho#1973) (meetecho#1981)

* Several enhancements to SIP demo

* Fixed abort at server shutdown after using SIP transfers

* Fixed typo in SIP demo code

* Updated Changelog (0.9.1)

* Bumped to version 0.9.2

* Make prebuffering in AudioBridge configurable (meetecho#1975)

* Add G.711 support to the AudioBridge plugin (meetecho#1979)

* Added maximum value for AudioBridge prebuffering property

* Converted HTTP transport plugin to single thread (meetecho#1173)

* Added -f to rm in html Makefile.am (fixes meetecho#1985)

* Small fixes for TypeScript declaration file (meetecho#1986)

Based on the current RTCConfiguration spec (https://w3c.github.io/webrtc-pc/#dom-rtcconfiguration), iceServers does not expect an array of strings.
Updating to type provided by TypeScript's lib.dom.d.ts

* ice: ensure that stream is non-NULL (meetecho#1987)

This fixes a crash on later stream checks (e.g., transport_wide_cc et al).

* Fixed typo in querylogger_parameters (copy/paste error) (meetecho#1989)

* Fixed double unlock when listing private rooms in AudioBridge (meetecho#1988)

* Make sure the session still has a reference when cleaning up HTTP requests

* Fixes to leaks and race conditions in VoiceMail plugin (meetecho#1993)

* Several fixes to session management in VideoCall plugin (meetecho#1994)

* update dtls ciphers (meetecho#1995)

* Implement ECDSA Certificate generation (meetecho#1997)

* Small tweaks to meetecho#1997 (renamed, moved and documented RSA property in janus.jcfg)

* Fix rare race condition when claiming sessions (meetecho#1990)

* Fix occasional deadlock in VideoRoom (2) (credits to @mivuDing, fixes meetecho#1982) (meetecho#1984)

* Added option to enforce validation on DTLS certificates (meetecho#1992)

Made DTLS ciphers configurable as well

* Fixed typo when renegotiating audio in janus.js (fixes meetecho#2002)

* Added option to ignore mDNS candidates (meetecho#1998)

* Fixed deadlock when using claim on HTTP transport (fixes meetecho#2000)

* Support for RTSP 'Content-Base' header in Streaming plugin (meetecho#1999)

* Added link to FOSDEM 2020 talk on RTP forwarders to the docs

* Fixed small leak in SIP plugin when holding calls

* Added called URI to 'incomingcall' and 'missed_call' events in SIP plugin

* Add repos for openSUSE and SUSE (meetecho#2009)

* Use user_id_str for kicked, leaving, and unpublished events, if enabled. (meetecho#2010)

Co-authored-by: Michael Shiel <[email protected]>

* http_transport: add NULL checks (meetecho#2012)

Refs meetecho#2005

* Update media direction in SIP plugin if remote address is 0.0.0.0 ('hold' fix) (meetecho#2013)

* Prepare RTCP Sender Reports by considering the last RTP timestamp sent. (meetecho#2007)

* Track pending nack cleanup tasks and cancel them when freeing a stream. (meetecho#2014)

* Fixed typo in janus.js error code (fixes meetecho#2018

* Reverted change on janus.js (see meetecho#2018)

* Resolve mDNS candidates asynchronously with GResolver (see meetecho#1998) (meetecho#2004)

* Reference count janus_request instances (meetecho#2020)

Added better management of refcount on HTTP session when using it too, and refcount support to hanus_http_msg as well

* Updates to mutex unlocking in textroom and videoroom plugins (meetecho#2026)

* Updated Changelog (0.9.2)

* Bumped to version 0.9.3

* Add Python aiortc-based functional testing. (meetecho#1971)

* test_aiortc: cleanup (meetecho#2027)

* Fixed missing refcount init for Admin API (fixes meetecho#2029)

* Bumping back to 0.9.2 to re-tag

* Updated changelog for 0.9.2

* Bumped to version 0.9.3 (again)

* janus_http: return earlier if request is NULL (meetecho#2031)

* Fixed janus-pp-rec build warnings when using ffmpeg >= 4.x

* Fixed VideoRoom destroy not working when using strings

* Fixed av_register_all deprecation check in post-processor

* plugins: drop tautology (meetecho#2041)

gateway is always set before initialized, so the latter is always true.

* Don't set ICE credentials when parsing remote credentials (meetecho#2046)

* Detect libsrtp(2) using pkg-config (fixes meetecho#2019) (meetecho#2033)

* Added support for static Opus files to Streaming plugin (meetecho#2040)

* Added support for generic metadata to Streaming mountpoints

* Fixed printout of metadata in Streaming demo

* Added notes on building libsrtp (see meetecho#2024)

* Add configurable DSCP ToS for PeerConnections (meetecho#2055)

* Always add remote candidates from the libnice loop (see meetecho#2045) (meetecho#2048)

* Fixed Streaming destroy not working when using strings

* Use refcount for Streaming plugin helper threads (meetecho#2039)

* Added option to disable building AES-GCM support (see meetecho#2024 and meetecho#2054)

* Fixed typo

* Fixed outdated info in VideoRoom docs

* Fixed syntax error in sample Streaming plugin configuration file

* Support for additional constraints on screenshare media (meetecho#2043)

* refactoring-clean up (const-var, semicolons, ===, etc.) (meetecho#2044)

* Reference subscriber when handling related messages (see meetecho#2045) (meetecho#2061)

* Added option to configure time needed to detect a missing simulcast substream (meetecho#2063)

* Reverted isTrickleEnabled check in janus.js (fixes meetecho#2064)

* Don't show warnings for rtx RTCP packets

* Made libnice warning clearer, and upped suggested version (fixes meetecho#2069)

* Add missing info to videoroom "list" response (meetecho#2068)

* Use custom GSource to handle HTTP request timeouts (see meetecho#2062 and meetecho#2066) (meetecho#2075)

* Define the libnice version string as extern in version.h (fixes gcc10 error)

* Fixed AudioBridge create API not working properly when using string IDs

* Fixed a few typos in AudioBridge errors

* Fix copy-paste error in Streaming plugin docs

* Fix libasan use after free in janus_videoroom_handler when events are enabled (meetecho#2091)

* Added project to resources in the docs

* Return mountpoint IP addresses, if a bind interface/IP was provided

* Swap RR/SR Report Blocks if the first block contains rtx data. (meetecho#2089)

* Add support for playback of audio files in AudioBridge (meetecho#2088)

* Updated Changelog (0.9.3)

* Bumped to version 0.9.4

* Fixed returned address when adding multicast Streaming mountpoints

* More checks when hanging up VideoRoom subscriber (see meetecho#2087) (meetecho#2093)

* Added new docker image to the resources in the docs

* Updated AudioBridge documentation with new playback feature

* Don't wait forever for candidates when half-trickling

* Add some missing static declarations to HTTP and WS transports.

Co-authored-by: Lorenzo Miniero <[email protected]>
Co-authored-by: Agustin Polo <[email protected]>
Co-authored-by: Yongje Lee <[email protected]>
Co-authored-by: Alessandro Toppi <[email protected]>
Co-authored-by: Sebastian Schmid <[email protected]>
Co-authored-by: Imer Husejnovic <[email protected]>
Co-authored-by: Oscar <[email protected]>
Co-authored-by: Irek <[email protected]>
Co-authored-by: Tristan Matthews <[email protected]>
Co-authored-by: Jon Rafkind <[email protected]>
Co-authored-by: kuekerino <[email protected]>
Co-authored-by: Yurii Cherniavskyi <[email protected]>
Co-authored-by: Meirza Arson <[email protected]>
Co-authored-by: Groupboard <[email protected]>
Co-authored-by: Cameron Lucas <[email protected]>
Co-authored-by: hxl-dy <[email protected]>
Co-authored-by: Alessandro Amirante <[email protected]>
Co-authored-by: mp16 <[email protected]>
Co-authored-by: Paul Zhang <[email protected]>
Co-authored-by: Philipp Hancke <[email protected]>
Co-authored-by: Sean DuBois <[email protected]>
Co-authored-by: Ancor Gonzalez Sosa <[email protected]>
Co-authored-by: Michael Shiel <[email protected]>
Co-authored-by: Michael Shiel <[email protected]>
Co-authored-by: agclark81 <[email protected]>
Co-authored-by: Alex Pavlov <[email protected]>
Co-authored-by: alexamirante <[email protected]>
Co-authored-by: Federico Lorenzi <[email protected]>
@biodranik
Copy link
Contributor

I confirm this issue with the stock version of libsrtp2 2.3.0 installed via brew install srtp on Mac OS X. Recompilation with --enable-openssl fixes the issue.

quickbacon pushed a commit to Photorithm/janus-gateway that referenced this issue Aug 24, 2020
quickbacon pushed a commit to Photorithm/janus-gateway that referenced this issue Aug 24, 2020
mspanc pushed a commit to software-mansion/docker-janus-gateway that referenced this issue Jan 28, 2021
@yoshidaatsushi15
Copy link

I've getting this error, Could you help me?
I've set up these versions.
janus 0.11.4
libsrtp 2.2.0

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:923] [1982740767440321] Oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:924] [1982740767440321] -- 1 (srtp_err_status_fail)

@toantk238
Copy link

I've getting this error, Could you help me?
I've set up these versions.
janus 0.11.4
libsrtp 2.2.0

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:923] [1982740767440321] Oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:924] [1982740767440321] -- 1 (srtp_err_status_fail)

I also got this.

@toantk238
Copy link

I realized that on my Ubuntu box, there is another libsrtp 2.3.0 installed. I uninstalled it then everything works again

@laoyin
Copy link

laoyin commented Jun 22, 2022

i also got this issue.

then i update the libsrtp with version 2.4.2, re-configure janus ,

everything is ok, now

@mschoenebeck
Copy link

Same problem here with libsrtp 2.3.0 on Ubuntu 20.04 LTS.. I installed the version 2.2.0 as mentioned in the README and that worked fine! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants