Commit graph

4551 commits

Author SHA1 Message Date
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
01b65ed301 Merge branch 'development' into LTS_development 2020-11-30 15:37:35 +01:00
Cat
4b56936845 Embed: added jitter buffer latency to dev skin output for webrtc player 2020-11-30 14:29:00 +01:00
Cat
fc0ad25778 Embed: improvements to player behaviour when stream input is killed 2020-11-30 14:29:00 +01:00
Thulinma
a11a6f1b4a Added mono/stereo/surround/Xch track selectors for audio tracks 2020-10-16 14:48:08 +02:00
Thulinma
28060d2113 AAC RTMP/FLV input now ignore metadata and instead parse init data for channel count and sampling rate 2020-10-16 14:45:45 +02:00
Thulinma
19840f32d4 Do not cause a floating point exception during stream shutdown in TS-based outputs with AAC audio 2020-10-16 14:39:11 +02:00
Thulinma
84113218b8 Merge branch 'development' into LTS_development 2020-10-08 12:53:03 +02:00
Thulinma
8a67c43154 Removed forgotten debug message 2020-10-08 12:51:14 +02: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
8ba7baea98 Merge branch 'development' into LTS_development 2020-09-24 20:01:51 +02:00
Thulinma
3aeebd1a4a Fixed HTTP::Parser support for chunked transfer and HTTP/1.0 unknown body size 2020-09-24 20:01:44 +02:00
Thulinma
0ae6189ca2 Merge branch 'development' into LTS_development 2020-09-24 19:52:43 +02:00
Thulinma
f472da06f3 Fixed headerOnly flag in HTTP::Parser 2020-09-24 19:52:37 +02:00
Thulinma
670f27a34e Merge branch 'development' into LTS_development 2020-09-24 19:49:55 +02:00
Thulinma
158058c4d5 Fixed RTSP support in HTTP::Parser 2020-09-24 19:49:46 +02:00
Thulinma
ff33a8a81b UDP socket rebinding fix + clarified debug message when switching address family 2020-09-24 19:49:46 +02:00
Thulinma
39c0f72f29 UDP socket rebinding fix + clarified debug message when switching address family 2020-09-24 19:49:26 +02:00
Thulinma
52a10eaea7 Decreased trigger verbosity, fixed RTMP_PUSH_REWRITE and PUSH_OUT_START triggers not properly ignoring response when ran in non-blocking mode. 2020-09-24 16:06:56 +02:00
Thulinma
c2ecab2e6b Fix mac compile 2020-09-22 14:36:09 +02:00
Thulinma
8efa696ed6 Merge branch 'development' into LTS_development 2020-09-21 21:45:59 +02:00
Cat
7cb3068b96 LSP: fix for HTTP(S).pubaddr detection 2020-09-21 21:42:59 +02:00
Cat
fcc61a4b21 LSP: make input type int return numbers instead of strings for .getval() 2020-09-21 21:42:15 +02:00
Cat
000d7afc73 LSP: fix for preview/embed tab when no HTTPS is configured 2020-09-21 21:40:48 +02:00
Thulinma
6ee887e02b Merge branch 'development' into LTS_development 2020-09-21 21:39:30 +02:00
Cat
7866ce090b LSP: preview tab: more information about failing to load player.js 2020-09-21 13:34:00 +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
61b0a90598 Merge branch 'development' into LTS_development 2020-09-14 10:56:54 +02:00
Thulinma
260dce0953 Backported some Util::ResizeablePointer improvements from 3.0 2020-09-14 10:56:40 +02:00
Thulinma
679ff219db HTTP::URIReader fixes/improvements 2020-09-14 10:56:31 +02:00
Thulinma
c5d0a9a8ad Added constant accessors to HTTP::Downloader 2020-09-14 10:56:26 +02:00
Thulinma
66dff82144 Fixed invalid read bug in socket library, added some static accessors 2020-09-14 10:56:21 +02:00
Thulinma
e6a9e5d421 Merge branch 'development' into LTS_development 2020-08-31 15:28:30 +02:00
Thulinma
ef1ee853b9 Fix shutdown API call 2020-08-31 15:27:59 +02:00
Thulinma
8bb72a30ea Merge branch 'development' into LTS_development 2020-08-11 19:27:15 +02:00
Cat
3fbc50c2ba Embed: gvd. 2020-08-11 19:26:41 +02:00
Cat
84d2cd635e Embed: stop error message countdowns when their buttons are removed 2020-08-11 19:26:41 +02:00
Cat
6a88fec5cb Embed: videojs controls that are invisible should be invisible even when videojs.css isn't loaded (because the stock controls arent used) 2020-08-11 19:26:41 +02:00
Cat
48bd428565 Embed: reminimize player 2020-08-11 19:26:41 +02:00
Cat
bf5a327468 Embed: tweak for non-touch: hide settings menu when gear icon is tapped (for mobile) 2020-08-11 19:26:41 +02:00
Cat
e0e272b2e9 Embed: center video in container (only relevant when fillSpace is used) 2020-08-11 19:26:41 +02:00
Cat
20bf01d911 Embed: hide settings menu when gear icon is tapped (for mobile) 2020-08-11 19:26:41 +02:00
Cat
4d94bf78a8 Embed: android chrome workaround for webrtc with h264 2020-08-11 19:26:41 +02:00
Cat
abba35f655 Embed: add playsinline tag for iphones to webrtc and html5 players 2020-08-11 19:26:41 +02:00
Thulinma
eb15ad41a9 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_api.cpp
2020-08-10 14:49:59 +02:00