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

[RSDK-9847] - Bump gortsplib dep #80

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

seanavery
Copy link
Collaborator

@seanavery seanavery commented Jan 28, 2025

Description

Bumping gortsplib to get latest improvements from h264/5 decoders. There seems to be some progress in improving fragmentation units here in the last few months.

The only deprecation change is moving from PacketPTS to PacketPTS2.

Tests

  • h264 ✅
    • image ✅
    • passthrough ✅
  • h265 image ✅
  • mjpeg ✅

@seanavery seanavery marked this pull request as draft January 28, 2025 22:08
@seanavery seanavery marked this pull request as ready for review January 29, 2025 21:59
@seanavery seanavery requested review from randhid and hexbabe January 29, 2025 21:59
@@ -6,22 +6,22 @@ toolchain go1.23.2

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do reconfigures/reboot behavior look ok?

@@ -202,7 +201,7 @@ func TestRTSPCameraPerformance(t *testing.T) {
timeoutCtx, timeoutCancel := context.WithTimeout(context.Background(), time.Second*10)
defer timeoutCancel()
config := resource.NewEmptyConfig(camera.Named("foo"), ModelAgnostic)
config.ConvertedAttributes = &Config{Address: "rtsp://" + h.s.RTSPAddress}
config.ConvertedAttributes = &Config{Address: "rtsp://" + h.s.RTSPAddress + "/"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did we confirm that this doesn't double append /?

if !ok {
return
}
ntp := time.Now()
u, err := fp.ProcessRTPPacket(pkt, ntp, pts, true)
u, err := fp.ProcessRTPPacket(pkt, ntp, time.Duration(pts), true)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is PTS not time since epoch?

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.

2 participants