Commit Graph

146 Commits

Author SHA1 Message Date
aler9
9e91390ea1 client: cleanup 2021-11-28 12:54:15 +01:00
aler9
eb0c583a62 client: invert arguments of Setup() 2021-11-28 12:51:21 +01:00
aler9
7a521b9784 client: add convenience function SetupAndPlay() 2021-11-28 12:45:50 +01:00
aler9
a5d0128654 update docs 2021-11-28 12:30:28 +01:00
aler9
d5bdc197be allow client and server to override most parameters 2021-11-18 12:17:04 +01:00
aler9
10e790ea11 client: do not send sender / receiver reports when using TCP 2021-11-18 12:17:04 +01:00
aler9
45382e8806 client: send keeepalives when reading with TCP 2021-11-18 12:17:04 +01:00
aler9
1411cb33f5 server: support reading with VLC and multicast 2021-11-15 17:40:17 +01:00
aler9
1a599b1400 server: use timers only when needed 2021-11-15 12:20:04 +01:00
aler9
69c73068ec client: cleanup 2021-11-13 10:41:16 +01:00
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
d205c00878 client: fix check 2021-11-12 22:22:18 +01:00
aler9
ed2f712db2 improve UDP performance 2021-11-12 21:56:32 +01:00
aler9
922d74b940 client: remove Client from OnPacket* arguments 2021-11-12 18:01:27 +01:00
aler9
f304ec52fb server: make Close() wait for all resources to close 2021-11-12 18:01:27 +01:00
aler9
08ab7f87ac client: simplify Setup() 2021-11-12 18:01:27 +01:00
aler9
9ba761298d remove StreamType 2021-11-12 18:01:27 +01:00
aler9
029ebd5dea client: remove OnPlay 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
71855ddc79 client: make WritePacket* return the fatal error 2021-11-12 18:01:27 +01:00
aler9
e13b4289ec client: simplify API, add StartReadingWait 2021-11-12 18:01:27 +01:00
aler9
d04381d787 client: allow calling Close() during a request 2021-11-12 18:01:27 +01:00
aler9
07b1fe6a05 client: fix race condition 2021-11-12 18:01:27 +01:00
aler9
e7dbfa5eb1 client: fix check 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
f6601580db client: remove DialReadContext, DialPublishContext 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
a66a038a23 client: reorder parameters 2021-11-12 18:01:27 +01:00
aler9
89a1d68973 update docs 2021-11-06 12:40:51 +01: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
dde57ee568 remove ID and BaseURL from Track 2021-06-23 23:07:55 +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
a9995fb228 client: add range argument to clientconn.Play() 2021-05-28 18:11:18 +02:00
aler9
e75b14c608 client: add DialReadContext, DialPublishContext 2021-05-10 18:11:41 +02:00
aler9
c7bdded8f0 client: apply context to connOpen 2021-05-10 18:04:26 +02:00
aler9
f8ef945dae client: allow to call client.Close() always 2021-05-10 17:18:41 +02:00
aler9
0c8e04641a show configuration sections in docs 2021-05-09 18:30:58 +02:00
aler9
a8c6af39e3 split configuration into sections 2021-05-07 15:34:54 +02:00
aler9
e52fda806d add ServerConn.Close(), ServerSession.Close() 2021-05-07 11:42:01 +02:00
aler9
8846b9f5f5 rename ClientConf into Client 2021-05-04 16:51:20 +02:00