Skip to content

Commit

Permalink
Rename import tot camerautils
Browse files Browse the repository at this point in the history
  • Loading branch information
hexbabe committed Dec 18, 2024
1 parent 4aef8b1 commit 7f47f80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions robot/web/stream/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"go.viam.com/rdk/gostream"
"go.viam.com/rdk/logging"
"go.viam.com/rdk/robot"
cameraStreamUtils "go.viam.com/rdk/robot/web/stream/camera"
camerautils "go.viam.com/rdk/robot/web/stream/camera"
)

// ErrClosed indicates that the StreamState is already closed.
Expand Down Expand Up @@ -332,7 +332,7 @@ func (state *StreamState) tick() {
}

func (state *StreamState) streamH264Passthrough() error {
cam, err := cameraStreamUtils.Camera(state.robot, state.Stream)
cam, err := camerautils.Camera(state.robot, state.Stream)
if err != nil {
return err
}
Expand Down Expand Up @@ -393,7 +393,7 @@ func (state *StreamState) streamH264Passthrough() error {
}

func (state *StreamState) unsubscribeH264Passthrough(ctx context.Context, id rtppassthrough.SubscriptionID) error {
cam, err := cameraStreamUtils.Camera(state.robot, state.Stream)
cam, err := camerautils.Camera(state.robot, state.Stream)
if err != nil {
return err
}
Expand Down

0 comments on commit 7f47f80

Please sign in to comment.