mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-12 06:08:33 +00:00
Some of the notable changes revolve around fixing issues with the Group Chat, refining the UX/UI, adding stream iso-recording, enabling camera zooming on Android, and allowing users to select multiple audio sources, disable audio, or disable the video.
Change list
Audio can be disabled and/or mixed with more than one audio input device
video can be disabled, allowing for audio-only publishing
avatar silhouette takes the place of a stream without a video
Some Android cameras can now zoom-in with a swipe up action.
The Create Invite Link option lets you select some advanced parameters, like bitrate and stereo, in a very easy way.
reduced the size of the preview window ; for camera and screens hare
made all OBS/invite links easier to copy, dragged into OBS v25, and seleced.
Most OBS/invite links can be right clicked to access custom menu
copy to clipboard links that are clicked
Viewers in Group Chat can magnify and increase the bitrate of one video at a time.
Pseudo-Fullscreen works in group chat now
Room names can be accessed via https://obs.ninja/myroomnamehere
You can record videos via the group control room; selectable bitrates. webm Format
filename of recorded files is the timestamp of the ended recording time; milliseconds
new iOS error messages
firefox shows camera labels now
Add a "secure" mode that increases verbosity and prevents a stream being accessed more than once
electron app interface works with the production code
It is harder to hit 'ready to go', before the camera is actually ready
expanded help information in a less annoying way
if you deny Screen-share permissions, it will let you try again without a page refresh
Custom generated invite links, if dragged into OBS v25, will be named according to the given label
Got rid of the cartoon cat; too much visual complexity
Numerous UX changes to the Control Room page
Codec remains set at VP8, but progress in OBS has made on its issues.
Added a new TURN video relay server to US West (LA). I've also increased the capacity of the existing US-Central server. 16x more capacity over all.
Video Control bar hidden in more cases; or delayed in showing
Increased readability of some fonts
Improved mobile layout and accessibility
Mute/Unmute button has been made more secure
No need to toggle mute in group chat to get the audio to work
pressing enter on input fields auto submits; no clicking needed
Dynamic bitrates improved
Group automixer improved a bit
no-cursor option works with Electron app now
cleaned up the Error page in OBS if it fails to load a video; no more 'leaked' streamIDs
renamed streamid, permaid, and roomid. They are now room, push, and view. backwards compatible tho still.
Invite to Room page is more mobile friendly and clean; less noise
iPad Pro treated like an iOS device; limits resolution to 720p
rounded corners of the big buttons because "looks more modern". ;/
Updated Licence and added a CLA
Added translations / languages via a template system
electron-app improvements, such as the ability to select OUTPUT AUDIO Destination
Fixed a few bugs reported over the last few days, since production release
and many others that I likely forgot about
116 lines
4.5 KiB
JavaScript
116 lines
4.5 KiB
JavaScript
|
|
/* We need to create dynamic keyframes to show the animation from full-screen to normal. So we create a stylesheet in which we can insert CSS keyframe rules */
|
|
$("body").append('<style id="lightbox-animations" type="text/css"></style>');
|
|
|
|
/* Click on the container */
|
|
$(".column").on('click', function() {
|
|
/* The position of the container will be set to fixed, so set the top & left properties of the container */
|
|
|
|
var bounding_box = $(this).get(0).getBoundingClientRect();
|
|
$(this).css({ top: bounding_box.top + 'px', left: bounding_box.left -20+ 'px' });
|
|
|
|
/* Set container to fixed position. Add animation */
|
|
$(this).addClass('in-animation');
|
|
|
|
/* An empty container has to be added in place of the lightbox container so that the elements below don't come up
|
|
Dimensions of this empty container is the same as the original container */
|
|
$("#empty-container").remove();
|
|
$('<div id="empty-container" class="column"></div>').insertAfter(this);
|
|
|
|
/* To animate the container from full-screen to normal, we need dynamic keyframes */
|
|
var styles = '';
|
|
styles = '@keyframes outlightbox {';
|
|
styles += '0% {';
|
|
styles += 'height: 100%;';
|
|
styles += 'width: 100%;';
|
|
styles += 'top: 0px;';
|
|
styles += 'left: 0px;';
|
|
styles += '}';
|
|
styles += '50% {';
|
|
styles += 'height: 220px;';
|
|
styles += 'top: ' + bounding_box.y + 'px;';
|
|
styles += '}';
|
|
styles += '100% {';
|
|
styles += 'height: 220px;';
|
|
styles += 'width: '+bounding_box.width+'px;';
|
|
styles += 'top: ' + bounding_box.y + 'px;';
|
|
styles += 'left: ' + bounding_box.x + 'px;';
|
|
styles += '}';
|
|
styles += '}';
|
|
|
|
/* Add keyframe to CSS */
|
|
$("#lightbox-animations").get(0).sheet.insertRule(styles, 0);
|
|
|
|
/* Hide the window scrollbar */
|
|
$("body").css('overflow', 'hidden');
|
|
});
|
|
|
|
/* Click on close button when full-screen */
|
|
$(".close").on('click', function(e) {
|
|
$(this).hide();
|
|
$(".container-inner").hide();
|
|
/* Window scrollbar normal */
|
|
$("body").css('overflow', 'auto');
|
|
|
|
var bounding_box = $(this).parent().get(0).getBoundingClientRect();
|
|
$(this).parent().css({ top: bounding_box.top + 'px', left: bounding_box.left + 'px' });
|
|
|
|
/* Show animation */
|
|
$(this).parent().addClass('out-animation');
|
|
|
|
e.stopPropagation();
|
|
});
|
|
|
|
/* On animationend : from normal to full screen & full screen to normal */
|
|
$(".column").on('animationend', function(e) {
|
|
/* On animation end from normal to full-screen */
|
|
if(e.originalEvent.animationName == 'inlightbox') {
|
|
$(this).children(".close").show();
|
|
$(this).children(".container-inner").show();
|
|
}
|
|
/* On animation end from full-screen to normal */
|
|
else if(e.originalEvent.animationName == 'outlightbox') {
|
|
/* Remove fixed positioning, remove animation rules */
|
|
$(this).removeClass('in-animation').removeClass('out-animation').removeClass('columnfade');
|
|
|
|
/* Remove the empty container that was earlier added */
|
|
$("#empty-container").remove();
|
|
|
|
/* Delete the dynamic keyframe rule that was earlier created */
|
|
$("#lightbox-animations").get(0).sheet.deleteRule(0);
|
|
}
|
|
});
|
|
|
|
|
|
// multiselect dropdowns
|
|
$('.multiselect-trigger').on('mousedown touchend focusin focusout', function(e) {
|
|
var state = $(this).data('state') || 0;
|
|
if( state == 0 ) {
|
|
// open the dropdown
|
|
$(this).data('state', '1').addClass('open').removeClass('closed');
|
|
$(this).find('.fa').removeClass('fa-chevron-down').addClass('fa-chevron-up');
|
|
$(this).parent().find('.multiselect-contents').show();
|
|
$(this).parent().find('.multiselect-contents').find('input[type="checkbox"]').parent().show();;
|
|
$(this).parent().find('.multiselect-contents').find('input[type="checkbox"]').show();;
|
|
} else {
|
|
// close the dropdown
|
|
$(this).data('state', '0').addClass('closed').removeClass('open');
|
|
$(this).find('.fa').removeClass('fa-chevron-up').addClass('fa-chevron-down');
|
|
//$(this).parent().find('.multiselect-contents').hide();
|
|
//$(this).parent().find('.multiselect-contents').find('input[type="checkbox"]').hide();
|
|
$(this).parent().find('.multiselect-contents').find('input[type="checkbox"]').not(":checked").parent().hide();;
|
|
$(this).parent().find('.multiselect-contents').find('input[type="checkbox"]').hide();;
|
|
}
|
|
e.preventDefault();
|
|
});
|
|
|
|
|
|
// when no preference is checked, uncheck the others
|
|
$('#multiselect1').on('change', function(e) {
|
|
if( $(this).is(':checked') ) {
|
|
$(this).parent().parent().find('input[type="checkbox"]').not('#multiselect1').prop('checked', false);
|
|
}
|
|
e.preventDefault();
|
|
});
|
|
|