Skip to content

Commit

Permalink
[mirotalkbro] - improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 20, 2025
1 parent 797e405 commit 81e9b5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license For open source under AGPL-3.0
* @license For private project or commercial purposes contact us at: [email protected]
* @author Miroslav Pejic - [email protected]
* @version 1.1.18
* @version 1.1.19
*/

require('dotenv').config();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalkbro",
"version": "1.1.18",
"version": "1.1.19",
"description": "P2P WebRTC audio, video and screen live broadcast",
"main": "app/server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/js/broadcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ video.addEventListener('wheel', function (e) {
});

function toggleFullScreen(video) {
if (isMobileDevice) return;
isFullScreen() ? goOutFullscreen() : goInFullscreen(video);
}

Expand Down Expand Up @@ -928,7 +929,6 @@ togglePIP.addEventListener('click', handleVideoPIP);
handleVideoPIPonExit();

function handleVideoPIP() {
if (isMobileDevice) return;
if (!video.srcObject) {
popupMessage('toast', 'Picture-in-Picture', 'There is no video for PIP', 'top');
} else {
Expand Down
2 changes: 1 addition & 1 deletion public/js/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ video.addEventListener('click', toggleFullScreen);
video.addEventListener('wheel', handleZoom);

function toggleFullScreen() {
if (isMobileDevice) return;
isFullScreen() ? goOutFullscreen(video) : goInFullscreen(video);
}

Expand Down Expand Up @@ -498,7 +499,6 @@ togglePIP.addEventListener('click', handleVideoPIP);
handleVideoPIPonExit();

function handleVideoPIP() {
if (isMobileDevice) return;
if (!video.srcObject) {
popupMessage('toast', 'Picture-in-Picture', 'There is no video for PIP', 'top');
} else {
Expand Down

0 comments on commit 81e9b5b

Please sign in to comment.