Commit Graph

904 Commits

Author SHA1 Message Date
Alessandro Ros
8e955d2119
hls: return 404 when requesting hls.min.js.map (#2262) 2023-08-29 11:03:10 +02:00
Alessandro Ros
30b7245bb9
limit logging of decode errors (#2253) 2023-08-26 23:34:39 +02:00
Alessandro Ros
34dc84de90
rtmp: add limit on message body size (#2252) 2023-08-26 22:44:33 +02:00
Alessandro Ros
b72f3577c8
print warning when the write queue is full (#2251) 2023-08-26 19:45:10 +02:00
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize (#2248) 2023-08-26 13:25:21 +02:00
Alessandro Ros
e0fb11040e
move units into dedicated package (#2245)
needed by #2244
2023-08-25 18:11:02 +02:00
Alessandro Ros
23ddaac481
support publishing VP9 tracks with RTMP (#2247) 2023-08-25 17:02:51 +02:00
Alessandro Ros
482266ae95
hls source: fix formatting debug log messages (#2243) 2023-08-24 22:42:57 +02:00
github-actions[bot]
de90baa697
bump hls-js to v1.4.10 (#2239)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2023-08-23 18:44:47 +02:00
Alessandro Ros
1e15d4995c
embed hls.js into the server (#2202) (#2236) 2023-08-23 18:37:07 +02:00
Alessandro Ros
1133c734ab
support publishing AV1/H265 with OBS 30 (#2217) (#2234) 2023-08-22 22:56:23 +02:00
Xavier Hallade
accfc49f9c
allow RTMP streaming with codecid=av01 or hvc1 (#2232)
* allow RTMP streaming with codecid=av01 or hvc1

Prior to this change, when trying to stream AV1 over enhanced RTMP using
XSplit Broadcaster, the server was refusing the content with
"unsupported video codec: av01" message.

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-08-22 22:35:09 +02:00
Alessandro Ros
a29a4c7de7
hls: fix wrong protocol sent to external authentication server (#2213) 2023-08-16 19:17:06 +02:00
Alessandro Ros
659f19f8bb
enable errcheck (#2201) 2023-08-13 16:38:23 +02:00
Alessandro Ros
7e180ceea2
rtmp: support ingesting RTMPE streams (#2189) 2023-08-10 21:06:51 +02:00
Daniel
36e608902d
Add video player options via query string (#2145)
* Add video player options via query string.

* use arrow-style functions

* remove redundant check

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-08-07 22:19:15 +02:00
Alessandro Ros
161a9b54b2
update dependencies (#2176) 2023-08-07 20:25:45 +02:00
Alessandro Ros
efcc4c4e65
fix crash in case of specially-crafted HTTP requests (#2166) (#2169) 2023-08-07 17:16:33 +02:00
Alessandro Ros
61d300396d
remove 'disable' from names of configuration parameters (#2101) 2023-08-06 21:40:08 +02:00
Alessandro Ros
d6058ae469
rename disablePublisherOverride into overridePublisher (#2164) 2023-08-06 21:29:16 +02:00
Alessandro Ros
40b4fa1e8e
support reading and proxying VP9 tracks with HLS (#2162) 2023-08-06 21:10:16 +02:00
Alessandro Ros
9051ccc219
disable check for missing key frames (#1904) (#2161) 2023-08-06 18:15:33 +02:00
Alessandro Ros
a2e94fe3db
normalize error message (#2160) 2023-08-06 17:56:11 +02:00
Alessandro Ros
1edcc5a670
remove warning when decoding VP8 or VP9 (#2159)
avoid printing 'received a non-starting fragment without any previous starting fragment'
2023-08-06 15:51:26 +02:00
Alessandro Ros
ff01e56dfe
hls: support proxying AV1 tracks (#2157) 2023-08-06 13:21:43 +02:00
Alessandro Ros
d9b7878c3d
hls: prefer Opus tracks to MPEG-4 tracks (#2158) 2023-08-06 13:21:32 +02:00
Alessandro Ros
153463466c
hls: support reading and proxying AV1 tracks (#2155) 2023-08-06 02:28:28 +02:00
Alessandro Ros
d00b22b5e5
support setting a maximum number of readers per path (#1286) (#2154) 2023-08-05 17:41:54 +02:00
Alessandro Ros
b198cc5952
srt: support runOnRead (#2152) 2023-08-05 17:18:04 +02:00
Alessandro Ros
dd91abae9b
api: add transport to RTSP sessions (#2151) 2023-08-05 17:10:48 +02:00
Alessandro Ros
ce0924ac72
udp: support using domain names instead of IPs (#2150) 2023-08-05 16:40:51 +02:00
Alessandro Ros
8bb71ac8d8
srt, udp: support reading and writing MPEG-1 audio streams (#2147) 2023-08-05 14:47:20 +02:00
Alessandro Ros
bc3084ae7b
support proxying WebRTC streams (#2142) 2023-08-03 23:12:05 +02:00
Alessandro Ros
ef8b9fb63d
webrtc, hls: reply status code 204 to OPTIONS requests (#2141) 2023-08-02 20:52:26 +02:00
Alessandro Ros
1bfc08cca2
update gortsplib (#2138) 2023-08-02 11:39:53 +02:00
Alessandro Ros
556392d2ee
remove workaround for pion/rtp < 1.8.1 (#2134) 2023-08-01 11:38:19 +02:00
Alessandro Ros
b4e3033ea3
support publishing, reading, proxying with SRT (#2068) 2023-07-31 21:20:09 +02:00
Alessandro Ros
d696a782f7
rtmp: simplify API (#2130) 2023-07-31 19:41:59 +02:00
Alessandro Ros
72b1d233df
normalize channels and methods (#2127)
needed by #2068
2023-07-30 23:53:39 +02:00
Alessandro Ros
e3d4856b4f
update gortsplib (#2126) 2023-07-30 23:39:24 +02:00
Alessandro Ros
83484b1e82
update gohlslib (#2125) 2023-07-30 23:28:54 +02:00
Alessandro Ros
ab8cf3f0cc
add rtmp.Reader, rtmp.Writer (#2124)
needed by #2068
2023-07-30 23:15:22 +02:00
Alessandro Ros
119d6abf19
move HTTP utilities in a dedicated package (#2123)
needed by #2068
2023-07-30 23:03:00 +02:00
Alessandro Ros
08d6d0b888
add base class to all data units (#2122)
needed by #2068
2023-07-30 22:55:13 +02:00
Alessandro Ros
db3862cf0d
move stream in a dedicated package (#2121)
needed by #2068
2023-07-30 22:34:35 +02:00
Alessandro Ros
b42154fa6a
return an error in case the random number generator fails (#2120) 2023-07-30 22:30:41 +02:00
Alessandro Ros
dfc8e1fa91
webrtc: fix race condition when broadcasting RTP packets (#2117) 2023-07-29 00:43:10 +02:00
Alessandro Ros
e4bd1b35a2
update dependencies (#2113) 2023-07-28 00:06:58 +02:00
Alessandro Ros
9b491499bc
webrtc: speed up track detection (#2105) 2023-07-24 20:32:28 +02:00