mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #502] Reason for sending Redundent packets for stream operations? #272
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abdullah2993 on GitHub (Aug 9, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/502
What is the reason for sending redundant packets in case if Desktop/Webcam streaming? After processing every frame a new packet is sent to get the new frame instead the client should keep sending frames untill ti received a stop packet.
@MaxXor commented on GitHub (Aug 9, 2016):
The reason was that the server will receive the frames too fast and does not come afterwards with updating the remote desktop/webcam window which causes huge cpu load. This is a limitation due to the win32 message loop as this processes currently the redrawing of the frames in the window. One way to fix this is draw the frames with the gpu via directx/opengl.
So, at the moment the server requests the next frame when it's ready. 😄
@d3agle commented on GitHub (Aug 9, 2016):
This post seems to be very informative with tips regarding this issue: http://stackoverflow.com/a/11025428
It would be really nice to have some sort of surface that is rendered utilizing GPU capabilities, so the packets wouldn't have to be throttled in this case