Skip to content

[BUG] Corrupt streaming display for some frames #677

@MikeNice-IB

Description

@MikeNice-IB

Describe the bug
When scanning fingerprints , some random frames are partially obscured by a dark gray bar - generally when the image changes during scan, not when showing a constant image over and over.

To Reproduce
Steps to reproduce the behavior:

  1. Perform any fingerprint scan and observe the streaming image during the scan.

Expected behavior
Streaming display should show just the fingerprint images. The same streaming images show no problem on a web browser reading the stream.

Screenshots
ScanCurtain

Environment (please complete the following information):
Edition Windows 10 Pro
Version 22H2
OS build 19045.5131
Experience Windows Feature Experience Pack 1000.19060.1000.0

Attach logs

Additional context

Streaming located at registration-client/registration/registration-client/src/main/java/io/mosip/registration/controller/device/Streamer.java appears to add an extra byte to each image: line 166 allocates 1 byte more than the embedded image length as obtained in the content-length of the stream.

Metadata

Metadata

Labels

duplicateThis issue or pull request already existsinvalidThis doesn't seem rightwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions