decentralized-video-chat
decentralized-video-chat copied to clipboard
Local video doesn't resize after drag
Normally, the local video frame will increase in size when the window size increases, and vice versa.
However, this mechanism stops working after dragging the local video around.
Once dragged, it will keep it's current size, no matter the window size.
The issue likely stems from using jQuery to resize the video frame in the desktop layout. In the mobile layout, this problem doesn't exist.
Steps to Reproduce :-
-
Start the Application $ npm start
-
Open Chrome Browser and enter localhost:3000
-
Go to following URL :- http://localhost:3000/newcall
-
Pick a call name
-
Copy the Link for your call
-
Open the Copied Link in a new tab of chrome and resize the chrome window
-
Try to drag the local video around the screen.
-
Expand the Chrome window to full screen again and you will notice the size of local video being reduced.
Google Chrome | 81.0.4044.129Â (Official Build)Â (64-bit) |
---|---|
Revision | 3d71af9f5704a40b85806f4d08925db24605ba25-refs/branch-heads/4044@{#979} |
OS | macOS Version 10.12.6 (Build 16G29) |
JavaScript | V8Â 8.1.307.31 |
Flash | 32.0.0.363 /Users/pidugve/Library/Application Support/Google/Chrome/PepperFlash/32.0.0.363/PepperFlashPlayer.plugin |
User Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36 |
Command Line | /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end --enable-audio-service-sandbox |
Executable Path | /Applications/Google Chrome.app/Contents/MacOS/Google Chrome |
Ahh, so this happens not only when resizing, but also when just dragging the video. Interesting!