Skip to content

Any efficient way to pass the frame buffer to the WebView? #4177

Answered by JonasKruckenberg
rustdesk asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I was trying to find out how to use shared memory in Tauri, but sadly I haven't found any related API.

That's because Tauri chose Message Passing as it's IPC architecture not Shared Memory. We basically chose to trade performance in exchange for security. So shared memory for zero-copy data exchange is neither supported nor planned. But our current IPC system isn't perfect either, the bad performance with binary data is something we will be working on after v1 and while not zero-copy, I hope we can deliver performance comparable to WebRTC.

Replies: 1 comment 19 replies

Comment options

You must be logged in to vote
19 replies
@flo-at
Comment options

@FabianLars
Comment options

@flo-at
Comment options

@FabianLars
Comment options

@flo-at
Comment options

Answer selected by rustdesk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants