Commit graph

5061 commits

Author SHA1 Message Date
Thulinma
7124f6070b RTMP header sends now use the current media timestamp instead of a hardcoded 0. 2021-10-19 22:29:41 +02:00
Thulinma
0d956dca26 Improvements to MistUtilRAX 2021-10-19 22:29:41 +02:00
Thulinma
75642d6d73 Added dash to permissible characters in stream name 2021-10-19 22:29:41 +02:00
Thulinma
6b9e9d0c3b Made SSL sockets more silent 2021-10-19 22:29:41 +02:00
Thulinma
57ecca2db8 FLV library: improved video init data handling 2021-10-19 22:29:41 +02:00
Thulinma
9417fa8dc2 MP4/WS protocol support.
Approx. 10% of code originally written by Roxlu, but keeping it split up during cleanup before merge proved practically impossible, so it's all merged into a single commit.
2021-10-19 22:29:41 +02:00
Thulinma
6276d03522 Fixed track switching mid-stream, improved clarity of related debug messages 2021-10-19 22:29:41 +02:00
Thulinma
e7d802836a Fixed protocol display for websocket-based outputs in JSON streaminfo 2021-10-19 22:29:41 +02:00
Thulinma
3f6e1c8768 Added "unixoffset" field to stream info JSON, containing the offset between unix time (in milliseconds) and stream timestamps. 2021-10-19 22:29:41 +02:00
Thulinma
586c4ab47b Fixed firstms field in live streams that don't start from 0 2021-10-19 22:29:41 +02:00
Thulinma
764ad599e8 Tweaked debug message verbosity 2021-10-19 22:29:41 +02:00
Thulinma
ea8b3ecb78 CMAF push stats fix 2021-10-19 22:29:41 +02:00
Thulinma
5a40225046 CMAF debug session 2021-02-04 2021-10-19 22:29:41 +02:00
Thulinma
4a3204cb1e SDP fix? 2021-10-19 22:29:41 +02:00
Thulinma
4080d141f8 Fix bug in Output::seek() when seeking to a timestamp that is between the last part of a key and the first part of the next key 2021-10-19 22:29:41 +02:00
Thulinma
dd5ae98002 Fix -1 since last update error in Buffer 2021-10-19 22:29:41 +02:00
Thulinma
6f035f3bc6 A few extra status for process status 2021-10-19 22:29:41 +02:00
Thulinma
465f50e6a2 Fixed MEDIA-SEQUENCE in HLS 2021-10-19 22:29:41 +02:00
Thulinma
842861c981 Fixed EBML output 2021-10-19 22:29:41 +02:00
Thulinma
926c5108b4 Fixed nextKeyTime() function 2021-10-19 22:29:41 +02:00
Thulinma
98e4ca6997 Fixed sanitycheck output 2021-10-19 22:29:41 +02:00
Thulinma
63acbb1ddb Fixes for DTSC metadata handling 2021-10-19 22:29:41 +02:00
Thulinma
f862263354 Speed up MistInBuffer shutdown time 2021-10-19 22:29:41 +02:00
Thulinma
97b28bebda Packet loss stats:
- Fixed bug in packet lost stats, added packet loss and packet retransmission percentages in "totals" API
- Fixed totals and clients calls
- Push stats now includes packet loss/retransmission info
2021-10-19 22:29:41 +02:00
Thulinma
7edccd1d05 Document TSSRT push output options 2021-10-19 22:29:41 +02:00
Thulinma
49aa497a66 Added no_unconfigured_streams API call, which nukes streams that are not supposed to be running. 2021-10-19 22:29:41 +02:00
Thulinma
570ed76bd2 Added "config_backup" and "config_restore" API calls, moved "save" API call to always be last executed (guaranteeing same-call edits are part of the saved version) 2021-10-19 22:29:41 +02:00
Thulinma
9f2fe22074 Fixed buffer disconnecting pushed inputs if they shared a PID with a viewer that disconnected 2021-10-19 22:29:41 +02:00
Thulinma
3baa8d1524 TS::Packet classes no longer rely on global PMT tracking 2021-10-19 22:29:41 +02:00
Thulinma
7423868de4 Made Util::streamName and exitReason thread-local 2021-10-19 22:29:41 +02:00
Thulinma
7c6da9d455 Added generic PUSH_REWRITE trigger, fixed request URL bug 2021-10-19 22:29:41 +02:00
Thulinma
ea49344628 DTSC push output support, fixes for DTSC push input and DTSC pull output 2021-10-19 22:29:41 +02:00
Ramkoemar
77aa90d48c SRT edits:
- Increased SRT socket queue from 1 to 100
- Fixed SRT initialization (now clean)
- Made output_ts_base.cpp thread-safe
- Made Output class thread-safe
- SRT TS output can now optionally set open file limit
2021-10-19 22:29:41 +02:00
Thulinma
0bd5d742f6 SRT improvements:
- Made SRT support optional
- Make build options visible in cmake-gui
- Improved generic connection stats for outputs
- Added streamid handling configuration for MistInTSSRT
- Push input support over SRT
- Fixed support for SRT settings in push outputs
- Fix parsing of SRT-passed stream names
- Fixed hostnames in MistOutTSSRT, fixed PUSH_REWRITE trigger payload
- Opus support in TS-SRT
- Fixed SRT socket stats, fixed SRT socket address logic, improved SRT socket rolling restart support
- Fixed SRT push deny
2021-10-19 22:29:41 +02:00
Phencys
19199cbff8 TSSRT Support 2021-10-19 22:29:41 +02:00
Thulinma
974380ab30 Converted comms system entirely to being bitflag-based instead of integer state based 2021-10-19 22:29:41 +02:00
Thulinma
6e316663fc ADTS lib pragma once header 2021-10-19 22:29:41 +02:00
Thulinma
dd58912756 Added support for DVB subtitle and teletext descriptors 2021-10-19 22:29:41 +02:00
Thulinma
e6489f2d6a WebRTC certificate improvement 2021-10-19 22:29:41 +02:00
Thulinma
37cbafe284 Fixed/improved HLS subtitle support 2021-10-19 22:29:41 +02:00
Thulinma
37af199a1c Added client mode support to HTTP::Websocket, added websockettest binary, added ws/wss protocol support to HTTP::URL, added support for websockets and socket overriding to HTTP::Downloader, fixed HTTP parser not handling response codes 1XX, 204 and 304 correctly. 2021-10-19 22:29:41 +02:00
Thulinma
57b930020b Fix infinite loop in AMF parser 2021-10-19 22:29:41 +02:00
Thulinma
7297336e46 Rewrite of Comms 2021-10-19 22:29:41 +02:00
Thulinma
c6265f6659 Fixed PAT/PMT/SDT continuity counters in HLS live streams 2021-10-19 22:29:41 +02:00
Thulinma
10be747522 Round down audio timestamps in PES packets, instead of rounding to nearest. Fixes HLS in Firefox. 2021-10-19 22:29:41 +02:00
Thulinma
ecee86bb1b TS analyser: make PTS/DTS precision millisecond-accurate 2021-10-19 22:29:41 +02:00
Thulinma
67c0d6666f Fix for file descriptors getting hammered by StartPiped if 100, 101 or 102 were open. 2021-10-19 22:29:41 +02:00
Thulinma
d45e78387d Removed code duplication in MP4::TRAF (reimplemented MP4::containerBox) 2021-10-19 22:29:41 +02:00
Thulinma
dc9d8c8097 Fixed multiple responses on errors 2021-10-19 22:29:41 +02:00
Thulinma
dc0cd0d451 Fixed general output shutdown behaviour and logging on end of stream, MP4 output now correctly ends HTTP response on stream end.
Bugfix in HTTP::Parser when calling Chunkify before initializing
2021-10-19 22:29:41 +02:00