Closed johannest closed 7 years ago
Better ask from the customer first: I suppose that it is not that important to be able to DnD resize videos
More like setting the size in the server-side like in normal Vaadin Components
Here's a sketch UI that is used with the add-on:
And comments from customer: [11/05/2017, 13.18.34] Andrey: In first prototype this is how webcam interface is going to look like [11/05/2017, 13.18.50] Andrey: the white box under "drawing pad" [11/05/2017, 13.19.04] Andrey: so at least half of the screen [11/05/2017, 13.19.20] Andrey: make the local cam small and remote cam big [11/05/2017, 13.19.38] Andrey: and buttons to swap cameras so the user can adjust his own webcam in bigger size and then switch back to thumbnail mode again
And here's example on how the webcams should be aligned:
Based on this and previous comment there might not be a need to have API for resizing of cameras. At least now it looks like that cams have static sizes and the sizes can be swapped with a button. What do you think @johannest?
@johannest ATM there's Java-API for setting the width of the self-camera / peer camera, and button that can be used to toggle the sizes. I also did some layouting so that the layout would match the provided sketch. I think this might be enough for this issue?
Sounds good. Yes, I suppose that should be enough!
Looks good!
So @johannest did you have something like this in mind: