Commit Graph

35 Commits

Author SHA1 Message Date
Rui Lopes
215f88e2dd webrtc: add Location header to CORS-allowed headers (#2453) 2023-10-04 17:00:15 +02:00
Alessandro Ros
f1e28d053f webrtc: fix ETag header name according to specification (#2396) (#2401)
Some checks reported warnings
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
2023-09-23 14:21:53 +02:00
Alessandro Ros
1e15d4995c embed hls.js into the server (#2202) (#2236) 2023-08-23 18:37:07 +02:00
Alessandro Ros
659f19f8bb enable errcheck (#2201)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
2023-08-13 16:38:23 +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
bc3084ae7b support proxying WebRTC streams (#2142)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
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
72b1d233df normalize channels and methods (#2127)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
needed by #2068
2023-07-30 23:53:39 +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
b42154fa6a return an error in case the random number generator fails (#2120) 2023-07-30 22:30:41 +02:00
Alessandro Ros
1fa53b49d4 webrtc, hls: prevent brute-force attacks by waiting before sending responses (#2100)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
2023-07-23 20:18:58 +02:00
Alessandro Ros
0137734294 webrtc, hls: show IP in logs in case of failed authentication (#2099) 2023-07-23 20:06:16 +02:00
Alessandro Ros
36298f8bc8 webrtc: send session ID to external auth server (#1981) (#2098) 2023-07-23 19:31:34 +02:00
Alessandro Ros
3bb12e2a0a webrtc: show both IP and port during session creation and in API (#2096) 2023-07-23 18:23:15 +02:00
Alessandro Ros
37586b2300 api: allow to edit properties of path config "all" (#2067) (#2075) 2023-07-19 13:33:05 +02:00
Alessandro Ros
473c075d89 webrtc: fix memory leak during shutdown or session kick (#2079) 2023-07-19 12:31:50 +02:00
Alessandro Ros
64a715a663 hls, webrtc: add Authorization to Access-Control-Allow-Headers (#2018) (#2020) 2023-07-04 22:18:41 +02:00
Alessandro Ros
1a748bb971 webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
Alessandro Ros
20a3b07d0a webrtc: move codec and bitrate settings on client side (#1990) 2023-06-27 22:37:06 +02:00
Alessandro Ros
79ee4e06f3 webrtc: add option to disable audio effects (#1908) (#1989) 2023-06-27 22:36:29 +02:00
Alessandro Ros
4aef466103 webrtc: allow setting Opus bitrate (#1908) (#1985) 2023-06-27 22:15:50 +02:00
Alessandro Ros
2faca73749 hls, webrtc: in the web page, pass query parameters to inner requests (#1976) 2023-06-22 13:19:57 +02:00
Alessandro Ros
5224531551 webrtc: do not pass preflight requests to external auth (#1941) (#1972) 2023-06-22 12:49:59 +02:00
Alessandro Ros
ba6c0fa822 set Access-Control-Allow-Headers to a static string (#1973) 2023-06-22 00:16:19 +02:00
Alessandro Ros
daa6500082 webrtc: make preflight OPTIONS requests work with external auth (#1941) (#1964)
* webrtc: allow preflight OPTIONS requests to work with external auth (#1941)

* add tests

* improve tests
2023-06-21 13:53:58 +02:00
Victor
052da51af3 Add WebRTC stream id to whep response headers (#1879)
Some checks failed
apidocs
code
mod-tidy
test32
test64
test_highlevel
* Add WebRTC stream id to whep response headers

* change header name from UUID to ID

* add tests

---------

Co-authored-by: Victor Vitkovskiy <victor.vitkovskiy@mirasys.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-05-31 18:24:06 +02:00
Alessandro Ros
99aa0d0ac9 webrtc: fix WHIP/WHEP implementation (#1857) (#1861)
offers and answers are now encoded in SDP in place of JSON; Location
header is set by the server.

This fixes compatibility with GStreamer and whipsink
2023-05-24 17:06:06 +02:00
Alessandro Ros
1889641c8c webrtc: add POST and PATCH methods to Access-Control-Allow-Methods (#1848) 2023-05-20 11:10:14 +02:00
Alessandro Ros
766260f8dd fix usage of Access-Control-Expose-Headers (#1847) 2023-05-20 10:59:44 +02:00
mrlt8
79cbf622a2 Expose E-Tag, Accept-Patch and Link headers for cross-origin WHIP/WHEP requests (#1841) 2023-05-20 10:51:19 +02:00
Alessandro Ros
adf94092a8 add base class to all HTTP servers (#1809) 2023-05-16 20:12:45 +02:00
Alessandro Ros
bf4d6c905f hls muxer: show index page even if stream is not present (#1806)
Some checks failed
apidocs
code
mod-tidy
test32
test64
test_highlevel
2023-05-16 19:23:02 +02:00
Alessandro Ros
503a131097 webrtc: return 404 when a stream is not present (#1805) 2023-05-16 18:01:05 +02:00
Alessandro Ros
39c072edd6 change repository owner (#1801) 2023-05-16 16:14:20 +02:00
Alessandro Ros
a14246d776 webrtc: support publishing with WHIP and reading with WHEP (#1800) 2023-05-16 15:59:37 +02:00