1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

27 Commits

Author SHA1 Message Date
Moritz Grimm
ed9e84f387 Change config format to (eventually) support concurrent streams to many servers
Everything ties together in stream configurations, of which there can be many
now.

For the time being, every stream configuration but the "default" is ignored.

Every stream/server/encoder/decoder configuration now has the name "default"
by default, so that configuring names is only needed to resolve ambiguities.

Decoder configurations are now also constrained in this manner for consistency,
meaning they are no longer uniquely identified by a number of file extensions
but also a name.
2017-11-18 01:54:14 +01:00
Moritz Grimm
cc5a3ab5d3 Safely squelch a bunch of warnings 2017-10-04 15:23:21 +02:00
Moritz Grimm
3a471dc164 Assert errstr2 to be not NULL before dereferencing it 2017-09-20 11:20:39 +02:00
Moritz Grimm
7729fa9773 Make configuration handling around streaming from stdin more robust 2017-09-15 19:23:16 +02:00
Moritz Grimm
43e26549f9 Add support for writing PID files 2017-07-10 11:39:00 +02:00
Moritz Grimm
cec131e83a Fix misleading function name 2016-10-14 16:23:32 +02:00
Moritz Grimm
a337c74ea4 Update TLS configuration to match libshout requirements 2016-03-04 18:20:17 +01:00
Moritz Grimm
77fe651bff Move config plausibility check to CFG and test it 2015-06-11 23:50:31 +02:00
Moritz Grimm
744511ffe2 Expose "configuration stashing" API 2015-06-09 23:02:45 +02:00
Moritz Grimm
b0eda7b48c Add cfg_get_stream_format_str() 2015-06-02 23:45:10 +02:00
Moritz Grimm
9c56f4a8db Add another code branch to the metadata/format_str test case 2015-05-22 08:09:43 +02:00
Moritz Grimm
65200182f9 Split out tests for cfg_xmlfile.c and use it to check the examples 2015-05-22 00:40:21 +02:00
Moritz Grimm
c304dfe48a Support passthrough "encoders" again 2015-05-22 00:20:54 +02:00
Moritz Grimm
b8ea620f7a Default to port 8000 2015-05-22 00:19:57 +02:00
Moritz Grimm
34bdab6a36 Fix cfg_get_metadata_program() and add tests when NULL is expected from getters 2015-05-21 23:25:05 +02:00
Moritz Grimm
dd2f32665a Add remaining tests that make cfg tests "good enough" 2015-05-21 01:28:07 +02:00
Moritz Grimm
6c6e758626 Fix variable name inside test macro 2015-05-21 01:27:28 +02:00
Moritz Grimm
5350b3be79 Fix signedness in comparison 2015-05-21 01:25:07 +02:00
Moritz Grimm
865dbfe682 Test error branch w/o triggering a Valgrind error 2015-05-20 00:34:26 +02:00
Moritz Grimm
4c3a4a38bb Reorganize tests; add proper fixtures 2015-05-20 00:14:50 +02:00
Moritz Grimm
810fbdb897 Add a few more tests 2015-05-18 23:57:36 +02:00
Moritz Grimm
876660fc17 Test and fix cfg_*_get() 2015-05-16 00:39:36 +02:00
Moritz Grimm
e529726e50 Fix "make distcheck" 2015-05-15 22:30:48 +02:00
Moritz Grimm
13be6d2680 Add remaining tests of cfg.c 2015-05-15 00:47:47 +02:00
Moritz Grimm
7789015afe Add tests for all but cfg_reload() and cfg_exit() 2015-05-11 23:46:39 +02:00
Moritz Grimm
ff0640053e Add a few tests 2015-05-11 00:47:39 +02:00
Moritz Grimm
f6ec4e1aeb Add check unit testing framework w/ 2 dummy tests 2015-05-06 23:45:52 +02:00