Commit Graph

1457 Commits

Author SHA1 Message Date
aler9
21617a343a cleanup 2021-08-25 18:04:18 +02:00
aler9
0840425ed2 server: return specific error message in case interleaved IDs are in use 2021-08-25 09:47:12 +02:00
aler9
e11fb9d5a0 rtpaac: prefer slices to maps 2021-08-23 21:50:33 +02:00
aler9
d05a92be5f server: rename session states
new states:
* PreRead
* Read
* PrePublish
* Publish
2021-08-11 12:05:17 +02:00
aler9
c45a1b3995 server: stop sending frames immediately after ServerStream.Close() is called 2021-08-10 17:34:40 +02:00
aler9
3222472021 support tracks with SDPs with multiple formats (#65) 2021-08-07 20:13:24 +02:00
aler9
d8bf9b2307 improve coverage 2021-08-05 18:17:59 +02:00
aler9
2914af3fda server: rename session id into secretID 2021-08-04 17:21:25 +02:00
aler9
15425ca26e server: unexport session id 2021-08-04 09:26:57 +02:00
aler9
45db8582b0 server: do not allow a client to change path name during PLAY or RECORD 2021-07-31 21:26:57 +02:00
thronepohan
288715c270 handle hex session id 2021-07-25 17:06:49 +02:00
Daniel Mack
23458a27b6 serverconn: allow passing of raw base.Response.Body from Describe callbacks
When a server handler implements `OnDescribe()` it may return a
`base.Reponse` that carries a body, along with a `nil` stream.

`handleRequest()` should support that, and not override `res.Body`, and,
more importantly, not dereference the returned `nil` pointer.
2021-07-25 10:32:58 +02:00
aler9
dae5a1f040 cleanup 2021-07-24 17:18:31 +02:00
aler9
4ac9cda1fe rtph264: add error in case of a fragmented NALU with two starting packets 2021-07-24 17:15:11 +02:00
aler9
b60c4a65b2 rtph264: add error in case we decoded a non-starting fragmented packets and we didn't received anything before 2021-07-24 17:05:19 +02:00
aler9
91ee859c9b remove names from GitHub actions 2021-07-04 19:28:59 +02:00
aler9
38658ec45f improve coverage 2021-07-04 12:45:53 +02:00
aler9
7d06e872f2 lock ubuntu version in GitHub actions 2021-07-03 13:17:16 +02:00
aler9
89494e8350 examples/client-read-h264: skip RTCP packets 2021-07-03 11:53:33 +02:00
aler9
88608152cc rename buf into payload 2021-07-03 11:52:51 +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
Daniel Mack
8062cfdf42 Add support for charset information in content-type header
Altough not explicitly allowed by RFC2326, some servers respond with
a `Content-Type` header field that contains charset information as
described in RFC2616 (sec 14.17).

The parser currently fails to read from such connections and bails
with

  `unsupported Content-Type header '[application/sdp; charset=utf-8]'`

Change this by ignoring everything after a semicolon.
2021-06-25 19:05:40 +02:00
aler9
cfe4f7a403 track: remove cleaning from Write() (#49) 2021-06-25 18:45:05 +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
6d65f517a9 update readme 2021-06-21 10:11:20 +02:00
aler9
aeaa200638 client: fix reading with multicast 2021-06-19 21:13:08 +02:00
aler9
47637e3ea2 server: fix error message 2021-06-19 19:16:56 +02:00
aler9
c122fb4ec3 server: change type of ports 2021-06-19 19:12:04 +02:00
aler9
c81daa8f70 fix example 2021-06-19 19:04:08 +02:00
aler9
ff8c485b11 headers: change Transport.Destination type to net.IP 2021-06-19 18:58:31 +02:00
aler9
84f174f10f drop support for go 1.13 2021-06-19 18:57:01 +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
8dc27ca9a7 avoid using net.ResolveUDPAddr() 2021-06-19 16:26:45 +02:00
aler9
eef21cc2b5 server: fix bug that prevents clients from receiving with multicast after all previous clients have disconnected 2021-06-19 16:03:53 +02:00
aler9
9595e298f8 client: support reading with UDP-multicast 2021-06-18 17:47:25 +02:00
aler9
54979e9f97 server: sort RTP-Info entries 2021-06-18 17:37:15 +02:00
aler9
ea1c7c69be server: support receiving RTCP packets from multicast clients 2021-06-18 17:34:25 +02:00
aler9
d165f1fead server: use user-provided ListenPacket in case of multicast 2021-06-18 16:43:51 +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
f80faf5ac5 client: tidy up 2021-06-16 21:37:23 +02:00
aler9
4c5e81f478 server: do not sent non-setupped tracks to clients 2021-06-16 21:09:05 +02:00
aler9
533d65ecd1 server: try to open the firewall to receive RTCP packets from readers 2021-06-13 16:55:48 +02:00
aler9
ebe40cfc95 server: remove useless check 2021-06-06 13:54:41 +02:00
aler9
7f3ef73b0a rtpaac: improve coverage 2021-06-06 13:38:23 +02:00