Commit Graph

1382 Commits

Author SHA1 Message Date
Alessandro Ros
2dc8838a6d infer object, sample rate, clock of MPEG4AudioLATM from config (#255) 2023-04-18 10:31:11 +02:00
Alessandro Ros
df4d46c295 fix parsing of MP4A-LATM formats with no channels and object (#254)
https://github.com/aler9/mediamtx/issues/1716
2023-04-17 18:47:29 +02:00
Alessandro Ros
a955288571 replace Format.Marshal() with RTPMap() and FMTP() (#253) 2023-04-15 13:46:19 +02:00
Alessandro Ros
fee147222e add AV1 format (#252) 2023-04-15 13:10:56 +02:00
Alessandro Ros
f5aedf9b7f improve MPEG4AudioLATM (#251) 2023-04-15 13:04:16 +02:00
Alessandro Ros
03013f1a87 handle additional fields of MPEG4-generic: streamtype, mode, profile-level-id (#250) 2023-04-15 12:25:21 +02:00
Alessandro Ros
30af49c412 rename maxPacketSize into udpMaxPayloadSize (#249) 2023-04-15 12:24:48 +02:00
Alessandro Ros
5a6ddfc23d update README (#248) 2023-04-14 12:19:57 +02:00
Alessandro Ros
9e29555063 simplify tests (#247) 2023-04-14 11:53:37 +02:00
aler9
5258f5b6e6 update mediacommon v3.2.1 2023-04-13 17:35:21 +02:00
Alessandro Ros
2342abb240 server: support TCP read requests without interleaved IDs (#246)
(https://github.com/aler9/mediamtx/issues/1650)
2023-04-13 17:03:50 +02:00
Alessandro Ros
1f19f3cdb8 simplify tests (#245) 2023-04-13 12:01:57 +02:00
Alessandro Ros
7bf71a18b3 add MPEG-TS format (#244) 2023-04-12 21:47:17 +02:00
Alessandro Ros
39ce0bc3af decrease bitrate of recommended GStreamer pipeline (#243) 2023-04-11 18:38:13 +02:00
Alessandro Ros
e999f51045 update recommended GStreamer pipeline (#242) 2023-04-11 18:30:07 +02:00
Alessandro Ros
82866d2810 fix bitrate in examples/client-publish-format-h264 (#241) 2023-04-11 17:27:09 +02:00
Alessandro Ros
c56eee37f8 do not listen on IPv6 when host is 0.0.0.0 (#240)
(https://github.com/aler9/mediamtx/issues/1665)
v3.2.0
2023-04-10 22:42:19 +02:00
Alessandro Ros
9ca5e130fe rewrite unmarshaling interface and tests of formats (#238) 2023-04-10 15:07:59 +02:00
Alessandro Ros
c0c2dd68d3 add MP4A-LATM format (#237) 2023-04-10 13:07:09 +02:00
Alessandro Ros
0561810600 add MPEG-4 video format (#236)
related to https://github.com/aler9/mediamtx/issues/1550
2023-04-10 12:06:51 +02:00
Alessandro Ros
c0e3ba2a8d add new example client-read-format-mpeg4audio-save-to-disk (#235) 2023-04-09 19:18:28 +02:00
Alessandro Ros
b6727c07ef add fuzz tests (#234) 2023-04-09 18:02:36 +02:00
Alessandro Ros
5859c9cb29 fix crash when Content-Length is set to a negative value -1 (#233) 2023-04-09 18:00:42 +02:00
Alessandro Ros
2a91a68121 update docs (#232) 2023-04-09 17:01:38 +02:00
Alessandro Ros
d736f1d988 fix SDP unmarshaling with some Chinese cameras (#201) (#228) v3.1.0 2023-04-07 15:05:30 +02:00
Alessandro Ros
1694d9086d use normalized trackID in place of mediaUUID (#226)
This is needed to support clients like the Grandstream GXV3500.

Fixes #190
2023-04-07 12:38:10 +02:00
dependabot[bot]
0cfa877b79 build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 (#227) 2023-04-07 01:10:00 +02:00
Alessandro Ros
2fbba142cc add OnTransportSwitch, OnPacketLost, OnDecodeError to server and client (#225)
These new hooks replace the generic hooks Log() and OnWarning().
2023-04-04 17:10:37 +02:00
Alessandro Ros
f905598d2e link to mediacommon (#223)
* move codecs and bits to mediacommon

* add SafeSetParams() to H264 and H265

* update README
v3.0.0
2023-04-01 16:38:08 +02:00
Alessandro Ros
af3ed2bd83 merge format and formatdecenc into formats (#222) 2023-04-01 13:23:16 +02:00
Alessandro Ros
03b96abf84 rename Read() methods into Marshal() (#221) 2023-03-31 13:09:49 +02:00
Alessandro Ros
71ce818c97 remove deprecated entities (#220) 2023-03-31 12:42:50 +02:00
Alessandro Ros
04f5a4041c change owner (#217) 2023-03-31 12:34:07 +02:00
Felipe Martínez
e3f37a3e36 Support JPEG comment markers in MJPEG encoder (#219)
* Skip JPEG comments

* simplify code

---------

Co-authored-by: Alessandro Ros <aler9.dev@gmail.com>
2023-03-28 14:26:45 +02:00
Alessandro Ros
281c1189e6 fix badges in README (#218) 2023-03-26 17:17:18 +02:00
Alessandro Ros
862b1061f4 fix parsing and generation of control attributes that contain RTSPS URLs (#216) v2.2.2 2023-03-24 21:07:45 +01:00
Alessandro Ros
1ad059a80b server: use absolute RTSP URL as control attribute (#210)
this is necessary in order to make GStreamer's rtspsrc to send query parameters correctly in SETUP requests.
v2.2.1
2023-03-24 10:54:14 +01:00
dependabot[bot]
d37f4139f3 build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 (#215)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 11:46:22 +01:00
dependabot[bot]
868fd901e5 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.2 (#214)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 11:38:39 +01:00
Alessandro Ros
857aa4092f enable dependabot (#212) 2023-03-23 11:31:31 +01:00
Alessandro Ros
80ccb07af7 simplify make mod-tidy (#211) 2023-03-23 11:28:06 +01:00
Alessandro Ros
d369d215c2 client: replace OnWarning with Log (#208) v2.2.0 2023-03-19 18:15:33 +01:00
Alessandro Ros
1005b38ec5 add benchmark (#207) 2023-03-18 16:45:21 +01:00
Alessandro Ros
f0540b4eee fix timestamp encode error after some hours (#206)
previous formula was: uint32(a + uint32(b))
this formula overflows two times, while it should overflow once.
new formula is: uint32(uint64(a) + uint64(b))
v2.1.7
2023-03-14 17:55:06 +01:00
Alessandro Ros
bc248c8e1d simplify FMTP decoding and encoding (#205) v2.1.6 2023-03-13 22:44:31 +01:00
Alessandro Ros
13fab2962e make Opus SDP always return 48khz and 2 channels (#204)
RFC7587 mandates 48khz as sample rate and 2 channels inside the SDP.
These values can be dynamically adjusted by the stream, but they must
not be touched inside the SDP.
2023-03-13 22:03:49 +01:00
Alessandro Ros
8df5d21c35 formatdecenc/rtph264: fix removing Annex-B even when first packet is not Annex-B (#199) (#200) (#202) v2.1.5 2023-03-13 18:56:46 +01:00
Alessandro Ros
253be9913e update docs (#203) 2023-03-13 18:53:36 +01:00
Alessandro Ros
4b7fed505b fix codecov link (#198) v2.1.4 2023-03-09 14:31:27 +01:00
Alessandro Ros
8be6bf735d codecs/h265: support SPS with long_term_ref_pics_present_flag (#197)
Fixes https://github.com/aler9/rtsp-simple-server/issues/1441
2023-03-09 14:26:58 +01:00