Skip to content

Commit

Permalink
DATA-2505 Implement default mimetype (change to JPEG) (viamrobotics#4253
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vijayvuyyuru authored Aug 1, 2024
1 parent 115da30 commit 2fdac19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/camera/collectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func newReadImageCollector(resource interface{}, params data.CollectorParams) (d
mimeType := params.MethodParams["mime_type"]
if mimeType == nil {
// TODO: Potentially log the actual mime type at collector instantiation or include in response.
strWrapper := wrapperspb.String(utils.MimeTypeRawRGBA)
strWrapper := wrapperspb.String(utils.MimeTypeJPEG)
mimeType, err = anypb.New(strWrapper)
if err != nil {
return nil, err
Expand Down

0 comments on commit 2fdac19

Please # to comment.