Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed invalid PMT and PAT version increments #38

Merged
merged 1 commit into from
Mar 19, 2022
Merged

Conversation

asticode
Copy link
Owner

No description provided.

@coveralls
Copy link

coveralls commented Mar 17, 2022

Coverage Status

Coverage increased (+0.2%) to 77.339% when pulling e986edc on version-number into 2009390 on master.

@@ -52,11 +53,18 @@ func TestMuxer_generatePAT(t *testing.T) {
assert.Equal(t, MpegTsPacketSize, muxer.patBytes.Len())
assert.Equal(t, patExpectedBytes(0, 0), muxer.patBytes.Bytes())

// to check version number increment
// Version number shouldn't change
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to do the same test for PMT. Otherwise the code looks good :)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right I've added the same test for PMT 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think now it's ready to merge :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you've done it already :)

@asticode asticode merged commit 4abe66a into master Mar 19, 2022
@asticode asticode deleted the version-number branch March 19, 2022 09:39
aler9 added a commit to bluenviron/mediamtx that referenced this pull request Apr 21, 2022
JoMallari98 pushed a commit to JoMallari98/rtsp-server that referenced this pull request Feb 25, 2023
eliteprodev pushed a commit to eliteprodev/rtc-simple-server that referenced this pull request May 17, 2023
eliteprodev added a commit to eliteprodev/rtc-simple-server that referenced this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants