Commit graph

112 commits

Author SHA1 Message Date
Thulinma
0af992d405 Various fixes, among which:
- Fixed segfault when attempting to initialseek on disconnected streams
- Fix 100% CPU bug in controller's stats code
- WebRTC UDP bind socket improvements
- Several segfault fixes
- Increased packet reordering buffer size from 30 to 150 packets
- Tweaks to default output/buffer behaviour for incoming pushes
- Added message for load balancer checks
- Fixed HLS content type
- Stats fixes
- Exit reason fixes
- Fixed socket IP address detection
- Fixed non-string arguments for stream settings
- Added caching for getConnectedBinHost()
- Added WebRTC playback rate control
- Added/completed VP8/VP9 support to WebRTC/RTSP
- Added live seek option to WebRTC
- Fixed seek to exactly newest timestamp
- Fixed HLS input

# Conflicts:
#	lib/defines.h
#	src/input/input.cpp
2021-10-19 22:29:40 +02:00
Phencys
2b99f2f5ea New Meta commit 2021-10-19 22:29:40 +02:00
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02: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
3e607d864e Merge branch 'development' into LTS_development 2020-02-12 12:19:23 +01:00
Thulinma
9743f405a3 Sudden timestamp jump message 2020-02-12 12:19:12 +01:00
Erik Zandvliet
907be3b1f4 Playlist support 2020-01-23 13:43:51 +01:00
Thulinma
c60f96a1cb Merge branch 'development' into LTS_development 2019-10-03 15:26:18 +02:00
Thulinma
d9c3b636c8 Fixed live pull inputs in Windows/Cygwin 2019-10-03 15:26:08 +02:00
Thulinma
cc9e970ea3 More backports from Pro edition, among which HTTPS/TLS support 2019-07-13 14:23:59 +02: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
57e40fe921 Merge branch 'development' into LTS_development 2018-10-11 15:15:40 +02:00
Thulinma
2aa86ccf01 Fix memory leak in live inputs 2018-10-11 15:15:18 +02:00
Thulinma
6ddc4adadf Merge branch 'development' into LTS_development 2018-08-27 14:17:20 +02:00
Ramoe
33488da329 Added singular mode override for inputs 2018-08-27 14:13:25 +02:00
Thulinma
b4741abbc2 Merge branch 'development' into LTS_development 2018-08-23 15:31:39 +02:00
Thulinma
2f477a4ef9 Fixed audio key setting 2018-08-23 15:31:10 +02:00
Thulinma
18f9d2682f Added some helpful high-level debug messages to generic IO handlers, fixed missing track selection when streaming live input 2018-07-20 14:22:46 +02:00
Thulinma
fe7cee8666 Added some helpful high-level debug messages to generic IO handlers, fixed missing track selection when streaming live input 2018-07-18 21:22:28 +02:00
Thulinma
ee195f0089 Implemented basic version of DTSC::RetimedPacket 2018-07-04 11:50:53 +02:00
Thulinma
a984243d56 Implemented basic version of DTSC::RetimedPacket 2018-07-04 11:48:36 +02:00
Thulinma
ad29c297c2 Merge branch 'development' into LTS_development
# Conflicts:
#	lib/bitfields.h
#	src/input/input.cpp
#	src/output/output.cpp
2018-01-24 19:12:05 +01:00
Thulinma
363df9aacf Moved getMainSelectedTrack to InOutBase class 2018-01-24 18:59:29 +01:00
Thulinma
15801aa7b7 Track mapping and deletion fixes 2017-11-28 11:08:30 +01:00
Thulinma
2dd62e0dce Track mapping and deletion fixes 2017-11-28 10:54:52 +01:00
Thulinma
310e7bc5f9 Merge branch 'development' into LTS_development
# Conflicts:
#	src/output/output.cpp
2017-11-23 14:08:32 +01:00
Thulinma
c47162bf03 Changed page delete failure message into error message 2017-11-23 14:06:42 +01:00
Thulinma
8353939d8a Changed bufferLivePacket and related functions to have const DTSC::Packet references 2017-07-28 18:58:34 +02:00
Thulinma
dc8bae8dd3 Merge branch 'development' into LTS_development
# Conflicts:
#	src/output/output.h
2017-07-28 18:39:49 +02:00
Thulinma
3eb69ff2c7 Changed bufferLivePacket and related functions to have const DTSC::Packet references 2017-07-28 18:38:54 +02:00
Thulinma
ca65576510 Merge branch 'development' into LTS_development 2017-06-09 21:40:30 +02:00
Thulinma
bb5d0dda11 Removed bullshit timestamp checks, no longer relevant/needed. 2017-06-09 21:40:11 +02:00
Thulinma
14d15ce318 Fixed compile warnings 2017-05-16 14:25:20 +02:00
Thulinma
0c87ba1f7b Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input.cpp
2017-05-12 12:48:58 +02:00
Erik Zandvliet
c56b72dbca Added a couple of IO convenience functions 2017-05-12 12:44:14 +02:00
Thulinma
7629b00a4c Merge branch 'development' into LTS_development 2017-04-18 12:32:39 +02:00
Thulinma
5e2b29466b Fixes and improvements to generic push-input handling 2017-04-18 12:00:58 +02:00
Thulinma
746d982d28 bufferLivePacket improvements for generic Outputs 2017-03-16 17:15:50 +01:00
Thulinma
eef9303e61 bufferLivePacket improvements for generic Outputs 2017-03-16 17:12:54 +01:00
Thulinma
8756680d2e Merge branch 'development' into LTS_development
# Conflicts:
#	src/io.cpp
2017-01-31 15:42:14 +01:00
Thulinma
29f5d200cb Removed breaking Cygwin-specific code 2017-01-31 15:41:19 +01:00
Thulinma
7f6b919e4f Merge branch 'development' into LTS_development 2016-10-11 15:21:58 +02:00
Thulinma
748960bb44 Removed JSON dependency from FLV, sped up FLV input significantly, minor RTMP input speedup 2016-10-11 15:13:52 +02:00
Thulinma
915a10207b Merge branch 'development' into LTS_development 2016-10-11 15:04:11 +02:00
Thulinma
f22d95b974 Prevent memory leak when receiving media loops at a page boundary 2016-10-11 15:03:11 +02:00
Thulinma
2374e64552 Merge branch 'development' into LTS_development
# Conflicts:
#	src/output/output_rtmp.cpp
2016-09-02 18:08:17 +02:00
Thulinma
8710a8b988 Fixed RTMP offsets and VoD seeking 2016-09-02 18:07:38 +02:00
Thulinma
50e8c7638a Verbosity tweak 2016-09-02 14:48:19 +02:00
Thulinma
5c8ebdc5ec Merge branch 'development' into LTS_development
# Conflicts:
#	lib/h264.cpp
2016-09-02 14:45:25 +02:00