Commit Graph

48 Commits

Author SHA1 Message Date
aler9
ae0df8d4c9 use named constant for MPEG4-audio object type 2022-11-14 16:50:21 +01:00
aler9
6e6be34636 support generic tracks with multiple formats (https://github.com/aler9/rtsp-simple-server/issues/1103) 2022-10-28 19:10:54 +02:00
aler9
4b19822d51 rename MPEGVideo and MPEGAudio into MPEG2Video and MPEG2Audio 2022-08-07 14:01:00 +02:00
aler9
702cac94a6 write MPEG in uppercase 2022-08-05 23:40:11 +02:00
aler9
537b2033d2 rename TrackAAC into TrackMPEG4Audio 2022-08-05 23:37:53 +02:00
aler9
b1513c6802 rename pkg/acc into pkg/mpeg4audio 2022-08-05 22:40:05 +02:00
aler9
ef900359ce add TrackVP8 2022-06-28 12:10:30 +02:00
aler9
f3b0fc69b4 rename Read / Write into Unmarshal / Marshal when needed
Read() / Write() are used to read / write from streams, while
Unmarshal() / Marshal() are used to decode / encode from / to bytes.
2022-06-27 17:27:16 +02:00
aler9
949e27c428 aac: replace AOTSpecificConfig with AAC-LC fields 2022-06-24 13:48:28 +02:00
aler9
e82968442d store MPEG4AudioConfig inside TrackAAC instead of storing single fields 2022-06-24 13:25:53 +02:00
aler9
3e3271297c do not store extradata into H264 tracks 2022-06-23 13:17:00 +02:00
aler9
9f4fea8a01 change track initialization method 2022-06-23 13:13:36 +02:00
aler9
3223af460e fix storing of H264 extradata 2022-06-23 11:30:53 +02:00
aler9
04d78ec414 add TrackVP9 2022-06-23 11:20:28 +02:00
aler9
c6b5540702 add TrackMpegAudio 2022-06-15 11:24:28 +02:00
aler9
69637033b3 add TrackMPV 2022-06-15 11:06:45 +02:00
aler9
7d0e8ed058 improve tests 2022-06-14 12:43:48 +02:00
aler9
0101ad961c add TrackJPEG 2022-06-06 12:51:33 +02:00
aler9
2fa3148a27 move URL into dedicated folder 2022-06-05 01:27:19 +02:00
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