* add amf0 strict array decode
* add amf0 long string decode
* support amf0 types undefined, unsupported, xmldocument and date
* fix error and add tests
* modify tests to follow original way to test
* do not skip markerUnsupported / markerUndefined
* implement StrictArray marshaling; remove handling of long strings, XML documents, date
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
the duration of segments was computed erroneously, since it was taking
into consideration the last track only. Now the duration of a segment
corresponds to the maximum duration among all tracks.
* Add option for ICE servers to be client only
* add clientOnly to configuration file and API docs
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
* fix: whep gathering failure leaks peer connections
* fix: failure to create whep client leaks
when read fails, client is not closed
* fix: close idle connection with whip client
* fix: no link check on early whip client close
* move http.Client.CloseIdleConnections() outside WHIPClient
* automatically call WHEPClient.Close() in case of errors during WHEPClient.Read() or WHEPClient.Publish()
---------
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
* first attempt at the srt metrics
* Updated variables to better match mediamtx
* Prometheus metrics for SRT
* Update readme for SRT metrics
* Switch openapi to number from float
* SRT metrics metrics response fix
* Make the metric test less strict, and nolint line length on the SRT metrics struct
* remove nolint
* move BytesSent and BytesReceived into APISRTConnMetrics
* merge APISRTConn and APISRTConnMetrics
* improve tests
---------
Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>