This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/account.c b/src/account.c | |
index 009fcf1..e8f03a9 100644 | |
--- a/src/account.c | |
+++ b/src/account.c | |
@@ -92,12 +92,14 @@ static int stunsrv_decode(struct account *acc, const struct sip_addr *aor) | |
err = 0; | |
if (pl_isset(&uri.user)) | |
- err |= pl_strdup(&acc->stun_user, &uri.user); | |
+ err |= re_sdprintf(&acc->stun_user, "%H", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <re.h> | |
/* | |
Prefix Precedence Label | |
::1/128 50 0 | |
::/0 40 1 | |
::ffff:0:0/96 35 4 | |
2002::/16 30 2 | |
2001::/32 5 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# baresip configuration -- Echo server example | |
# | |
#------------------------------------------------------------------------------ | |
# Audio | |
audio_player aubridge,nil | |
audio_source aubridge,nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ v4l2-ctl -D --list-formats | |
Driver Info (not using libv4l2): | |
Driver name : uvcvideo | |
Card type : HD Pro Webcam C920 | |
Bus info : usb-0000:00:14.0-4 | |
Driver version: 4.9.30 | |
Capabilities : 0x84200001 | |
Video Capture | |
Streaming | |
Extended Pix Format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 49834b7afd0fe31660108271ef7657a34caa6a6d Mon Sep 17 00:00:00 2001 | |
From: "Alfred E. Heggestad" <[email protected]> | |
Date: Sat, 7 Oct 2017 15:49:44 +0200 | |
Subject: [PATCH] main: keep fd handlers in list | |
Experimental code in order to try to solve | |
sockets for Windows. On windows the "int fd" is actually | |
of type "SOCKET fd" and the range goes from 0 to very large. | |
ref #61 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.travis.yml b/.travis.yml | |
index 093f30f..1074af5 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -19,7 +19,7 @@ addons: | |
libssl-dev | |
install: | |
- - git clone https://github.com/creytiv/re.git | |
+ - git clone -b sr https://github.com/creytiv/re.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple test program for SRTP Double Encryption | |
* | |
* https://tools.ietf.org/html/draft-ietf-perc-double-08 | |
* | |
* | |
* To build and run the program, fetch libre from github | |
* and put this file as test.c | |
* | |
* git clone https://github.com/creytiv/re.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/baresip.h b/include/baresip.h | |
index f6d636e..2dd15f5 100644 | |
--- a/include/baresip.h | |
+++ b/include/baresip.h | |
@@ -620,6 +620,8 @@ enum ua_event { | |
UA_EVENT_CALL_DTMF_END, | |
UA_EVENT_CALL_RTCP, | |
UA_EVENT_CALL_MENC, | |
+ UA_EVENT_VU_TX, | |
+ UA_EVENT_VU_RX, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/sip/transp.c b/src/sip/transp.c | |
index dd3b7c4..bb9f6d6 100644 | |
--- a/src/sip/transp.c | |
+++ b/src/sip/transp.c | |
@@ -459,6 +459,14 @@ static void tcp_estab_handler(void *arg) | |
struct le *le; | |
int err; | |
+ { | |
+ struct sa laddr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ua.c b/src/ua.c | |
index ef24b9b..bef9479 100644 | |
--- a/src/ua.c | |
+++ b/src/ua.c | |
@@ -30,6 +30,8 @@ struct ua { | |
int af_media; /**< Preferred Address Family for media */ | |
enum presence_status my_status; /**< Presence Status */ | |
bool catchall; /**< Catch all inbound requests */ | |
+ struct list hdr_filter; /**< Filter for incoming headers */ | |
+ struct list *custom_hdrs; /**< List of outgoing headers */ |
OlderNewer