Namedirectory unit tests uses restinio directly which itself depends on llhttp.
So while restinio itself is header only, we need to declare the dependency
for appropriate linking of llhttp.
Change-Id: I113257613c660e5e73c52c14fb6691cd6c85f693
The function mediaTypeToString never checked for nullptr
return values, which could potentially lead to crashes.
This patch ensures it always returns a valid string for
all defined MediaType values.
Change-Id: I81ef8876e1f57265584fae02cdfaff2894ff9f8c
We were getting occasional segfaults in requestMessageConnection due to
the handler pointer being null. More precisely, this would happen
whenever requestMessageConnection got called after channelHandlers_ had
been cleared by shutdownConnections.
GitLab: #1095
GitLab: #1133
Change-Id: If7a8b9b9395647a890bb6b3c12954db91a22ed30
The warning log in publishFrame was being printed
unconditionally due to the absence of a return
statement after a successful frame publish.
Change-Id: I552276e37071cb24a7b16b4b8ae441ebd26379b6
This patch fixes a logic error in testCreateParticipantsSinks which was
introduced in commit 0757c2cf.
GitLab: #1132
Change-Id: I1c34857f5a309ee34dd976a9d91c3ef1ba938408
Add directives to use git_comit * const for final parameter when calling git_commit_create_buffer function using v.1.8.0, v1.8.1, and v1.8.3
Change-Id: Iffc023b0ae87f14aea15b360d00da76933a81cc4
Fixes the host-side logic behind how the medialist is populated
when an SDP offer is received in a swarm.
GitLab: #1079
Change-Id: I58a0764f05d32ffc05fa064eb0ce5768dda580c2
Hotplug events may trigger a race condition when accessing the streams
array. This commit protects the access to the streams array by locking
a mutex. Locks are only acquired when streams are added, removed, or
initialized.
Gitlab: #1130
Change-Id: Ide0f2bfba47bf597981b26cce8d37ca076c7173b
The return value of Pa_IsStreamStopped() was not checked correctly, and
the stream pointers were not reset to nullptr. This could theoretically
lead to a crash if we were to try to stop an non-null stream pointer.
Gitlab: #1130
Change-Id: If2cf3a05b76c8c2d9c7d1ba53606c80e86516b77
This commit places a null check for the connectionManager before getting
the ice options in the `newOutgoingCall` method, which fixes a crash
when calling without a connection.
Gitlab: #1129
Change-Id: Ia6872f6fb9830e72da1d87201e2a0890719a8db9
This should fix a crash in the audio device monitor. Presumably,
this was caused by the audio device monitor trying to convert a
PROPVARIANT that was not the correct type.
Gitlab: #2036
Change-Id: I2fcee78075d8f99b1379245e81453240de00332e
Add a setting to choose if the user want 2nd calls to be hanged up
while already in one auto-answered.
Change-Id: I2149c057827ee9bf678e97ba64c31c8952aaed0c