Commit Graph

96 Commits

Author SHA1 Message Date
aler9
ba7f9aff25 client: support reading from servers that use random UDP ports (https://github.com/aler9/rtsp-simple-server/issues/691) 2021-11-13 10:13:54 +01:00
aler9
922d74b940 client: remove Client from OnPacket* arguments 2021-11-12 18:01:27 +01:00
aler9
08ab7f87ac client: simplify Setup() 2021-11-12 18:01:27 +01:00
aler9
3ba7c373b9 client: allow receiving UDP packets before PLAY response 2021-11-12 18:01:27 +01:00
aler9
e13b4289ec client: simplify API, add StartReadingWait 2021-11-12 18:01:27 +01:00
aler9
07b1fe6a05 client: fix race condition 2021-11-12 18:01:27 +01:00
aler9
0440a926b8 client: use a single goroutine during play / record 2021-11-12 18:01:27 +01:00
aler9
19568f2d42 fix tests 2021-11-12 18:01:27 +01:00
aler9
a22116e66e client: turn ReadFrames into OnPacketRTP, OnPacketRTCP 2021-11-12 18:01:27 +01:00
aler9
d1d766658b client: merge Client and ClientConn 2021-11-12 18:01:27 +01:00
aler9
fdb0d70870 client: remove default client 2021-11-12 18:01:27 +01:00
aler9
7ebbdbf093 client: split WriteFrame into WritePacketRTP and WritePacketRTCP 2021-11-12 18:01:27 +01:00
aler9
6d340cdf39 rtcp*: split ProcessFrame into ProcessPacketRTP and ProcessPacketRTCP 2021-11-12 18:01:27 +01:00
aler9
6e38851a09 add non standard frame tests 2021-11-06 13:28:16 +01:00
aler9
ccb8c932a3 client: check parameters in request urls 2021-11-03 18:08:16 +01:00
aler9
78bfa5d6a8 use require.EqualError() in tests 2021-11-03 17:52:45 +01:00
aler9
1d5f3c92ae add VLC authentication workaround 2021-10-30 14:47:58 +02:00
aler9
653b3ee993 update golangci-lint 2021-10-30 13:06:23 +02:00
aler9
e8e94c2b14 set right AAC type in tests 2021-10-23 12:39:28 +02:00
aler9
61c39f9062 rename StreamProtocol and StreamDelivery into TransportProtocol and TransportDelivery 2021-10-22 17:59:36 +02:00
aler9
320c1b6f2c rename ClientTransport into Transport 2021-10-22 17:53:51 +02:00
aler9
b64c32c621 client: rename ClientTransportMulticast into ClientTransportUDPMulticast 2021-10-22 16:26:33 +02:00
aler9
7735bcd9ec client: rename ClientProtocol into ClientTransport 2021-10-22 16:25:27 +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
accfc7cd5d client: support servers that change interleaved IDs (#72) 2021-08-25 18:04:22 +02:00
aler9
649c63cf5b client: allow bidirectional communication with multicast 2021-06-26 13:25:38 +02:00
aler9
a512762ba0 server: support setupping tracks with arbitrary interleaved IDs (#47) 2021-06-26 12:51:45 +02:00
aler9
dde57ee568 remove ID and BaseURL from Track 2021-06-23 23:07:55 +02:00
aler9
d073a185c2 client: allow to publish tracks with pre-existing control attribute (#48) 2021-06-23 22:03:22 +02:00
aler9
a585634532 client: always set Range header inside PLAY requests, fixing compatibility with Parrot Streaming Server (https://github.com/aler9/rtsp-simple-server/issues/413) 2021-06-22 22:52:48 +02:00
aler9
ff8c485b11 headers: change Transport.Destination type to net.IP 2021-06-19 18:58:31 +02:00
aler9
63e2864a67 server: use one IP per stream; expose multicast parameters in configuration 2021-06-19 18:48:32 +02:00
aler9
2cff0d51d3 listen on IPv6 too in case of multicast 2021-06-19 16:32:21 +02:00
aler9
9595e298f8 client: support reading with UDP-multicast 2021-06-18 17:47:25 +02:00
aler9
aeb1958bc1 remove StreamProtocol from root 2021-06-05 23:17:10 +02:00
aler9
363871d658 client: support server_port=0-1 (https://github.com/aler9/rtsp-simple-server/issues/407) 2021-06-03 23:41:39 +02:00
aler9
d07e93f245 auth: simplify 2021-05-30 12:52:46 +02:00
aler9
9007f20af8 client: fix authentication during SETUP, preventing 401s during protocol switches (https://github.com/aler9/rtsp-simple-server/issues/392) 2021-05-30 12:00:35 +02:00
aler9
e9ef8d739f client: add clientconn.Seek() 2021-05-28 18:11:18 +02:00
aler9
a9995fb228 client: add range argument to clientconn.Play() 2021-05-28 18:11:18 +02:00
aler9
70c0dc7800 remove base.MustParseURL 2021-05-23 16:48:56 +02:00
aler9
5eb82448a7 client: remove channel from ReadFrames() 2021-05-10 17:59:49 +02:00
aler9
510bcfe2d7 client: simplify tests 2021-05-10 17:29:24 +02:00
aler9
f8ef945dae client: allow to call client.Close() always 2021-05-10 17:18:41 +02:00
aler9
f2f9b644c6 simplify tests 2021-05-07 23:51:23 +02:00
aler9
259043685d server: implement sessions 2021-05-04 16:51:20 +02:00