Commit graph

223 commits

Author SHA1 Message Date
Thulinma
d05ae8fa23 More debug output for handling timed out tracks, including possible workaround and/or fix. 2016-05-25 13:16:19 +02:00
Erik Zandvliet
ef884845e0 Working TS Input on current LTS 2016-05-25 13:15:23 +02:00
Thulinma
4b2a8d4b33 Fixed TRID sizes to always be 8kb. 2016-05-23 10:38:25 +02:00
Erik Zandvliet
5c4e0d8c54 More reasonable size for metadata 2016-05-19 17:32:47 +02:00
Thulinma
b77e7c8b7c Implemented STREAM_BUFFER RECOVER state. 2016-05-19 15:37:44 +02:00
Erik Zandvliet
72de5e5b90 Changed sleep to wait everywhere where it was needed 2016-05-18 17:06:23 +02:00
Erik Zandvliet
fe0172efa9 Renamed the underrun case for STREAM_BUFFER to DRY instead of EMPTY 2016-05-18 11:23:52 +02:00
Erik Zandvliet
a5a9facc22 DTSC Pull optimizes and quick-negotiate. 2016-05-13 17:27:25 +02:00
Thulinma
263dee7b25 Added push-related API calls to controller, made outputs able to wait for playable streams. 2016-05-11 13:55:23 +02:00
Thulinma
cc8ab01a44 Fixed MP4 byte-precise seeking + tweaks to debug message verbosity. 2016-05-11 13:45:50 +02:00
Thulinma
fa41e02047 Removed 5s timeout from streamAlive call. 2016-05-05 16:05:12 +02:00
Thulinma
6386060c10 Changed pull mode detection to be internal to each input, made DTSC input compliant with JSON output styling guidelines. 2016-05-05 16:05:12 +02:00
Erik Zandvliet
dda0ea669c Fully implemented DTSC pull support 2016-05-05 16:05:12 +02:00
Thulinma
668560ff05 Added skipDynamic optional argument to most binary representations of metadata/tracks, which skips sending dynamic parts of the metadata if true. 2016-05-05 16:05:12 +02:00
Thulinma
df16c815c2 Semaphore fixes. 2016-05-03 16:34:19 +02:00
Thulinma
0d17a511ef Fixed fatality in MistInBuffer. 2016-05-03 13:34:45 +02:00
Thulinma
f4b296164e Fixed all semaphore instances not being cleaned up properly. 2016-05-03 12:13:58 +02:00
Thulinma
ae9e270821 Various and and sundry fixes to random buffer stuff and things. 2016-05-03 00:53:10 +02:00
Thulinma
aa2dd8491c Fixed a segfault in the buffer on track deletion, added a WARN-level message when/if something similar occurs. 2016-05-01 15:56:10 +02:00
Thulinma
760ccaa00a Fixed resumeMode sometimes defaulting to true instead of false. 2016-04-29 13:24:05 +02:00
Thulinma
61b66e349e Added onCrash handler for inputs, buffer now does proper cleanup when crashing. 2016-04-22 09:30:32 +02:00
Thulinma
9896b5837e Pro side of encoding fixes. 2016-04-14 12:08:26 +02:00
Erik Zandvliet
4c2eeb96c8 Fix for handling negative h264 offsets in mp4 2016-04-12 15:07:35 +02:00
Erik Zandvliet
3b9911df71 MP4 header read optimise by Erik
This reverts commit b244618737.
2016-04-12 15:07:17 +02:00
Erik Zandvliet
90419e15eb Get width and height from sps when incorrect in mp4 file 2016-04-08 11:06:51 +02:00
Erik Zandvliet
b244618737 Revert "MP4 header read optimise by Erik"
This reverts commit b79fb8cd6b.
2016-04-08 10:03:19 +02:00
Balder
b79fb8cd6b MP4 header read optimise by Erik 2016-02-26 10:23:45 +01:00
Thulinma
bbf0417b36 Disable resume support for live buffers by default. 2016-02-19 11:32:41 +01:00
Thulinma
a6ef31d1ea Changed buffer full/empty behaviour to trigger at 3 segments instead of 50% of buffer size. 2016-02-19 11:32:41 +01:00
Thulinma
795db7d862 Made resume support disabled the new default. 2016-02-12 16:37:32 +01:00
Thulinma
62f3a9f4d2 Fixed high CPU usage of TS input during shutdown. 2016-02-12 16:30:34 +01:00
Erik Zandvliet
c25a533729 Recording, HLS Push, UDP (Multicast) Input, Threaded TS 2016-02-12 16:30:33 +01:00
ozzay
1c3e143709 Recording functionality by Diederick Huijbers, slightly tweaked. 2016-02-12 16:29:08 +01:00
Thulinma
53febd82d1 Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2016-02-12 16:18:54 +01:00
Thulinma
2d78e1e5f1 Improved MistInBuffer CPU usage by 50%. 2016-02-12 15:46:23 +01:00
Thulinma
8eb518606a Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2015-12-25 15:44:23 +01:00
Thulinma
401fe65979 - Made HLS no longer skip first fragment.
- Ignore metadata tracks and invalid tracks for buffer calculations.
- Fixed statistics.
2015-12-25 14:37:32 +01:00
Erik Zandvliet
e90c3193d6 Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
#	src/input/input_buffer.h
2015-12-17 19:25:16 +01:00
Erik Zandvliet
a604d616f7 'Ugly' fix for dissapearing metadata 2015-12-17 19:22:55 +01:00
Thulinma
ed5440e382 Added ability to disable resume support for live streams. 2015-11-27 14:51:15 +01:00
Thulinma
7168a3ffbd Added STREAM_BUFFER trigger. 2015-11-27 10:44:21 +01:00
Thulinma
9e1f0fcb7d Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2015-11-27 10:44:09 +01:00
Thulinma
4397b410d4 Fixed typo in buffer size calculation. 2015-11-27 09:53:23 +01:00
Thulinma
c51f1b4955 Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2015-11-16 16:16:44 +01:00
Thulinma
f268988354 Fixed buffer incorrectly nulling indexes for live streams. 2015-11-16 16:15:52 +01:00
Thulinma
35b2dd6bee Better working TS input, Pro side. Code by Erik Zandvliet. 2015-11-05 17:11:04 +01:00
Thulinma
01e9a45335 Clarified comment 2015-10-29 16:50:36 +01:00
Thulinma
67e1a832a2 Removed confusing comments. 2015-10-29 16:34:37 +01:00
ozzay
e0ab83e61c MP4 keyframe problem fixed 2015-10-29 16:26:09 +01:00
Thulinma
d504bbe720 Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2015-10-20 15:36:33 +02:00