Statistics
| Branch: | Revision:

janus-gateway / janus.c @ f82a8605

History | View | Annotate | Download (159 KB)

# Date Author Comment
f82a8605 11/26/2015 10:52 AM Lorenzo Miniero

Configurable logging and daemonization

130f7d2a 11/25/2015 08:46 PM Pierce Lopez

janus_process_error(): use buf on stack, avoid leaking allocated error string buf

ccd7cada 11/25/2015 04:45 PM Lorenzo Miniero

Allow for console and/or logfile output (to hook to config/cmd line)
Fix undefined reference in post processing due to new log code
A few changes to align the code style to the code base

950786bd 11/22/2015 03:29 PM Jay Ridgeway

remove timed wait, reduce locking, tabs

85fc908f 11/21/2015 06:36 PM Jay Ridgeway

init buffered logging

acb9e603 11/18/2015 02:38 PM Lorenzo Miniero

Fixed typo when handling plugin-originated answer

7091a464 11/12/2015 11:10 AM Lorenzo Miniero

First code to allow Janus to run as a daemon (no logging yet)

b5865bdd 11/09/2015 12:40 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

af0ee6a8 11/09/2015 09:31 AM Lorenzo Miniero

Fixed access to invalid component when forcing rtcp-mux (issue #370)

b6c56a2c 11/05/2015 02:41 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

1e517933 11/03/2015 01:52 AM Lorenzo Miniero

Merge branch 'master' into spinning-threads

a5200d7e 11/03/2015 01:52 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

2164691f 11/03/2015 01:29 AM Pierce Lopez

do not let stun public ip override nat_1_1_mapping ip

a9c14041 10/27/2015 10:41 AM Lorenzo Miniero

Added an UDP server (random port) to act as blackhole for keepalives from unneeded RTCP components

21f4c14d 10/26/2015 03:30 PM Lorenzo Miniero

Changed IP for dummy candidate to 127.0.0.1

6f89faf2 10/26/2015 11:58 AM Lorenzo Miniero

Force dummy candidate for unneeded RTCP components when rtcp-mux has been negotiated

db6f2ac4 10/26/2015 10:16 AM Lorenzo Miniero

Merge branch 'master' into spinning-threads

2910fe19 10/26/2015 10:16 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

7cc5c0f3 10/23/2015 03:02 PM Lorenzo Miniero

Fixed parsing of fingerprints so that they can be different per each stream

0626f839 10/21/2015 05:02 PM Lorenzo Miniero

Verbosity change for trickle queueing message

626a0d83 10/21/2015 04:24 PM Lorenzo Miniero

Fixed occasional failure to start ICE when answering from a plugin

f33df678 10/20/2015 09:09 AM Lorenzo Miniero

Make sure trickle candidates are not passed to the stack until we have both offer and answer ready

25fd0973 10/06/2015 01:04 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

202d13d9 10/06/2015 01:03 PM Lorenzo Miniero

Decreased verbosity for some lines (info to verb), and added call to nice_agent_remove_stream when enforcing bundle/rtcp-mux (see #154)

db9b0a9f 10/01/2015 02:38 PM Lorenzo Miniero

Return whether API secret and token mechanism are enabled in the server info

b0e58111 10/01/2015 02:37 PM Lorenzo Miniero

Return whether API secret and token mechanism are enabled in the server info

e3a76acd 10/01/2015 01:51 PM Lorenzo Miniero

Added admin API methods to dynamically toggle log colors and timestamps

ef28b0f0 10/01/2015 01:48 PM Lorenzo Miniero

Added admin API methods to dynamically toggle log colors and timestamps

1356ff4c 09/30/2015 01:58 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

e4d105ed 09/30/2015 01:53 PM Lorenzo Miniero

Fixed token/plugin check when API secret is involved

54582a6a 09/30/2015 01:35 PM Lorenzo Miniero

Added possibility to limit scope of auth tokens to specific plugins

2d087d85 09/30/2015 09:10 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

98442bb0 09/30/2015 09:07 AM Lorenzo Miniero

Further check before pushing plugin session event

caa263ed 09/29/2015 11:07 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

222177d7 09/29/2015 11:06 AM Lorenzo Miniero

Add info on when the handle was created to the admin API

2d137045 09/28/2015 02:12 PM Lorenzo Miniero

If both API secret and token auth mechanism are enabled at the same time, either one that is provided and valid is fine

13cb58a5 09/28/2015 02:11 PM Lorenzo Miniero

If both API secret and token auth mechanism are enabled at the same time, either one that is provided and valid is fine

ef928f44 09/28/2015 10:28 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

1f067658 09/28/2015 10:19 AM Lorenzo Miniero

Converted memory allocations to GLib ones, and fixed a couple of leaks

6f1899c1 09/25/2015 10:36 AM Lorenzo Miniero

Switched inet_ntoa to inet_ntop (new resolving method in utils)

79e0d07b 09/24/2015 03:32 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

1d2b0c26 09/24/2015 02:47 PM Lorenzo Miniero

Merge pull request #341 from meetecho/ice-enforce-list

ICE 'enforce' list

15b0b735 09/24/2015 11:39 AM Lorenzo Miniero

Require a valid certificate key when staring Janus

4b131434 09/23/2015 02:32 PM Lorenzo Miniero

Restored the old public_ip setting as a new nat_1_1_mapping setting (-1 on the command line), to clarify what it is for and when it should be used

60b9504d 09/23/2015 02:04 PM Lorenzo Miniero

Merge branch 'master' into ice-enforce-list

045f9435 09/23/2015 11:12 AM Lorenzo Miniero

Use different handlers for ws and sws (issue #340)

c27a34be 09/22/2015 02:22 PM Lorenzo Miniero

Added new ICE 'enforce' list, to specify the only interfaces to use for gathering candidates

986770fc 09/21/2015 01:06 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

cdeda339 09/21/2015 01:05 PM Lorenzo Miniero

Fixed missing mutex unlock

645c3062 09/21/2015 01:05 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

70ae6bf1 09/21/2015 12:17 PM Saúl Ibarra Corretgé

build: fix compilation error

janus.c: In function ‘janus_process_incoming_request’:
janus.c:1732:5: error: format not a string literal and no format arguments [-Werror=format-security]
ret = janus_process_error(source, session_id, transaction_text, error, error_string);...

ad524ebe 09/21/2015 11:05 AM Lorenzo Miniero

Don't allocate fake attribute for sendrecv hack every time

cf9f8bb6 09/21/2015 11:03 AM Lorenzo Miniero

Merge pull request #330 from meetecho/pending-trickles

Asynchronous trickle request management

6e2e50f0 09/18/2015 10:10 AM Lorenzo Miniero

Fixed detection of private address at startup (issue #331)

c8421680 09/17/2015 09:25 AM Lorenzo Miniero

Asynchronous trickle request management

9b4acc91 09/15/2015 02:51 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

8b8d2ccd 09/15/2015 02:38 PM Lorenzo Miniero

Added some timing related details to the handle info in the admin API

23a2c6d7 09/15/2015 02:30 PM Lorenzo Miniero

Merge pull request #322 from meetecho/got-answer

Added flags to check whether offer and/or answer have been received

b05c86d7 09/14/2015 12:46 PM Lorenzo Miniero

Make core more conservative when checking plugin sessions

115f4136 09/14/2015 10:43 AM Lorenzo Miniero

Added a way for plugins to validate API secret and tokens through the core, when needed (e.g., HTTP long polls)

4610cf26 09/14/2015 10:16 AM Lorenzo Miniero

Merge branch 'master' into modular-transports

263ce349 09/11/2015 04:55 PM Lorenzo Miniero

Added new token based authentication mechanism for the Janus API

487ed6c3 09/11/2015 09:41 AM Lorenzo Miniero

Added flags to check whether offer and/or answer have been received

6a5697ec 09/08/2015 04:00 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

6089eb4e 09/07/2015 02:01 PM Lorenzo Miniero

Changed recordings header to contain more info (as of now, mostly codecs and created/first written times), using a JSON format so that it can be extended in the future (old recordings can still be read/played)
Added recording capability to EchoTest, VideoCall and SIP plugins...

0c7ddb32 09/02/2015 01:20 PM Lorenzo Miniero

Attempt to fix occasional issue with websockets and session timeouts (see issue #307)

247451d4 08/26/2015 02:18 PM Lorenzo Miniero

Merge branch 'master' into modular-transports

3c5413c3 08/26/2015 01:57 PM Lorenzo Miniero

Parse SSRC used for retransmissions by Chrome

64a3eff7 08/25/2015 11:16 AM Lorenzo Miniero

Added option to disable colors in logging (issue #304)

effacbe8 08/25/2015 09:16 AM Lorenzo Miniero

Fixed wrong verbosity level added in previous commit

ba4ab273 08/25/2015 09:14 AM Lorenzo Miniero

Fix in management of HTTP URL splitting (issue #309)

85b29244 08/03/2015 04:21 PM meetecho

Merge branch 'master' into modular-transports

284646a9 08/03/2015 04:20 PM meetecho

Added options to force BUNDLE and/or rtcp-mux (forcing both will always only allocate a single port for media, instead of 2/4)

123012b7 07/15/2015 03:57 PM meetecho

Merged with latest master commits

f7bdfe3e 07/15/2015 03:43 PM meetecho

Changed names of external logging variables to avoid conflicts with libwebsockets

800243dd 07/15/2015 02:34 PM meetecho

Additional checks to avoid using old plugin sessions

c248143d 07/14/2015 01:18 PM meetecho

Changed external int for debugging to avoid clashes with libwebsockets

47f190f0 07/14/2015 01:04 PM meetecho

Debugging visibility nits

2e24b614 07/14/2015 11:45 AM meetecho

Added Admin API support to RabbitMQ transport (separate queues)

196fd302 07/14/2015 08:48 AM meetecho

Implemented 'transport gone' core callback

20cbbc67 07/13/2015 02:45 PM meetecho

First version of Janus with modular/pluggable transports

97c665f6 07/10/2015 02:54 PM meetecho

Fixed a potential problem with incoming RTP streams, and removed a useless parameter in janus_process_success that did nothing (probably a leftover)

a8a3c33f 07/08/2015 03:30 PM meetecho

Simple helper request to verify if Janus can write on the RabbitMQ

ff257ca1 07/07/2015 08:55 AM meetecho

A few changes and typo fixes; improvements in janus.js

31ac9d14 06/17/2015 01:44 PM meetecho

Remove session from the RabbitMQ manager if it timed out or was destroyed

182f2863 06/16/2015 12:06 PM Saúl Ibarra Corretgé

janus: reject incoming WS connections if sub-protocol is not set

11a33f5c 06/11/2015 10:09 AM meetecho

Fixed detection of incoming RTCP packets (audio vs video) when remote SSRC is unknown (issue #258)

9fad3f14 06/08/2015 09:42 AM meetecho

Added checks to avoid negative integers in API requests (issue #241)

cb50c46d 06/08/2015 08:49 AM meetecho

Made starting MTU value for the BIO filter configurable

df466eae 05/26/2015 02:40 PM meetecho

Fixed typo that caused the wrong pointer to be checked (WS/RMQ), see issue #245

3b450141 05/16/2015 10:32 AM meetecho

Disabled MHD_quiesce_daemon as per discussion in #235

d97e5aa6 05/15/2015 05:00 AM Pierce Lopez

avoid starting more requests while janus is stopping

use usleep() instead of g_usleep() so the stop signal cancels the sleep
(g_usleep() calls nanosleep() in a loop)

use MHD_quiesce_daemon() to stop accepting new requests immediately,
then wait a bit for current requests to finish

28190b57 05/12/2015 09:24 PM Pierce Lopez

remove check for g_strdup() failing to allocate memory

like most glib2 functions, it will abort the process in that case

392120f8 05/12/2015 09:23 PM Pierce Lopez

only log once when Still cleaning up from previous media session

instead of every 100ms

60deecc1 05/07/2015 08:13 AM Lorenzo Miniero

Merge pull request #226 from ploxiln/feature_logging_consolidation

combine multiple feature-state logs into one, quiet redundant ones

a415c909 05/07/2015 08:11 AM Lorenzo Miniero

Merge pull request #225 from ploxiln/waiting_log_once

log only when starting to wait for webrtc state to change

0351c551 05/06/2015 08:26 PM Pierce Lopez

combine multiple feature-state logs into one, quiet redundant feature-state logs

where features are: * audio/video/data streams * bundle/rtcp-mux/trickle

cff0ee66 05/06/2015 08:19 PM Pierce Lopez

log only when starting to wait for webrtc state to change

instead of every 100ms

5b6df569 05/06/2015 08:02 PM Pierce Lopez

quiet cleaning up session / destroying session log messages

cleanup always calls destroy, so make cleanup DBG, and destroy VERB

978d1bcf 05/06/2015 03:45 PM Lorenzo Miniero

Merge pull request #219 from ploxiln/http_logging

quiet logging around webserver requests