-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Currently snapshot.txt returns the result for only viewer key (the one specified as the get parameter), but I think we should have some possibility of sending a snapshot for all viewer keys in the exposedModel in one transaction, so one could open a new endpoint "snapshots.txt" which returns JSON-delimited basd64-encoded screenshots for each viewer, basically like this:
{
viewer1: BASE64_ENCODED_PNG,
viewer2: BASE64_ENCODED_PNG
}
This should also be seen in conjunction with the auto-proxy branch, so perhaps the format should be:
{
viewer1: {
viewerElement: COPY_OF_MATRICES,
rgb: BASE64_ENCODED_PNG,
depth: BASE64_ENCODED_PNG
},
viewer2: {
viewerElement: COPY_OF_MATRICES,
rgb: BASE64_ENCODED_PNG,
depth: BASE64_ENCODED_PNG
}
}
When we switch over to binary transfer for images again, this could easily be solved by returning one huge image that is shared between the different parts (or use more advanced techniques).
Metadata
Metadata
Assignees
Labels
No labels