Commit Graph

65 Commits

Author SHA1 Message Date
aler9
c1b10a80be allow writing primitives to static buffers 2022-05-11 15:26:44 +02:00
aler9
edeef85e9e accept io.Writer in Write() methods 2022-05-08 14:33:29 +02:00
aler9
bfe4e8cdaa automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize 2022-04-09 20:16:14 +02:00
aler9
d0cab3c8bd server: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports and RTP-Info 2022-04-08 16:45:09 +02:00
aler9
9d12c345f8 support go 1.18 2022-04-07 12:57:23 +02:00
aler9
7d9c882cc9 server: generate RTCP sender reports automatically; remote RTCP routing from examples 2022-03-24 15:27:19 +01:00
aler9
7f6383aa3c server: make calling ServerStream.Close() mandatory 2022-03-24 12:44:20 +01:00
aler9
95117f0aa4 server: rename Req field into Request 2022-02-19 22:20:01 +01:00
aler9
d7f6567e20 server: restore authentication support 2022-02-19 21:56:27 +01:00
aler9
0e8595a31d server: remove Session header from ANNOUNCE responses (https://github.com/aler9/rtsp-simple-server/issues/840) 2022-02-19 19:23:30 +01:00
aler9
7dd4842fc0 server: do not allow a connection to communicate with multiple sessions 2022-02-19 18:52:05 +01:00
aler9
3a2f9adbd5 server: decode and encode RTP/RTCP packets 2022-02-18 00:03:39 +01:00
aler9
ad69a8957b support h264 tracks with extradata in sprop-parameter-sets 2022-01-30 15:51:49 +01:00
aler9
6d5bf0c1bb new track system 2022-01-30 15:51:49 +01:00
aler9
f6a86b8789 server: send session timeout to clients through the session header (https://github.com/aler9/rtsp-simple-server/issues/702) 2022-01-20 16:32:32 +01:00
aler9
f3096ec102 improve write performance by
* buffering packets before sending them
* removing mutexes
2021-12-08 17:46:56 +01:00
aler9
a1de5ffdf9 add client TLS publish tests 2021-12-08 17:23:03 +01:00
aler9
73f1c632c5 client: set ServerName when using TLS (https://github.com/aler9/rtsp-simple-server/issues/708) 2021-12-03 22:56:35 +01:00
aler9
1876546d05 fix tests 2021-11-26 16:58:59 +01:00
aler9
1411cb33f5 server: support reading with VLC and multicast 2021-11-15 17:40:17 +01:00
aler9
f304ec52fb server: make Close() wait for all resources to close 2021-11-12 18:01:27 +01:00
aler9
3ead94477f server: cleanup error 2021-11-12 18:01:27 +01:00
aler9
1f5dec4a02 server: move address into Server struct 2021-11-12 18:01:27 +01:00
aler9
2882bacdf2 server: split WriteFrame into WritePacketRTP and WritePacketRTCP 2021-11-12 18:01:27 +01:00
aler9
472430f900 server: split OnFrame into OnPacketRTP and OnPacketRTCP 2021-11-12 18:01:27 +01:00
aler9
78bfa5d6a8 use require.EqualError() in tests 2021-11-03 17:52:45 +01:00
aler9
b5f1d7ccb6 fix tests 2021-10-30 14:58:02 +02:00
aler9
653b3ee993 update golangci-lint 2021-10-30 13:06:23 +02:00
aler9
61c39f9062 rename StreamProtocol and StreamDelivery into TransportProtocol and TransportDelivery 2021-10-22 17:59:36 +02:00
aler9
84837b9751 server: fill ctx.Query correctly (#73) 2021-09-23 08:53:10 +02:00
aler9
dbfc058f0c update golangci-lint 2021-09-09 23:05:50 +02:00
aler9
d744a2e0d3 change way tracks are initialized
A config object is now required to initialize tracks.
Config objects are provided for H264 and AAC.
This allows to pass parameters easily and treat AAC
parameters explicitly.
2021-08-25 19:16:51 +02:00
aler9
63e2864a67 server: use one IP per stream; expose multicast parameters in configuration 2021-06-19 18:48:32 +02:00
aler9
7238502094 server: normalize errors 2021-06-18 00:08:04 +02:00
aler9
db28e87ecb server: fill SSRC in SETUP responses and RTP-Info in PLAY responses automatically 2021-06-17 16:45:24 +02:00
aler9
3f3226b53d server: support reading with multicast 2021-06-17 16:45:24 +02:00
aler9
ebe40cfc95 server: remove useless check 2021-06-06 13:54:41 +02:00
aler9
ff19361b6a server: remove deprecated code 2021-06-06 13:15:11 +02:00
aler9
d3f34b1c74 server: use localhost instead of 127.0.0.1 in tests 2021-06-06 12:41:04 +02:00
aler9
aeb1958bc1 remove StreamProtocol from root 2021-06-05 23:17:10 +02:00
aler9
94e69f9c7f update golangci-lint 2021-05-23 18:50:50 +02:00
aler9
70c0dc7800 remove base.MustParseURL 2021-05-23 16:48:56 +02:00
aler9
4b385ec04b server: change OnSetup() to allow users to set SSRC (#33) 2021-05-16 15:09:08 +02:00
aler9
4d1c2d1831 server: use hierarchical contexts 2021-05-11 14:52:41 +02:00
aler9
9aa91dce29 server: fix tests 2021-05-10 19:46:57 +02:00
aler9
e51ee76d92 server: rewrite conn and session closing with contexts to improve reliability 2021-05-10 19:38:02 +02:00
aler9
3a3691e51c remove gortsplib_test.go 2021-05-10 18:55:52 +02:00
aler9
034eee1c8a simplify tests 2021-05-09 19:14:56 +02:00
aler9
994cd442e3 server: allow to call server.Close() twice 2021-05-09 14:10:21 +02:00
aler9
7469a3362a server: add author to OnSessionOpen 2021-05-08 22:27:05 +02:00