Skip to content

Commit

Permalink
Update video-stream.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Aug 26, 2022
1 parent ccf5cdb commit fa396c4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ export class AzurePerceptVideoStreamComponent implements OnInit {

renderImage(imgBuffer: any, streamnum: number) {
this.frameCount++
if (this.frameCount % 5 != 0) {
return
}

// console.log('renderImage... frame#=' + frameCount + ", len=" + imgBuffer.byteLength);

var packet = new Uint8Array(imgBuffer)
Expand Down

0 comments on commit fa396c4

Please sign in to comment.