Commit graph

606 commits

Author SHA1 Message Date
Thulinma
fff62656ba Added autostarting for processes through buffer 2021-10-19 22:29:39 +02:00
Thulinma
637c57be5e FFMPEG process fixes/improvements 2021-10-19 22:29:39 +02:00
Thulinma
dbafdf6744 Correct handling of reaper thread in forking binaries 2021-03-19 22:47:06 +01:00
Thulinma
5f8518fe23 Fix playlist support not resuming on the correct page number and/or with the correct timestamp 2021-02-19 22:45:51 +01:00
Marco
c9cd529927 Fixes for playlist support
Track matching fixes:
  Input MP4 is not getting dimensions properly, causing resume to not find a collision
    Fixed by overwriting dimensions when media frames are read
  Detecting collisions using track identifier can cause issues (ie audio_AAC_2ch_44100hz_eng VS audio_AAC_2ch_44100hz)
    Fixed by matching using init data, then check by identifier if there is more than 1 match

Fixed buffering code for playlist streams, ensuring correct page creation:
  In resume mode new pages do not get created, but existing one(s) fill up
    Keyframes were not being recognized due to them being deleted during track switching
      Fixed by changing negotiationProxy::bufferNext:
        Removed seemingly unnecessary function which cleared keyframes
      Lastly, the offset of a resumed track seems wrong
        Added to NegotiationProxy::continueNegotiate
          pagesByTrack[tid][firstPage].curOffset = 0;
        Added to negotiationProxy::bufferSinglePacket:
          if (!pagesByTrack[tid][currentPageNum].curOffset) {
            pagesByTrack[tid][currentPageNum].firstTime = packet.getTime();
          }

Fixed numbering for keys from the buffer when accepting tracks (was amount of buffered keys, not last key number)
2021-02-19 22:43:26 +01:00
Thulinma
f38ec0322e Improvements/tests for SEM_LIVE locking for iRankLocally 2020-09-30 17:31:13 +02:00
Thulinma
d522c1d90f Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2020-09-30 17:29:49 +02:00
Thulinma
bafe30e234 Improvements/tests for SEM_LIVE locking 2020-09-30 17:24:57 +02:00
Thulinma
431fecb67b RTSP input fixes 2020-09-24 20:11:44 +02:00
Thulinma
19f1df18aa HLS input converted to URIReader, temporarily disabled clearkey encryptionHLS input fixes:
- Re-enabled file-based input
- Added support for clearkey-encrypted file-based input
- Converted to HTTP::URIReader for all input types
- Both live and VoD functional
 support
