Commit Graph

29 Commits

Author SHA1 Message Date
aler9
811e189b43 client: support cameras that provide base URL inside control attribute (https://github.com/aler9/rtsp-simple-server/issues/683) 2022-05-11 16:51:48 +02:00
aler9
79ebb7d336 add TrackPCMA 2022-04-22 15:14:41 +02:00
aler9
56e0c53078 fix tests 2022-04-15 18:51:14 +02:00
aler9
e2a083fb2b fix tests 2022-04-15 17:09:41 +02:00
aler9
25c296f1dd return an error in case an AAC track has no sizelength 2022-04-15 13:07:15 +02:00
aler9
49e13c6c7b move tests 2022-04-15 12:57:20 +02:00
Shi Ben
bed854ece6 Support AAC tracks with custom sizelength, indexlength and indexdeltalength (#118)
* aac decode by sdp sizelength and indexlength

* fix linting

* fix linting

* 64-95 lines are duplicate of `track_aac_test.go:130-161` (dupl)

* fix linting

* fix linting

* decode aac use IndexDeltaLength
2022-04-15 12:35:54 +02:00
aler9
0ba73bacab add TrackPCMU 2022-03-15 11:51:58 +01:00
aler9
e7efb0c405 client: skip tracks with an invalid clock rate (https://github.com/aler9/rtsp-simple-server/issues/832) 2022-03-15 11:10:56 +01:00
aler9
ab50034c93 improve coverage 2022-02-12 17:03:24 +01:00
aler9
2c613ddf7a rewrite track tests 2022-02-11 20:22:56 +01:00
aler9
8c02b12955 fix tests 2022-01-30 16:50:47 +01:00
aler9
6d5bf0c1bb new track system 2022-01-30 15:51:49 +01:00
aler9
cab3fe270e client: support publishing with opus 2021-10-30 15:45:13 +02:00
Artem Yarovenko
e9044bc6a5 Fix SDP parsing of H264 tracks of some cameras 2021-10-30 15:17:58 +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
3222472021 support tracks with SDPs with multiple formats (#65) 2021-08-07 20:13:24 +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
f908a15a1e rename tests 2021-05-26 20:37:18 +02:00
aler9
70c0dc7800 remove base.MustParseURL 2021-05-23 16:48:56 +02:00
aler9
4ef801b9e0 strictly follow the specification when generating SDP of AAC tracks (#35) (https://github.com/aler9/rtsp-simple-server/issues/112) 2021-05-13 09:48:41 +02:00
aler9
bd1b88226e track: add negative tests 2021-05-07 10:44:00 +02:00
aler9
796f862a1f add tests for previous commit 2021-05-07 10:22:36 +02:00
aler9
1f8d7a9ae7 client: build track URLs by using Content-Base, when provided by server 2021-04-03 16:23:14 +02:00
aler9
f192b198d7 add Track.IsH264, Track.ExtractDataH264, Track.IsAAC, Track.ExtractDataAAC 2021-03-06 22:50:17 +01:00
aler9
bc5b3d9cbc ServerConn: save announced tracks 2021-01-18 22:21:36 +01:00
aler9
4e8fa2e4ab fix clock rate computation with standard RTP payload type (https://github.com/aler9/rtsp-simple-server/issues/123) 2020-11-29 16:18:59 +01:00