2020-09-14 10:57:00 +02:00
Thulinma
eb8694052d Merge branch 'development' into LTS_development
# Conflicts:
#	lib/http_parser.cpp
2020-03-03 17:04:10 +01:00
Thulinma
08e5ceca2b Improvements and backports for HLS input 2020-02-12 12:19:34 +01:00
Thulinma
e9832ac723 Added stats entry for RTSP pull input 2020-02-03 16:34:05 +01:00
Thulinma
d58e860a2c HLS: support for handling and syncing on ISO8601 timestamps in input 2020-01-23 13:55:08 +01:00
Thulinma
384afb6508 RTSP allow lowercase Content-[Tt]ype, fixed Soliton Systems RTSP server implementation 2020-01-23 13:44:20 +01:00
Thulinma
ead45b4fb8 Fixes to playlist support 2020-01-23 13:43:55 +01:00
Erik Zandvliet
907be3b1f4 Playlist support 2020-01-23 13:43:51 +01:00
Thulinma
7beea43d31 Added basic stream fallback feature, allowing to redirect to a different stream name on stream source load errors 2020-01-23 13:43:31 +01:00
Ramkoemar
9d1b3cfe98 Support for clearkey encrypted HLS input and multithreaded HLS input playlist updating 2019-11-27 10:26:55 +01:00
Thulinma
c64160f4d8 Merge branch 'development' into LTS_development 2019-11-27 10:26:41 +01:00
Thulinma
45b245ad4e Improved input shutdown reason detection 2019-11-27 10:25:50 +01:00
Thulinma
2a91a7366b Updated default segment size to 1900 2019-09-09 16:02:24 +02:00
Thulinma
22ddae4670 Added always-on option to DTSC pull input 2019-08-10 12:30:51 +02:00
Thulinma
eac05f7ba3 SRT "native" support, NOFORK env variable support for inputs 2019-08-06 14:42:47 +02:00
Thulinma
22a76f4ddb Merge branch 'development' into LTS_development
# Conflicts:
#	CMakeLists.txt
#	lib/dtscmeta.cpp
#	lib/procs.cpp
#	lib/ts_packet.cpp
#	src/controller/controller_connectors.cpp
#	src/input/input_buffer.cpp
#	src/output/output_https.cpp
2019-07-13 14:34:14 +02:00
Thulinma
cc9e970ea3 More backports from Pro edition, among which HTTPS/TLS support 2019-07-13 14:23:59 +02:00
Thulinma
2432bbdfc3 Backported MP4 input from Pro edition 2019-07-02 14:17:01 +02:00
Thulinma
5b4e1dce9a Added https-ts://* input to MistInTS, fixed existing http-ts://* input. 2019-06-30 22:37:36 +02:00
Thulinma
377d923cab Fixed HLS input support for streams without a keyframe in the first segment 2019-06-30 22:36:56 +02:00
Thulinma
66890c4564 Robustified Socket::Connection, added debugging data for copies/assigns and Socket::Connetion::open() calls for proper socket re-use. 2019-06-30 22:36:29 +02:00
Thulinma
26c9f964be Merge branch 'development' into LTS_development 2019-05-23 12:42:19 +02:00
Thulinma
d0868d0f42 Added "version" element to JSON outputs of binaries, added version check in controller (ignores mismatched binaries now) 2019-05-23 12:36:45 +02:00
Thulinma
36d0981f87 Merge branch 'development' into LTS_development 2019-05-16 13:49:02 +02:00
Thulinma
488cd0434a Windows fix for stream status 2019-05-16 13:48:57 +02:00
Thulinma
92d59befa6 EBML input/output improvements and fixes 2019-05-03 16:04:51 +02:00
Thulinma
770a2f9e22 EBML input/output improvements and fixes 2019-05-03 16:03:13 +02:00
Thulinma
3bb3a09630 Merge branch 'development' into LTS_development
# Conflicts:
#	lib/langcodes.cpp
#	src/output/output.cpp
#	src/output/output.h
#	src/output/output_http.cpp
2019-05-02 15:34:01 +02:00
Thulinma
61bb14a368 EBML input fixup 2019-05-02 15:31:21 +02:00
Thulinma
69d2ca21d3 Merge branch 'development' into LTS_development 2019-04-29 11:05:43 +02:00
Thulinma
58919a9346 Improve MKV input latency significantly 2019-04-29 11:03:56 +02:00
Thulinma
6c01a591d3 EBML input tweaks 2019-04-29 10:10:17 +02:00
Thulinma
c6172a96ff HLS input speedup, TS Stream speedup 2019-02-28 13:16:02 +01:00
Thulinma
01d43796ad 32-bit fixes 2019-01-26 00:51:30 +01:00
Thulinma
9e1539a2b9 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_statistics.cpp
#	src/input/input_buffer.cpp
#	src/input/input_dtsc.cpp
#	src/input/input_ebml.cpp
#	src/input/input_flv.cpp
#	src/input/input_mp3.cpp
#	src/output/output_httpts.cpp
#	src/output/output_progressive_mp3.cpp
#	src/output/output_progressive_mp4.cpp
2019-01-25 23:57:42 +01:00
Thulinma
7565704fdc Fixed 32-bit compile issues 2019-01-25 23:49:56 +01:00
Thulinma
a7a09d22bd Fixed ts_stream class, improved HLS input, added https support to HLS analyser 2019-01-24 14:41:28 +01:00
Thulinma
786ff05767 RTSP authentication support improvements 2019-01-16 14:26:48 +01:00
Thulinma
05d0c1cfe2 Updated capa with better protocol descriptions (Pro outputs) 2018-12-13 13:32:54 +01:00
Erik Zandvliet
10fa4b7e7b libmist backport from new metadata branch with improved typing and styling 2018-12-06 11:07:07 +01:00
Erik Zandvliet
2607113727 Library code style update + some minor backports from Pro edition 2018-12-04 13:11:48 +01:00