119 Commits
10.1 ... 13.4

Author SHA1 Message Date
Steve Seguin
d48483f113 Version 13.4 Release
pushed to production on November 24th
2020-11-24 05:25:07 -05:00
Steve Seguin
595b233327 Update turnserver.md 2020-11-22 00:30:47 -05:00
Steve Seguin
e64fa5c598 Update turnserver.md 2020-11-22 00:28:04 -05:00
Steve Seguin
40ff06c77b Update main.js 2020-11-09 18:14:01 -05:00
Steve Seguin
9d1e1d7f53 version 13.2
-bug fixes
-camera settings added
2020-11-09 16:24:26 -05:00
Steve Seguin
a6332b347a minor fix for rtc.ninja 2020-11-02 02:59:34 -05:00
Steve Seguin
84e6565c01 v13.1 2020-11-02 02:40:44 -05:00
Steve Seguin
589d0e4575 Merge pull request #420 from steveseguin/iframe-api-docs
Create IFRAME.md
2020-10-20 00:13:26 -04:00
Steve Seguin
c08d707a7f Create IFRAME.md 2020-10-20 00:12:51 -04:00
Steve Seguin
115f24fe96 Merge pull request #384 from Sleavely/patch-1
Use pointer cursor on the columns
2020-10-17 22:05:19 -04:00
Joakim Hedlund
db522b4ba4 Removes typo 2020-10-17 12:19:19 +02:00
Joakim Hedlund
20b68aff06 Use a cursor pointer when columns not expanded 2020-10-17 12:17:12 +02:00
Steve Seguin
2f0a1ba99e Update README.md 2020-10-13 16:29:15 -04:00
Steve Seguin
61883e5e54 Merge pull request #359 from kindlyops/elliot/tiny-cleanup
minor cleanups
2020-10-02 13:48:52 -04:00
Elliot Murphy
706d19bfd4 Specify which macOS OBS versions need workaround
This should make the docs a bit more resilient against
confusion with future OBS releases.

Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
2020-10-01 23:51:21 -04:00
Elliot Murphy
dc63c510c0 Link to new podcast series
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
2020-10-01 23:50:46 -04:00
Elliot Murphy
1d4b0dd02f Fix spelling typo
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
2020-10-01 23:45:54 -04:00
Elliot Murphy
ac7a2d15cb Remove unreachable code in keyboard shortcuts
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
2020-10-01 23:45:01 -04:00
Steve Seguin
12fc6e0f1f Update README.md 2020-09-25 16:27:11 -04:00
Steve Seguin
7af76cfa7b Update index.html 2020-09-24 14:16:35 -04:00
Steve Seguin
a3156bbfb8 Update main.js 2020-09-24 14:15:53 -04:00
Steve Seguin
bf24d6c02c Update README.md 2020-09-23 09:27:14 -04:00
Steve Seguin
ef513acdd7 Update README.md 2020-09-23 09:26:48 -04:00
Steve Seguin
5cca338c9e Update README.md 2020-09-23 09:26:37 -04:00
Steve Seguin
883d5f10ab Update README.md 2020-09-23 09:26:28 -04:00
Steve Seguin
6ab97abe5d Update README.md 2020-09-23 09:25:53 -04:00
Steve Seguin
1cf307a8b4 Update README.md 2020-09-23 09:25:04 -04:00
Steve Seguin
c619810dd5 Update README.md 2020-09-23 09:24:42 -04:00
Steve Seguin
d78a7ec29f Update README.md 2020-09-23 09:24:17 -04:00
Steve Seguin
c88b97f388 Update README.md 2020-09-23 09:22:10 -04:00
Steve Seguin
cf6db6c0d8 Merge pull request #335 from KovalevArtem/patch-4
Update ru.json
2020-09-18 16:24:42 -04:00
KovalevArtem
0759b62306 Update ru.json 2020-09-18 23:23:02 +03:00
Steve Seguin
fddc8bbf74 Update README.md 2020-09-16 08:09:29 -04:00
Steve Seguin
57e80baf24 Update turnserver.md 2020-09-16 03:01:32 -04:00
Steve Seguin
88798d7694 Update turnserver.md 2020-09-16 02:48:20 -04:00
Steve Seguin
16e5a7f4e6 Update README.md
my old TURN server that isn't be used by any official OBS.Ninja deployment currently is still being heavily used; just got a $30 bill for someone's abusive streaming on it over the last few hours alone. .. ouch. I'm going to stop it I think and likely secure the existing TURN server with temporary tokens. I've supplied enough info on how to deploy your own.
2020-09-16 02:45:16 -04:00
Steve Seguin
4bcc628126 Merge pull request #326 from jcalado/patch-1
Update pt.json
2020-09-15 09:47:50 -04:00
Joel Calado
1cec930afb Update pt.json 2020-09-15 11:18:50 +01:00
Steve Seguin
b270267ec9 Delete template.js 2020-09-14 09:58:42 -04:00
Steve Seguin
52ab49158e Add files via upload 2020-09-14 09:36:21 -04:00
Steve Seguin
de23614d69 Release v12
https://www.reddit.com/r/OBSNinja/comments/irz5be/obsninja_version_12_released_change_log_here/
2020-09-14 09:35:42 -04:00
Steve Seguin
308e81cf12 Merge pull request #315 from COOLIGUAY/patch-3
Update es.json
2020-09-12 06:38:41 -04:00
Monsteer
1b9723ebd6 Small fix 2020-09-12 12:33:10 +02:00
Monsteer
523863f29d Update es.json
Updated to the new additions
2020-09-12 12:29:00 +02:00
Steve Seguin
d6f35092f1 Update turnserver.md 2020-09-12 06:06:46 -04:00
Steve Seguin
031fab960a Update turnserver.md 2020-09-12 06:05:28 -04:00
Steve Seguin
34a6bb49d0 Create turnserver2.conf
this one uses a paid SSL cert
2020-09-12 01:41:40 -04:00
Steve Seguin
059a575b33 Merge pull request #314 from theprincy/patch-6
Update Italian
2020-09-11 17:45:48 -04:00
Notelseit.com
7a51c5a826 Update Italian 2020-09-11 23:44:23 +02:00
Steve Seguin
02c93549d6 Update README.md 2020-09-11 07:52:54 -04:00
Steve Seguin
fb10013ca2 Update README.md 2020-09-11 07:52:33 -04:00
Steve Seguin
5cf966b0e8 Update README.md 2020-09-11 07:52:00 -04:00
Steve Seguin
b40e743253 Update README.md 2020-09-11 07:51:30 -04:00
Steve Seguin
1cfadb29e2 Update README.md 2020-09-11 07:50:47 -04:00
Steve Seguin
a787a78892 Update install.md 2020-09-11 07:46:32 -04:00
Steve Seguin
9cd7b23436 Update install.md 2020-09-11 07:32:54 -04:00
Steve Seguin
afc6e4f059 Create install.md 2020-09-11 07:32:30 -04:00
Steve Seguin
df6c147311 Update turnserver.md 2020-09-10 09:49:01 -04:00
Steve Seguin
0d1606833d Update turnserver.md 2020-09-10 09:29:08 -04:00
Steve Seguin
b8cfecb108 Update turnserver.md 2020-09-10 09:17:20 -04:00
Steve Seguin
31b9df5a06 Update turnserver.md 2020-09-10 09:12:03 -04:00
Steve Seguin
905c39a58b Update turnserver.md 2020-09-10 09:09:27 -04:00
Steve Seguin
d52fb0905e Update turnserver.md 2020-09-10 08:51:22 -04:00
Steve Seguin
6d19c082f4 Update README.md 2020-09-10 08:46:40 -04:00
Steve Seguin
bae12cbf73 Update README.md 2020-09-10 08:44:15 -04:00
Steve Seguin
a0031fff0c Update turnserver.md 2020-09-10 08:42:53 -04:00
Steve Seguin
5115ae7735 Update turnserver.md 2020-09-10 08:42:31 -04:00
Steve Seguin
a1aab474fa Update turnserver.md 2020-09-10 08:41:58 -04:00
Steve Seguin
17c2ae5fc6 Update turnserver.md 2020-09-10 06:16:38 -04:00
Steve Seguin
268460dcd5 Update turnserver.md 2020-09-10 02:14:38 -04:00
Steve Seguin
e7ba4f9e8d Update turnserver.conf 2020-09-10 02:04:41 -04:00
Steve Seguin
214c8d2a76 Update turnserver.md 2020-09-10 02:03:21 -04:00
Steve Seguin
c2fea315a6 Update turnserver.md 2020-09-10 02:01:04 -04:00
Steve Seguin
da2b18f642 Update turnserver.md 2020-09-10 02:00:43 -04:00
Steve Seguin
c310afa1f7 Update turnserver.md 2020-09-10 02:00:09 -04:00
Steve Seguin
c801ceb19a Update turnserver.md 2020-09-10 01:25:36 -04:00
Steve Seguin
b0231f4e00 Add files via upload 2020-09-09 03:01:47 -04:00
Steve Seguin
aa24a4be94 did I fix it? 2020-09-09 02:58:34 -04:00
Steve Seguin
d20aa3cd43 Merge pull request #311 from jcalado/update-portuguese
update portuguese translation
2020-09-09 02:14:20 -04:00
Joel Calado
3b411091d4 update portuguese translation 2020-09-09 07:12:04 +01:00
Steve Seguin
bf9e520f1c try try again 2020-09-09 01:23:04 -04:00
Steve Seguin
fb8271142b Delete default.json 2020-09-09 01:06:13 -04:00
Steve Seguin
680535412e Add files via upload 2020-09-09 01:05:51 -04:00
Steve Seguin
c23aaced01 updated language files a small bit 2020-09-09 00:33:10 -04:00
Steve Seguin
d4f29c6491 Update README.md 2020-09-08 03:05:22 -04:00
Steve Seguin
05082022cd Rename turnserver.MD to turnserver.md 2020-09-08 02:31:56 -04:00
Steve Seguin
d2d9e4918d Update turnserver.MD 2020-09-08 02:30:57 -04:00
Steve Seguin
f1f146a8a5 Update turnserver.MD 2020-09-08 02:28:39 -04:00
Steve Seguin
0c60f1fdd6 Update turnserver.MD 2020-09-08 02:27:53 -04:00
Steve Seguin
daa39963e8 Update turnserver.MD 2020-09-08 02:27:24 -04:00
Steve Seguin
5e5c1592bf Update turnserver.MD 2020-09-08 02:26:41 -04:00
Steve Seguin
f3b7e86095 Update turnserver.MD 2020-09-08 02:25:46 -04:00
Steve Seguin
eeaace7788 Update turnserver.MD 2020-09-08 02:25:37 -04:00
Steve Seguin
5868223c35 Create turnserver.MD 2020-09-08 02:25:06 -04:00
Steve Seguin
6be0fcf79b Merge pull request #302 from COOLIGUAY/patch-2
Update es.json
2020-09-07 16:13:55 -04:00
Monsteer
a9ca78ee2a Update es.json
Things I forgot to change...
2020-09-07 20:28:13 +02:00
Monsteer
2a481a8dbe Update es.json
Small fixes/typing errors.
2020-09-07 20:16:47 +02:00
Steve Seguin
472a83870a Add files via upload
speedtest stats fix
title bar updates
stats menu UI updates
electron app tweaked
etc
2020-09-07 06:20:18 -04:00
Steve Seguin
7e839a0a5b Merge pull request #269 from jcalado/new-stats-ui
new stats ui
2020-09-05 23:21:48 -04:00
Joel Calado
61533e8c9e new stats ui 2020-09-05 22:03:19 +01:00
Steve Seguin
c618b91aa5 Merge pull request #268 from COOLIGUAY/patch-1
Update es.json
2020-09-04 18:03:14 -04:00
Monsteer
c15f33934b Update es.json 2020-09-04 23:27:54 +02:00
Steve Seguin
1df852448b reorganized stats page elements
stats menu for view/push videos has been refactored a bit; cleaned up for easier CSS/templating.
2020-09-04 15:56:03 -04:00
Steve Seguin
fb9bfcc12b push to talk, room fixes, minor tweaks
largely Untested -- not a proper release.
2020-09-04 07:33:53 -04:00
Steve Seguin
af516397d8 Merge pull request #266 from jcalado/update-pt-translation
Update pt.json
2020-09-02 17:20:15 -04:00
Joel Calado
b43a21e860 Update pt.json 2020-09-02 21:30:08 +01:00
Steve Seguin
4dbb6613ef Add files via upload
removing the extra tabs I introduced
2020-08-27 04:31:40 -04:00
Steve Seguin
d33f5bef4c Merge pull request #260 from steveseguin/contrib+patches
try #2.
2020-08-27 04:29:06 -04:00
Steve Seguin
5eefa9021d try #2.
Forgot to pull before I merged.
2020-08-27 04:27:45 -04:00
Steve Seguin
05b021e18c Merge pull request #259 from steveseguin/revert-258-pig-latin-and-novideo-fix
Revert "Add files via upload"
2020-08-27 04:18:21 -04:00
Steve Seguin
c7bbfc4b15 Revert "Add files via upload" 2020-08-27 04:18:09 -04:00
Steve Seguin
235908d0e6 Merge pull request #258 from steveseguin/pig-latin-and-novideo-fix
Add files via upload
2020-08-27 04:14:17 -04:00
Steve Seguin
9ad233cfa9 Add files via upload 2020-08-27 04:13:48 -04:00
Steve Seguin
7425fceeec Merge pull request #257 from jcalado/master
Tweak invite like generator UI
2020-08-27 04:06:22 -04:00
Joel Calado
2caf55089f Merge branch 'master' of https://github.com/jcalado/obsninja 2020-08-27 08:39:44 +01:00
Joel Calado
b31248c191 Tweak Reusable Invite generator UI
Separates settings in groups to improve further expansion of available toggles
Increases margins and padding
2020-08-27 08:37:41 +01:00
Joel Calado
3215094833 Tweak Reusable Invite generator UI
Separates settings in groups to improve further expansion of available toggles
Increases margins and padding
2020-08-27 08:30:11 +01:00
Steve Seguin
75ba4f4b4d Version 10.3 - beta
fixed more bugs; minor polish in features
2020-08-26 06:29:17 -04:00
Steve Seguin
8ff1a0f6b2 v10.2 - bug fixes
Fixed a bug with the group room, where videos froze on guest re-join

added &scene=0 (&scene) , which auto-adds videos to the scene without interaction

Updated the &mirror URL flag to have 0, 1, 2, and 3 as options.

-no mirror parameter in the URL is the default.  Local previews are mirrored
-mirror=0 turns off ALL mirroring, for everything.
-mirror=1 inverts the default.  Local previews are not mirrored, but guests are mirrored.
-mirror=2 mirrors ALL videos
-mirror=3 is the same as default, except the entire website is mirrored, including Text (useful for teleprompters?)

Experimental Code Change :  When the data-channel closes, I auto-close the video channels as well, and try to reload the video from scratch.  I do not wait for the video stream to time out.  This *might* fix a 'stacking video' problem, as well as reducing the "frozen frame" video problem when a guest reloads.

This 10.2 release is currently on https://obs.ninja/beta for testing
2020-08-24 03:14:27 -04:00
41 changed files with 120012 additions and 1948 deletions

215
IFRAME.md Normal file
View File

@@ -0,0 +1,215 @@
## OBS.Ninja - iFrame API documentation
OBS.Ninja (OBSN) is offers here a simple and free solution to quickly enable real-time video streaming in their websites. OBSN wishes to make live video streaming development accessible to any developer, even novices, yet still remain flexible and powerful.
While OBS.Ninja does offer source-code to customize the application and UI at a low level, this isn't for beginners and it is rather hard to maintain. As well, due to the complexity of video streaming in the web, typical approaches for offering API access isn't quite feasible either.
The solution decided on isn't an SDK framework, but rather the use of embeddable *IFrames* and a corresponding bi-directional iframe API. An [iframe](https://www.w3schools.com/tags/tag_iframe.ASP) allows us to embed a webpage inside a webpage, including OBS.Ninja into your own website.
Modern web browsers allow the parent website to communicate with the child webpage, giving a high-level of control to a developer, while also abstracting the complex code and hosting requirements. Functionality, we can make an OBSN video stream act much like an HTML video element tag, where you can issue commands like play, pause, or change video sources with ease.
Creating an OBSN iframe can be done in HTML or programmatically with Javascript like so:
var iframe = document.createElement("iframe");
iframe.allow="autoplay;camera;microphone";
iframe.allowtransparency="false"
iframe.src = "https://obs.ninja/?webcam";
Adding that iframe to the DOM will reveal a simple page accessing for a user to select and share their webcam. For a developer wishing to access a remote guest's stream, this makes the ingestion of that stream into production software like OBS Studios very easy. The level of customization and control opens up opportunities, such as a pay-to-join audience option for a streaming interactive broadcast experience.
An example of how this API is used by OBS.Ninja is with its Internet Speedtest, which has two OBS.Ninja IFrames on a single page. One iframe feeds video to the other iframe, and the speed at which it does this is a measure of the system's performance. Detailed stats of the connection are made available to the parent window, which displays the results.
https://obs.ninja/speedtest
A sandbox of options is available at this page, too: https://obs.ninja/iframe You can enter an OBS.Ninja URL in the input box to start using it. For developers, viewing the source of that page will reveal examples of how all the available functions work, along with a way to test and play with each of them. You can also see here for the source-code on GitHub: https://github.com/steveseguin/obsninja/blob/master/iframe.html
One thing to note about this iframe API is that it is a mix of URL parameters given to the iframe *src* URL, but also the postMessage and addEventListener methods of the browser. The later is used to dynamically control OBS.Ninja, while the former is used to initiate the instance to a desired state.
For more information on the URL parameters thare are available, please see: https://github.com/steveseguin/obsninja/wiki/Advanced-Settings
Some of the more interesting ones primarily for iframe users might include:
- &webcam
- &screenshare
- &videodevice=1 or 0
- &audiodevice=1 or 0
- &autostart
- &chroma
- &transparency
-
As for API, allow for dynamic messaging, below are examples of the options available:
- Mute Speaker
- Mute Mic
- Disconnect
- Change Video Bitrate
- Reload the page
- Change the volume
- Request detailed connection stats
- Access the loudness level of the audio
- Send/Recieve a chat message to other connected guests
- Get notified when there is a video connection
As for the actually details for methods and options available to dynamically control child OBSN iframe, they are primarily kept up to via the iframe.html file that is mentioned previously. see: *iframe.html*. Below is a snippet from that file:
var button = document.createElement("button");
button.innerHTML = "Mute Speaker";
button.onclick = function(){iframe.contentWindow.postMessage({"mute":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Un-Mute Speaker";
button.onclick = function(){iframe.contentWindow.postMessage({"mute":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Toggle Speaker";
button.onclick = function(){iframe.contentWindow.postMessage({"mute":"toggle"}, '*');}
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Mute Mic";
button.onclick = function(){iframe.contentWindow.postMessage({"mic":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Un-Mute Mic";
button.onclick = function(){iframe.contentWindow.postMessage({"mic":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Toggle Mic";
button.onclick = function(){iframe.contentWindow.postMessage({"mic":"toggle"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Disconnect";
button.onclick = function(){iframe.contentWindow.postMessage({"close":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Low Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":30}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "High Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":5000}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Default Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":-1}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Reload";
button.onclick = function(){iframe.contentWindow.postMessage({"reload":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "50% Volume";
button.onclick = function(){iframe.contentWindow.postMessage({"volume":0.5}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "100% Volume";
button.onclick = function(){iframe.contentWindow.postMessage({"volume":1.0}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Request Stats";
button.onclick = function(){iframe.contentWindow.postMessage({"getStats":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Request Loudness Levels";
button.onclick = function(){iframe.contentWindow.postMessage({"getLoudness":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Stop Sending Loudness Levels";
button.onclick = function(){iframe.contentWindow.postMessage({"getLoudness":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Say Hello";
button.onclick = function(){iframe.contentWindow.postMessage({"sendChat":"Hello!"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "previewWebcam()";
button.onclick = function(){iframe.contentWindow.postMessage({"function":"previewWebcam"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "CLOSE IFRAME";
button.onclick = function(){iframeContainer.parentNode.removeChild(iframeContainer);};
iframeContainer.appendChild(button);
As for listening events, where the parent listens for responses or events from the OBSN child frame:
//////////// LISTEN FOR EVENTS
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";
eventer(messageEvent, function (e) {
if (e.source != iframe.contentWindow){return} // reject messages send from other iframes
if ("stats" in e.data){
var outputWindow = document.createElement("div");
var out = "<br />total_inbound_connections:"+e.data.stats.total_inbound_connections;
out += "<br />total_outbound_connections:"+e.data.stats.total_outbound_connections;
for (var streamID in e.data.stats.inbound_stats){
out += "<br /><br /><b>streamID:</b> "+streamID+"<br />";
out += printValues(e.data.stats.inbound_stats[streamID]);
}
outputWindow.innerHTML = out;
iframeContainer.appendChild(outputWindow);
}
if ("gotChat" in e.data){
var outputWindow = document.createElement("div");
outputWindow.innerHTML = e.data.gotChat.msg;
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
}
if ("action" in e.data){
var outputWindow = document.createElement("div");
outputWindow.innerHTML = "child-page-action: "+e.data.action+"<br />";
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
}
if ("loudness" in e.data){
console.log(e.data);
if (document.getElementById("loudness")){
outputWindow = document.getElementById("loudness");
} else {
var outputWindow = document.createElement("div");
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
outputWindow.id = "loudness";
}
outputWindow.innerHTML = "child-page-action: loudness<br />";
for (var key in e.data.loudness) {
outputWindow.innerHTML += key + " Loudness: " + e.data.loudness[key] + "\n";
}
outputWindow.style.border="1px black";
}
});
This OBS.Ninja API is developed and expanded based on user feedback and requests. It is by no means complete.
Regarding versioning, I currently host past versions of OBS.Ninja, so using those past versions can ensure some level of consistency and expectation. https://obs.ninja/v12/ for example is the version 12 hosted version. The active and main production version of OBSN of course undergoes constant updates, and while I try to maintain backwards compatibility with changes to the API, it is still early days and changes might happen.
Please feel free to follow me in the OBS.Ninja Discord channel, where I post news about updates and listen to requests. The upcoming version of OBS.Ninja is also often hosted at https://obs.ninja/beta, where you can explore new features and help crush any unexpected bugs.
-steve

View File

@@ -1,7 +1,7 @@
The OBS.Ninja source repository is governed by the GNU AFFERO GENERAL PUBLIC LICENSE. (AGPL-3.0)
That AGPL-3.0 licence can be found here: https://raw.githubusercontent.com/steveseguin/obsninja/master/AGPLv3.md
In essence, OBS.Ninja is open-source and free to use, both for commericial and non-commericial use.
In essence, OBS.Ninja is open-source and free to use, both for commercial and non-commercial use.
Modifications of AGPL-3.0 licenced code must be made publicly accessible. Please refer to that licence.
Some individual source files may contain different licencing term and perhaps different copyright holders.

View File

@@ -1,4 +1,5 @@
![ILogo by brimace](images/obsNinja_logo_full.png)
<img src="images/obsNinja_logo_full.png" alt="Logo by brimace" data-canonical-src="https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png" height="150" />
## What is OBS NINJA
OBS.Ninja uses peer-to-peer technology to bring remote cameras into OBS. In most cases, all video data is transferred directly from peer to peer, without needing to go through any video server. This results in high-quality video with super low latency. In a small number of cases, video data may go through an encrypted TURN server, which is used to facilitate peer connections when otherwise not possible.
@@ -8,25 +9,33 @@ OBS Ninja is not affiliated with OBS. OBS.Ninja is designed to allow content cre
Please see the sub-reddit added info: https://reddit.com/r/obsninja
Also check out the FAQ for more info: https://github.com/steveseguin/obsninja/wiki
<img src="https://user-images.githubusercontent.com/2575698/94018108-34b1de00-fd7e-11ea-8c7d-df001253b60d.png" data-canonical-src="https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png" height="300" />
## How to use:
I demo the basic usage of OBS.Ninja on YouTube: https://www.youtube.com/watch?v=6R_sQKxFAhg
Here is a podcast series showing how to use different basic OBS.Ninja features, including macOS support: https://www.youtube.com/watch?v=XfSqufuoV74&list=PLWodc2tCfAH1l_LDvEyxEqFf42hOBKqQM
And Here is another video series touching on some more advanced settings: https://www.youtube.com/watch?v=mQ1Jdhf5aYg&list=PL8VJWj2-XLFpFu3G35Hdm1nKZ2xn9_0_8
Check the subreddit for added use cases, advanced features, and support. Advanced features includes high-quality audio modes, custom video resolutions, and more.
MacOS users will face some challenges in using OBS currently, but there are workarounds. Please see the subreddit or the Wiki.
MacOS users will face some challenges in using OBS 25/26, but there are workarounds. Please see the subreddit or the Wiki.
## What's in this repo?
This repo contains software for OBS.Ninja, including the HTML landing page for its Electron Capture app offering. A sample config file and instructions for setting up a TURN server (video relay server), is also provided. You may also find the Wiki for the project in this repo, which contains added information on how to use the software.
## How to Deploy this Repo:
To use, just download and host on a HTTPS-enabled webserver. You may want to hide the .html extensions within your HTTP server as well, else the generated links will not work.
To use, just download and host the files on a HTTPS-enabled webserver. You may want to hide the .html extensions within your HTTP server as well, else the generated links will not work. See [here](https://github.com/steveseguin/obsninja/blob/master/install.md) for added details, although I don't really recommend it.
Directions on how to deploy a TURN server are listed in the turnserver.conf file. You may wish to do so if you are having problems with my existing TURN server, although most users will not need one. About 10% of users, those often connected via 4G LTE, will require a TURN server.
Directions on how to deploy a TURN server are listed in the turnserver.md file. You may wish to do so, although not all use cases will not need one. Only about 10% of remote guests, those often connected via 4G LTE, will require a TURN server. While OBS.Ninja does host some TURN servers, they are quite expensive to operate and not really for private deployment use. If you are deploying your own version of OBS.Ninja, I'd ask you use your own TURN servers instead.
## Server side / API software?
Since OBS.Ninja uses peer-2-peer technology, video connections are made directly between viewer and publisher in 90% of cases. Hosting a TURN server yourself may help improve performance, but less than 1% of users will see any benefit of this. Details on how to deploy a TURN server are provided. For those capable of hosting their own TURN server, that would be appreciated if possible, as TURN servers are the only real cost incurred by OBS.Ninja at present. (other than time, of course)
Other than TURN servers, OBS.Ninja also uses public STUN servers and a hosted handshake server. These are used to facilitate the initial setup of peer connections and are generally not required after a peer connection is established. Development builds of OBS.Ninja may include debugging software, but in-production releases have this removed.
Other than TURN servers, OBS.Ninja also uses public STUN servers and a hosted handshake server. These are used to facilitate the initial setup of peer connections and are generally not required after a peer connection is established. These servers are free to access and use, even for private deployments.
Development builds of OBS.Ninja may include debugging software, but in-production releases have this removed. Double check to ensure "console.re" debugging is disabled before deployment, just to be safe.
A design goal of OBS.Ninja is to be serverless and we are 99% of the way there. This design objective ensures OBS.Ninja can be offered for free, along with providing increased levels of security and privacy.
@@ -43,15 +52,18 @@ If urgent, join me on discord: https://discord.gg/EksyhGA or email me at steve@s
A better way to perform "Window Capturing" on desktop if OBS Browser Sources fails you. A downloadable tool designed to enhance OBS.Ninja.
https://github.com/steveseguin/electroncapture
#### CAPTION.Ninja
A free AI-based closed-captioning tool to add speech-to-text overlays to OBS Studio. It's browser-based with an easy OBS integration. Developed by Steve as well! https://caption.ninja
#### Steves.app:
A website designed to also work with OBS.Ninja as a Broadcasting tool. Share your webcam, window, desktop, or video file with friends and family. Peer-2-peer, so privacy can be maintained, but you can also list your broadcasts for others to watch.
https://steves.app/
#### StageTen.tv
A browser-based studio solution and simplified alternative to OBS, with built-in OBS.Ninja functionality. It is a server-based approach to group interactions and live production. Steve Seguin is affiliated with StageTen, yet StageTen is not affiliated with OBS.Ninja.
#### StageTEN.tv
A browser-based studio solution and simplified alternative to OBS, with built-in OBS.Ninja functionality. It is a server-based approach to group interactions and live production. Steve Seguin is affiliated with StageTEn, yet StageTEN is not affiliated with OBS.Ninja.
## Privacy
I try to avoid data collection whenever possible and video streams are generally designed to be private, but use at your own risk. It is best to not share links created with OBS.Ninja with those you do not trust. I've provided instructions on how to deploy a TURN server if IP-address privacy is an issue for you. See: turnserver.conf
I try to avoid data collection whenever possible and video streams are generally designed to be private, but use at your own risk. It is best to not share links created with OBS.Ninja with those you do not trust. I've provided instructions on how to deploy a TURN server if IP-address privacy is an issue for you. See: turnserver.md
https://obs.ninja may unavoidably use cookies that are exempt from EU laws of requiring notice of their use; they are exempt as they are required and necessary for the technical functioning of the web service. Our webserver is cached by Cloudflare and it provides denial of server protection for the users of OBS.Ninja.
@@ -62,4 +74,3 @@ Ideas, feedback, bugs, etc -- all welcomed. I'm dumping many of my ideas as iss
## Licence
OBS.Ninja is available as open-source; please see the LICENCE.md file for details.

View File

@@ -6,11 +6,16 @@ $("body").append('<style id="lightbox-animations" type="text/css"></style>');
$(".column").on('click', function() {
/* The position of the container will be set to fixed, so set the top & left properties of the container */
if ( $(this).hasClass( "skip-animation" )){
return;
}
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');
$(this).addClass('in-animation').removeClass('pointer');
/* 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 */
@@ -91,8 +96,8 @@ if(e.originalEvent.animationName == 'inlightbox') {
/* 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');
$(this).removeClass('in-animation').removeClass('out-animation').removeClass('columnfade').addClass('pointer');
/* Remove the empty container that was earlier added */
$("#empty-container").remove();

28
devices.html Normal file
View File

@@ -0,0 +1,28 @@
<html>
<head><meta charset="UTF-8"></head>
<body>
<pre><code id="json-container"></code></pre>
<script>
var list = [];
navigator.mediaDevices.enumerateDevices()
.then(function(devices) {
devices.forEach(function(device) {
console.log(device.kind + ": " + device.label +
" id = " + device.deviceId);
list.push(device);
});
document.getElementById('json-container').innerHTML = JSON.stringify(list, null, 2);
})
.catch(function(err) {
console.log(err.name + ": " + err.message);
});
</script>
</body>
</html>

View File

@@ -50,6 +50,12 @@ button{
transform-origin: 0 0;
}
.gone {
position: absolute;
display:inline-block;
left: -9999px;
}
</style>
</head>
<body>
@@ -69,17 +75,35 @@ function copyFunction(copyText) {
}
function generateStreamID(){
var text = "";
var possible = "ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz23456789";
for (var i = 0; i < 7; i++){
text += possible.charAt(Math.floor(Math.random() * possible.length));
var text = "";
var possible = "ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz23456789";
for (var i = 0; i < 7; i++){
text += possible.charAt(Math.floor(Math.random() * possible.length));
}
console.log(text);
return text;
};
function toHexString(byteArray){
return Array.prototype.map.call(byteArray, function(byte){
return ('0' + (byte & 0xFF).toString(16)).slice(-2);
}).join('');
}
generateHash = function (str, length=false){
var buffer = new TextEncoder("utf-8").encode(str);
return crypto.subtle.digest("SHA-256", buffer).then(
function (hash) {
hash = new Uint8Array(hash);
if (length){
hash = hash.slice(0, parseInt(parseInt(length)/2));
}
hash = toHexString(hash);
return hash;
}
console.log(text);
return text;
};
);
};
function generateInvite(){
var title = encodeURI(getById("videoname").value);
var title = encodeURI(getById("videoname").value.replace(/[\W]+/g,"_"));
if (title.length){
title = "&label="+title;
}
@@ -111,16 +135,10 @@ function generateInvite(){
}
if (getById("invite_joinroom").value.trim().length){
sendstr+="&room="+getById("invite_joinroom").value.trim();
viewstr+="&scene=1&room="+getById("invite_joinroom").value.trim();
sendstr+="&room="+getById("invite_joinroom").value.replace(/[\W]+/g,"_");
viewstr+="&scene&room="+getById("invite_joinroom").value.replace(/[\W]+/g,"_");
}
if (getById("invite_password").value.trim().length){
sendstr+="&password";
viewstr+="&password="+getById("invite_password").value.trim();
}
if (getById("invite_group_chat_type").value){ // 0 is default
if (getById("invite_group_chat_type").value==1){ // no video
sendstr+="&novideo";
@@ -142,13 +160,31 @@ function generateInvite(){
var href = window.location.href;
var dir = href.substring(0, href.lastIndexOf('/')) + "/";
sendstr = dir+'?push=' + sid + sendstr;
viewstr = dir+'?view=' + sid + viewstr + title;
getById("container-setup").style.display="none";
getById("container-links").style.display="block";
var salt = location.hostname; // "obs.ninja" is the expected default. You will want to change this if hosting dock.html locally.
if (getById("invite_password").value.trim().length){
generateHash(getById("invite_password").value.trim().replace(/[\W]+/g,"_")+salt,4).then(function(hash){
sendstr+="&hash="+hash;
viewstr+="&password="+getById("invite_password").value.trim();
sendstr = dir+'?push=' + sid + sendstr;
viewstr = dir+'?view=' + sid + viewstr + title;
getById("container-setup").style.display="none";
getById("container-links").style.display="block";
getById("guest-link").value = sendstr;
getById("obs-link").value = viewstr;
});
} else {
sendstr = dir+'?push=' + sid + sendstr;
viewstr = dir+'?view=' + sid + viewstr + title;
getById("container-setup").style.display="none";
getById("container-links").style.display="block";
getById("guest-link").value = sendstr;
getById("obs-link").value = viewstr;
}
getById("guest-link").value = sendstr;
getById("obs-link").value = viewstr;
}
function goBack(){
@@ -158,10 +194,13 @@ function goBack(){
document.addEventListener("dragstart", event => {
var url = event.target.href || event.target.value;
if (!url || !url.startsWith('https://')) return;
if (event.target.dataset.drag!="1"){
return;
}
//event.target.ondragend = function(){event.target.blur();}
var streamId = url.split('view=');
var label = url.split('label=');
@@ -173,8 +212,12 @@ document.addEventListener("dragstart", event => {
url += '&layer-width=1920'; // this isn't always 100% correct, as the resolution can fluxuate, but it is probably good enough
url += '&layer-height=1080';
console.warn(url);
event.dataTransfer.setDragImage(document.querySelector('#dragImage'), 24, 24);
event.dataTransfer.setData("text/uri-list", encodeURI(url));
//event.dataTransfer.setData("url", encodeURI(url));
//warnlog(event);
});
</script>
@@ -248,5 +291,9 @@ document.addEventListener("dragstart", event => {
<i>(links are draggable)</i>
</div>
</div>
<div class="gone" >
<!-- This image is used when dragging elements -->
<img src="./images/favicon-32x32.png" id="dragImage" />
</div>
</body>
</html>

View File

@@ -11,10 +11,10 @@ iframe {
padding:0;
display:block;
margin:0px;
min-height: 420px;
min-width: 350px;
max-height: 720px;
max-width: 1280px;
min-height: 100px;
min-width: 100px;
max-height: 95%;
max-width: 99%%;
float: left;
position: fixed;
}
@@ -53,15 +53,15 @@ button{
}
.popup {
z-index: 9;
background-color: #f1f1f1;
border: 1px solid #d3d3d3;
text-align: center;
min-height: 420px;
min-width: 350px;
max-height: 720px;
max-width: 1280px;
scale: 0.5;
z-index: 9;
background-color: #f1f1f1;
border: 1px solid #d3d3d3;
text-align: center;
min-height: 100px;
min-width: 100px;
max-height: 95%;
max-width: 99%;
scale: 0.5;
}
.popup {
@@ -132,7 +132,7 @@ button{
<div id="container"></div>
<script>
var currentZIndex = 100;
function initDragElement(popup){
var pos1 = 0,
@@ -141,7 +141,6 @@ function initDragElement(popup){
pos4 = 0;
var elmnt = null;
var currentZIndex = 100; //TODO reset z index when a threshold is passed
var header = getHeader(popup);
var iframe = getIFrame(popup);
@@ -291,6 +290,9 @@ function loadIframe(){
var iframeContainer = document.createElement("div");
iframeContainer.className="popup";
iframeContainer.style.zIndex = "" + ++currentZIndex;
iframeContainer.style.width="325px";
iframeContainer.style.height="420px";
var button = document.createElement("button");
button.innerHTML = "Move";
@@ -312,6 +314,9 @@ function loadIframe(){
var iframe = document.createElement("iframe");
iframe.allow="autoplay";
iframe.src = document.getElementById("viewlink").value || "https://obs.ninja";
iframe.style.width="325px";
iframe.style.height="420px";
iframeContainer.appendChild(iframe);
document.getElementById("container").appendChild(iframeContainer);

View File

@@ -1,8 +1,11 @@
<html>
<meta charset="UTF-8">
<head><style>
html {
border:0;
margin:0;
outline:0;
}
video {
@@ -28,8 +31,18 @@ body {
flex-flow: column;
border:0;
margin:0;
outline:0;
}
button.glyphicon-button:focus,
button.glyphicon-button:active:focus,
button.glyphicon-button.active:focus,
button.glyphicon-button.focus,
button.glyphicon-button:active.focus,
button.glyphicon-button.active.focus {
outline: none !important;
}
button{
padding:10px;
font-size: 20px;
@@ -71,11 +84,48 @@ input[type='checkbox'] {
input[type='checkbox']:checked {
background: #1A1;
}
#audioOutput{
font-size: calc(16px + 0.3vw);
max-width:590px
}
@media only screen and (max-width: 1030px) {
body{
zoom: 0.9;
-moz-transform: scale(0.9);
-moz-transform-origin: 0 0;
}
}
@media only screen and (max-width: 940px) {
body{
zoom: 0.64;
-moz-transform: scale(0.64);
-moz-transform-origin: 0 0;
}
#audioOutput{
font-size: calc(14px + 1.4vw);
max-width:486px
}
}
#messageDiv {
font-size: .7em;
color: #DDD;
transition: all 0.5s linear;
font-style: italic;
opacity: 0;
text-align: center;
margin: 10px 0;
}
</style></head>
<body >
<div id="header" style="-webkit-app-region: drag;color:white;font-size:2em">OBS.Ninja</div>
<div class="formcss" >
<div id='warning4mac' style="border:2px dotted; display:none;max-width:700px; padding:10px; margin:0 90px 20px 90px;color:white;font-size:1.3em"> 🚨 If using OBS v26 on macOS, right-click the Electron Capture app and disable <i>Always-on-Top</i> to reveal it during window-selection. You can enable it again afterwards.</div>
<input type="checkbox" class="check" id="prefervp9" name="prefervp9" value="false" onclick="modURL(this);">
<label for="prefervp9">Force VP9 Codec</label>
@@ -92,12 +142,13 @@ input[type='checkbox']:checked {
<input type="checkbox" class="check" id="buffer" name="buffer" value="false" onclick="modURL(this);">
<label for="buffer">Lip-sync Fix</label>
<br><br><br>
<br>
<div id="messageDiv" style='display:block'><br /></div>
<div class="formcss"><center>
<input type="text" id="changeText" class="inputfield" value="http://obs.ninja/?view=" onchange="modURL" onkeyup="enterPressed(event, gohere);" />
<button onclick="gohere();" id="gobutton">GO</button>
<br><br>
<label for="audioOutput">Audio output destination: </label><select id="audioOutput" style="max-width:400px"></select>
<label for="audioOutput">Audio output destination: </label><select id="audioOutput"></select>
</center></div>
</div>
@@ -113,6 +164,10 @@ input[type='checkbox']:checked {
*
*/
//if (navigator.userAgent.indexOf('Mac OS X') != -1){
// document.getElementById("warning4mac").style.display="block";
//}
var audioOutputSelect = document.querySelector('select#audioOutput');
audioOutputSelect.disabled = !('sinkId' in HTMLMediaElement.prototype);
audioOutputSelect.onclick = getPermssions;
@@ -126,11 +181,13 @@ function updateOutputTarget(e){
document.getElementById('changeText').value = url;
}
function getPermssions(e){
function getPermssions(e=null){
if (listed==true){
return;
}
e.currentTarget.blur();
if (e!==null){
e.currentTarget.blur();
}
navigator.mediaDevices.getUserMedia({audio: true,video: false}).then((stream)=>{
navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(console.error); // list all devices
stream.getTracks().forEach(track => {
@@ -139,7 +196,12 @@ function getPermssions(e){
listed=true;
audioOutputSelect.focus();
}).catch(function(){alert("Failed to list available output devices\n\nPlease ensure you allowed the microphone permissions.");});
}).catch(function(){
document.getElementById("messageDiv").innerHTML = "Failed to list available output devices\n\nPlease ensure you allowed the microphone permissions.";
document.getElementById("messageDiv").style.display="block";
setTimeout(function(){document.getElementById("messageDiv").style.opacity="1.0";},0);
});
}
function gotDevices(deviceInfos) {
@@ -186,6 +248,10 @@ var isMobile = false;
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){ // does not detect iPad Pros.
isMobile=true; // if iOS, default to H264? meh. let's not.
}
// Windows can show the cursor, since it captures in a different way.
if (navigator.platform.indexOf("Win") != -1){
document.getElementById("showcursor").checked=true;
}
function updateURLParameter(url, param, paramVal){
var TheAnchor = null;
@@ -267,10 +333,13 @@ function modURL(ele=false){
if (ele.id =="stereo"){
if (document.getElementById("stereo").checked){
url=updateURLParameter(url, "stereo", "");
alert('Audio bitrate increased to 256kbps.\n\nPlease note: the Video Publisher must also have the stereo flag enabled for stereo to work.');
url=updateURLParameter(url, "proaudio", "");
document.getElementById("messageDiv").innerHTML = "Audio bitrate increased to 256-kbps.\n\nPlease note that the Sender must also have the <b>&proaudio</b> flag added for full-effect";
document.getElementById("messageDiv").style.display="block";
setTimeout(function(){document.getElementById("messageDiv").style.opacity="1.0";},0);
} else {
url=updateURLParameter(url, "stereo", false);
url=updateURLParameter(url, "proaudio", false);
setTimeout(function(){document.getElementById("messageDiv").style.opacity="0";},0);
}
}
@@ -289,9 +358,10 @@ function modURL(ele=false){
return url;
}
function gohere(){
var url = modURL(true);
window.location = url;
};
var url = modURL(true);
window.location = url;
};
getPermssions();
</script>
</body>
</html>

View File

@@ -4,7 +4,7 @@
body{
padding:0;
margin:0;
background-color: rgb(253,253,253);
background-color: rgb(222,242,253);
}
iframe {
border:0;
@@ -33,16 +33,17 @@ button{
</style>
<script>
function loadIframe(){
function loadIframe(){ // this is pretty important if you want to avoid camera permission popup problems. You can also call it automatically via: <body onload=>loadIframe();"> , but don't call it before the page loads.
var iframe = document.createElement("iframe");
var iframeContainer = document.createElement("div");
var iframesrc = document.getElementById("viewlink").value;
iframe.allow="autoplay;camera;microphone";
iframe.allowtransparency="true"
iframe.allowtransparency="true";
iframe.allowfullscreen ="true";
if (iframesrc==""){
iframesrc="https://obs.ninja/";
iframesrc="./";
}
if (document.getElementById("clean").checked){
@@ -80,7 +81,7 @@ function loadIframe(){
var button = document.createElement("button");
button.innerHTML = "Mute Speaker";
button.onclick = function(){iframe.contentWindow.postMessage({"mute":true}, '*');};
button.onclick = function(){iframe.contentWindow.postMessage({"mute":true}, '*');}; // "speaker" also works in the same way.
iframeContainer.appendChild(button);
var button = document.createElement("button");
@@ -90,7 +91,7 @@ function loadIframe(){
var button = document.createElement("button");
button.innerHTML = "Toggle Speaker";
button.onclick = function(){iframe.contentWindow.postMessage({"mute":"toggle"}, '*');}
button.onclick = function(){iframe.contentWindow.postMessage({"mute":"toggle"}, '*');}; // open to a better suggestion here.
iframeContainer.appendChild(button);
var button = document.createElement("button");
@@ -108,6 +109,24 @@ function loadIframe(){
button.onclick = function(){iframe.contentWindow.postMessage({"mic":"toggle"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Mute Camera";
button.onclick = function(){iframe.contentWindow.postMessage({"camera":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Unmute Camera";
button.onclick = function(){iframe.contentWindow.postMessage({"camera":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Toggle Camera";
button.onclick = function(){iframe.contentWindow.postMessage({"camera":"toggle"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Disconnect";
button.onclick = function(){iframe.contentWindow.postMessage({"close":true}, '*');};
@@ -148,23 +167,71 @@ function loadIframe(){
button.onclick = function(){iframe.contentWindow.postMessage({"getStats":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Request Loudness Levels";
button.onclick = function(){iframe.contentWindow.postMessage({"getLoudness":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Stop Sending Loudness Levels";
button.onclick = function(){iframe.contentWindow.postMessage({"getLoudness":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Say Hello";
button.onclick = function(){iframe.contentWindow.postMessage({"sendChat":"Hello!"}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Insert Style Sheet";
var stylesheet = "#main { zoom: 0.5;} video {float: left; margin: 0; padding: 0; } #info {display:none;}";
button.onclick = function(){iframe.contentWindow.postMessage({"style":stylesheet}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "get StreamIDs and labels";
button.onclick = function(){iframe.contentWindow.postMessage({"getStreamIDs":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Start AutoMixer";
button.onclick = function(){iframe.contentWindow.postMessage({"automixer":true}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Stop AutoMixer";
button.onclick = function(){iframe.contentWindow.postMessage({"automixer":false}, '*');};
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Add Target Video";
button.onclick = function(){iframe.contentWindow.postMessage({"target":"*", "add":true, "settings":{"style":{"width":"640px", "height":"360px", "float":"left", "border":"10px solid red", "display":"block"}}}, '*');}; // target can be a stream ID or * for all.
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Remove Target Video";
button.onclick = function(){iframe.contentWindow.postMessage({"target":"*", "remove": true}, '*');}; // target can be a stream ID or * for all.
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "previewWebcam()";
button.onclick = function(){iframe.contentWindow.postMessage({"function":"previewWebcam"}, '*');}; // publishScreen
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Change Add Camera text";
button.onclick = function(){iframe.contentWindow.postMessage({"function":"changeHTML", "target":"add_camera", "value":"NEW CAMERA TEXT"}, '*');}; // change text of add camera button
iframeContainer.appendChild(button);
var button = document.createElement("button");
button.innerHTML = "CLOSE IFRAME";
button.onclick = function(){iframeContainer.parentNode.removeChild(iframeContainer);};
iframeContainer.appendChild(button);
//////////// LISTEN FOR EVENTS
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
@@ -178,21 +245,85 @@ function loadIframe(){
if (e.source != iframe.contentWindow){return} // reject messages send from other iframes
if ("stats" in e.data){
var outputWindow = document.createElement("outputWindow");
outputWindow.innerHTML = e.data.stats;
var outputWindow = document.createElement("div");
console.log(e.data.stats);
var out = "<br />total_inbound_connections:"+e.data.stats.total_inbound_connections;
out += "<br />total_outbound_connections:"+e.data.stats.total_outbound_connections;
for (var streamID in e.data.stats.inbound_stats){
out += "<br /><br /><b>streamID:</b> "+streamID+"<br />";
out += printValues(e.data.stats.inbound_stats[streamID]);
}
outputWindow.innerHTML = out;
iframeContainer.appendChild(outputWindow);
}
if ("gotChat" in e.data){
var outputWindow = document.createElement("outputWindow");
var outputWindow = document.createElement("div");
outputWindow.innerHTML = e.data.gotChat.msg;
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
}
if ("action" in e.data){
var outputWindow = document.createElement("div");
outputWindow.innerHTML = "child-page-action: "+e.data.action+"<br />";
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
}
if ("streamIDs" in e.data){
var outputWindow = document.createElement("div");
outputWindow.innerHTML = "child-page-action: streamIDs<br />";
for (var key in e.data.streamIDs) {
outputWindow.innerHTML += "streamID: " + key + ", label:"+e.data.streamIDs[key] + "\n";
}
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
}
if ("loudness" in e.data){
console.log(e.data);
if (document.getElementById("loudness")){
outputWindow = document.getElementById("loudness");
} else {
var outputWindow = document.createElement("div");
outputWindow.style.border="1px dotted black";
iframeContainer.appendChild(outputWindow);
outputWindow.id = "loudness";
}
outputWindow.innerHTML = "child-page-action: loudness<br />";
for (var key in e.data.loudness) {
outputWindow.innerHTML += key + " Loudness: " + e.data.loudness[key] + "\n";
}
outputWindow.style.border="1px black";
}
});
}
function printValues( obj) {
var out = "";
for (var key in obj) {
if (typeof obj[key] === "object") {
out +="<br />";
out += printValues(obj[key]);
} else {
out +="<b>"+key+"</b>: "+obj[key]+"<br />";
}
}
return out;
}
</script>
</head>
<body>

View File

@@ -5,9 +5,9 @@
try {
var msie = window.navigator.userAgent.indexOf("MSIE ");
if (msie>0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)){ // If MSIE or IE 11
alert("Internet Explorer is not supported.\n\nPlease consider using Google Chrome instead\n\nYou will be forwarded to the download page for Google Chrome now.");
alert("Internet Explorer is not supported.\n\nPlease consider using Microsoft Edge or Google Chrome instead\n\nYou will be forwarded to the download page for MS Edge now.");
console.error("INTERNET EXPLORER IS EVIL");
window.location = "https://www.google.com/chrome/";
window.location = "https://www.microsoft.com/edge";
}
} catch(e){
console.error(e);
@@ -22,7 +22,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png" />
<link rel="icon" href="./images/favicon.ico" />
<link itemprop="thumbnailUrl" href="//images/obsNinja_logo_full.png" />
<link itemprop="thumbnailUrl" href="./images/obsNinja_logo_full.png" />
<!-- Primary Meta Tags -->
<title>OBS.Ninja</title>
<meta name="title" content="OBS.Ninja" />
@@ -47,14 +47,14 @@
<meta property="twitter:image" content="./images/obsNinja_logo_full.png" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<!--<script src="//console.re/connector.js" data-channel="obsninjaalpha" id="consolerescript"></script>-->
<!-- <script src="//console.re/connector.js" data-channel="obsninjadev" type="text/javascript" id="consolerescript"></script>-->
<link rel="stylesheet" href="./lineawesome/css/line-awesome.min.css">
<script type="text/javascript" src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script type="text/javascript" src="./thirdparty/qrcode.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<link rel="stylesheet" href="./main.css?ver=10" />
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/adapter-latest.js"></script>
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/qrcode.min.js"></script>
<script type="text/javascript" src="./thirdparty/jquery.min.js"></script>
<link rel="stylesheet" href="./main.css?ver=22" />
</head>
<body id="main" class="cat">
<body id="main" class="hidden">
<span itemprop="image" itemscope itemtype="image/png">
<link itemprop="url" href="./images/obsNinja_logo_full.png" />
</span>
@@ -62,8 +62,8 @@
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<link itemprop="url" href="./images/obsNinja_logo_full.png" />
</span>
<script language="javascript" type="text/javascript" src="./thirdparty/CodecsHandler.js?ver=17"></script>
<script language="javascript" type="text/javascript" src="./webrtc.js?ver=33"></script>
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/CodecsHandler.js?ver=22"></script>
<script type="text/javascript" crossorigin="anonymous" src="./webrtc.js?ver=118"></script>
<input id="zoomSlider" type="range" style="display: none;" />
<div id="header">
<a id="logoname" href="./" style="text-decoration: none; color: white; margin: 2px;">
@@ -73,26 +73,26 @@
</a>
<div id="head1" style="display: inline-block; padding:1px; position: relative;">
<input id="joinroomID" name="joinroomID" size="22" placeholder="Join by Room Name here" />
<button style="padding:1px;margin:0;" onclick="jumptoroom();">GO</button>
<button onclick="jumptoroom();">GO</button>
</div>
<div id="head3" style="display: inline-block;" class="advanced">
<font style="color: #888;" id="copythisurl"> &nbsp;
<span data-translate="copy-this-url">Copy this URL into an OBS "Browser Source"</span> <i style="color: #CCC;" class="las la-long-arrow-alt-right"></i> &nbsp;
</font>
<input
<a
id="reshare"
data-drag="1"
onclick="popupMessage(event);copyFunction(this)"
class="task"
class="task grabLinks"
onmousedown="copyFunction(this)"
style="font-weight: bold; color: #afa; cursor: grab; background-color: #0000; font-size: 115%; min-width: 335px; max-width: 800px;"
/>
<i class="las la-paperclip task" style="color: #DDD;" onclick="popupMessage(event);copyFunction(document.getElementById('reshare'));" onmouseover="this.style.cursor='pointer'"></i>
style="font-weight: bold; color: #afa !important; cursor: grab; background-color: #0000; font-size: 115%; min-width: 335px; max-width: 800px;"
></a>
<i class="las la-paperclip" style="color: #DDD;" onclick="popupMessage(event);copyFunction(document.getElementById('reshare'));" onmouseover="this.style.cursor='pointer'"></i>
</div>
<div id="head4" style="display: inline-block;" class="advanced">
<font style="font-size: 68%; color: white;">
&nbsp;
<span data-translate="you-are-in-the-control-center">You are in the room's control center</span>:&nbsp;
<span data-translate="you-are-in-the-control-center">Control center for room:</span>
<div id="dirroomid" style="font-size: 140%; color: #99c; display: inline-block;"></div>
</font>
@@ -104,18 +104,21 @@
</div>
</div>
<div id="controlButtons">
<div id="controlButtons" >
<div id="chatbutton" title="Toggle the Chat" onclick="toggleChat()" class="advanced float" style="cursor: pointer;" alt="Toggle the Chat">
<i id="chattoggle" class="toggleSize las la-comment-alt my-float"></i>
<div id="chatNotification"></div>
</div>
<div id="mutespeakerbutton" title="Mute the Speaker" onclick="toggleSpeakerMute()" class="advanced float" style="cursor: pointer;" alt="Toggle the speaker output">
<i id="mutespeakertoggle" class="toggleSize las la-volume-up my-float" style="position: relative; top: 0.5px;"></i>
</div>
<div id="mutebutton" title="Mute the Mic" onclick="toggleMute()" class="advanced float" style="cursor: pointer;" alt="Toggle the mic">
<i id="mutetoggle" class="toggleSize las la-microphone my-float"></i>
<i id="mutetoggle" class="toggleSize las la-microphone my-float" style="position: relative; top: 0.5px;"></i>
</div>
<div id="mutevideobutton" title="Disable the Camera" onclick="toggleVideoMute()" class="advanced float" style="cursor: pointer;" alt="Toggle the camera">
<i id="mutevideotoggle" class="toggleSize las la-eye my-float"></i>
</div>
<div id="settingsbutton" title="Settings" onclick="toggleSettings(this)" class="advanced float" style="cursor: pointer;" alt="Toggle the Settings Menu">
<div id="settingsbutton" title="Settings" onclick="toggleSettings()" class="advanced float" style="cursor: pointer;" alt="Toggle the Settings Menu">
<i id="settingstoggle" class="toggleSize las la-cog my-float"></i>
</div>
<div id="hangupbutton" title="Hangup the Call" onclick="hangup()" class="advanced float" style="cursor: pointer;" alt="Disconnect and End">
@@ -126,58 +129,62 @@
<span
id="helpbutton"
title="Show Help Info"
onclick="alert('Email steve@seguin.email if the system breaks or check https://reddit.com/r/obsninja for support.\n\nThere are some advanced options hidden away, such as persistent stream links and custom resolutions; see the Wiki.')"
onclick="alert('Email steve@seguin.email if the system breaks or check https://reddit.com/r/obsninja for support.\n\nThe Wiki contains many help guides and advanced settings.\n\nAccess the debug menu by pressing CTRL (command) and Left-Clicking on a video.\n\nMost issues can be fixed by using Wired Internet instead of Wi-Fi.')"
style="cursor: pointer; display:none;"
alt="How to Use This with OBS"
>
<i class="las la-question-circle " style="float: right; bottom: 0px; cursor: pointer; position: fixed; right: 24px; color: #d9e4eb; padding: 2px; margin: 2px 2px 0 0; font-size: 140%;"></i>
<i style="float: right; bottom: 0px; cursor: pointer; position: fixed; right: 24px; color: #d9e4eb; padding: 2px; margin: 2px 2px 0 0; font-size: 140%;" class="las la-question-circle" aria-hidden="true"></i>
</span>
<span title="Language Options" onclick="toggle(document.getElementById('languages'));" id="translateButton">
<i style="float: right; bottom: 0px; cursor: pointer; position: fixed; right: 2px; color: #d9e4eb; padding: 2px; margin: 2px 2px 0 0; font-size: 140%;" class="las la-language" aria-hidden="true"></i>
<i style="float: right; bottom: 0px; cursor: pointer; position: fixed; right: 2px; color: #d9e4eb; padding: 2px; margin: 2px 2px 0 0; font-size: 140%;" class="las la-language" aria-hidden="true"></i>
</span>
<div id="mainmenu" class="row" style="opacity: 0; align: center;">
<div id="container-1" class="column columnfade" style=" overflow-y: auto;">
<div id="container-1" class="column columnfade pointer" style=" overflow-y: auto;">
<h2>
<span data-translate="add-group-chat">Add Group Chat to OBS</span>
</h2>
<div class="container-inner">
<br />
<br />
<span data-translate="rooms-allow-for">Rooms allow for simplified group-chat and the advanced management of multiple streams at once.</span>
<span data-translate="rooms-allow-for">Rooms allow for group-chat and the tools to manage multiple guests.</span>
<br />
<br />
<p>
<b>
<table>
<tr>
<th><b>
<span data-translate="room-name">Room Name</span>:
</b>
<input id="videoname1" placeholder="Enter a Room Name here" onkeyup="enterPressed(event, createRoom);" size="30" maxlength="50" style="font-size: 110%; padding: 5px;" />
<br />
<br />
</p>
<p>
<b>
</b></th>
<th><input id="videoname1" placeholder="Enter a Room Name here" onkeyup="enterPressed(event, createRoom);" size="30" maxlength="30" style="font-size: 110%; padding: 5px;" /></th>
</tr><tr>
<th><b>
<span data-translate="password-input-field">Password</span>:
</b>
<input id="passwordRoom" placeholder="Optional room password here" onkeyup="enterPressed(event, createRoom);" size="30" maxlength="50" style="font-size: 110%; padding: 5px;" />
</th><th>
<input id="passwordRoom" placeholder="Optional room password here" onkeyup="enterPressed(event, createRoom);" size="30" maxlength="30" style="font-size: 110%; padding: 5px;" />
</th>
</tr><tr><th></th><th>
<br />
<br />
</p>
<button onclick="createRoom()" class="gobutton" style="float: left;">
<span data-translate="enter-the-rooms-control">Enter the Room's Control Center</span>
</button>
<br /><br />
<button class="white" style="display: block;" onclick="toggle(document.getElementById('roomnotes'),this);">
<span data-translate="show-tips">Show me some tips..</span>
</button>
</th></tr>
</table>
<br />
<button onclick="createRoom()" class="gobutton">
<span data-translate="enter-the-rooms-control">Enter the Room's Control Center</span>
</button>
<br />
<button onclick="toggle(document.getElementById('roomnotes'),this);">
<span data-translate="show-tips">Show me some tips..</span>
</button><br />
<ul style=" margin: auto auto; max-width: 500px; display: none; text-align: left;" id="roomnotes">
<br />
<span data-translate="added-notes">
<u>
<i>Added Notes:</i>
<i>Important Tips:</i><br /><br />
</u>
<li>Invite only guests to the room you trust.</li>
<li>iOS devices will share just their audio with other guests; this is mainly a hardware limitation</li>
<li>Invite only guests to the room that you trust.</li>
<li>iOS devices will share just their audio with other room guests; not video. This is intentional.</li>
<li>The "Recording" option is considered experimental.</li>
</span>
</ul>
@@ -190,7 +197,7 @@
</div>
</div>
</div>
<div id="container-3" class="column columnfade" onclick="previewWebcam()" style=" overflow-y: auto;">
<div id="container-3" class="column columnfade pointer" onclick="previewWebcam()" style=" overflow-y: auto;">
<h2 id="add_camera">
<span data-translate="add-your-camera">Add your Camera to OBS</span>
</h2>
@@ -200,7 +207,7 @@
<video id="previewWebcam" class="previewWebcam" oncanplay="updateStats();" disablePictureInPicture controlsList="nodownload" muted autoplay playsinline ></video>
</p>
<div id="infof"></div>
<button onclick="publishWebcam()" id="gowebcam" class="gowebcam" disabled>
<button onclick="publishWebcam(this)" id="gowebcam" class="gowebcam" disabled data-ready="false" >
<span data-translate="waiting-for-camera">Waiting for Camera to Load</span>
</button>
<br />
@@ -237,7 +244,7 @@
</center>
<div id="audioMenu" class="form-group multiselect" alt="tip: Hold CTRL (command) to select Multiple" title="tip: Hold CTRL (command) to select Multiple">
<a id="multiselect-trigger" class="form-control multiselect-trigger" tabindex="3">
<div id="audioTitle" class="title">
<div class="audioTitle">
<i class="las la-microphone-alt"></i><span data-translate="select-audio-source"> Audio Source(s) </span>
<i id='chevarrow1' class="chevron bottom" aria-hidden="true"></i>
<div class="meter" id="meter1"></div>
@@ -254,8 +261,9 @@
</div>
<br />
<span id="headphonesDiv" style="text-align:left; margin:17px 0; max-width: 550px; min-width: 420px; background-color: #f3f3f3; display: none; padding: 10px 10px; border: 1px solid #ccc; vertical-align: middle;">
<div id="audioTitle2" class="title">
<i class="las la-headphones"></i><span data-translate="select-output-source"> Audio Output Destination:</span></div>
<div class="audioTitle2">
<i class="las la-headphones"></i><span data-translate="select-output-source"> Audio Output Destination: <button onclick="playtone()" class="white" style="margin:0 0 0 15px;" type="button">Test</button>
</span></div>
<select id="outputSource" ></select>
</span>
@@ -270,7 +278,7 @@
</div>
</div>
<div id="container-2" class="column columnfade" style=" overflow-y: auto;">
<div id="container-2" class="column columnfade pointer" style=" overflow-y: auto;">
<h2 id="add_screen">
<span data-translate="remote-screenshare-obs">Remote Screenshare into OBS</span>
</h2>
@@ -313,7 +321,7 @@
<p id="audioScreenShare1">
<span data-translate="audio-sources">Audio Sources</span>
<br />
<select id="audioSourceScreenshare" multiple alt="tip: Hold CTRL (command) to select Multiple" title="tip: Hold CTRL (command) to select Multiple" style="height: 60px; width: 200px; resize: both; overflow: auto; padding: 5px;" onchange="requestAudioStream();">
<select id="audioSourceScreenshare" multiple alt="tip: Hold CTRL (command) to select Multiple" title="tip: Hold CTRL (command) to select Multiple" style="height: 60px; min-width: 290px; resize: both; overflow: auto; padding: 5px;" onchange="requestAudioStream();">
<option value="screenshare" selected>
<span data-translate="screen-shrae-audio">Screen Share Audio (default)</span>
</option>
@@ -323,9 +331,12 @@
</select>
</p>
<br />
<span id="headphonesDiv2" style="background-color: #f3f3f3; display: none; padding: 5px 10px; border: 1px solid #ccc; vertical-align: middle;">
<i class="las la-headphones"></i><span data-translate="select-output-source"> Audio Output Destination:</span>:<br />
<select id="outputSourceScreenshare" style="background-color: #FFF; padding:5px; display: display:inline-block;vertical-align: middle;" onclick="requestOutputAudioStream();">
<span id="headphonesDiv2" style="background-color: #f3f3f3; min-width: 270px; display: none; padding: 5px 10px; border: 1px solid #ccc; vertical-align: middle;">
<i class="las la-headphones"></i>
<span data-translate="select-output-source"> Audio Output Destination: <button onclick="playtone(true)" class="white" style="padding:3px 5px 2px 5px; margin:0; margin-left:15px; position: relative; " type="button">Test</button></span>
<br />
<select id="outputSourceScreenshare" style="background-color: #FFF; padding:10px 5px; min-width: 268px; display:inline-block; vertical-align: middle;" onclick="requestOutputAudioStream();">
<option value="default">
<span data-translate="default">Default Device</span>
</option>
@@ -340,7 +351,7 @@
</div>
</div>
</div>
<div id="container-4" class="column columnfade" style=" overflow-y: auto;">
<div id="container-4" class="column columnfade pointer" style=" overflow-y: auto;">
<h2>
<span data-translate="create-reusable-invite">Create Reusable Invite</span>
</h2>
@@ -361,73 +372,76 @@
<br />
<br />
<div style="margin: 20px; max-width: 400px; text-align: left; margin: auto auto;">
<br />
<h4 style="padding: 0 0 10px 0;">
<i>
<span data-translate="advanced-paramaters">Advanced Options:</span>
</i>
</h4>
<br />
<input type="checkbox" id="invite_bitrate" />
<label for="invite_bitrate">
<span data-translate="unlock-video-bitrate">Unlock Video Bitrate (20mbps)</span>
</label>
<br />
<input type="checkbox" id="invite_vp9" />
<label for="invite_vp9">
<span data-translate="force-vp9-video-codec">Force VP9 Video Codec (less artifacting)</span>
</label>
<br />
<input type="checkbox" id="invite_stereo" />
<label for="invite_stereo">
<span data-translate="enable-stereo-and-pro">Enable Stereo and Pro HD Audio</span>
</label>
<br />
<br />
<label for="invite_quality" data-translate="video-resolution">Video Resolution: </label>
<select id="invite_quality" name="invite_quality">
<option value="-1" selected>User Selectable</option>
<option value="0">Maximum Resolution</option>
<option value="1">Balanced</option>
<option value="2">Smooth and Cool</option>
</select>
<br />
<br />
<input type="checkbox" id="invite_secure" />
<label for="invite_secure">
<span data-translate="high-security-mode">High Security Mode</span>
</label>
<br />
<input type="checkbox" id="invite_hidescreen" />
<label for="invite_hidescreen">
<span data-translate="hide-screen-share">Hide Screenshare Option</span>
</label>
<br />
<input type="checkbox" id="invite_remotecontrol" />
<label for="invite_remotecontrol">
<span data-translate="allow-remote-control">Remote Control Camera Zoom (android)</span>
</label>
<br />
<br />
<span data-translate="add-a-password-to-stream"> Add a password:</span>
<input id="invite_password" placeholder="Add an optional password" />
<br />
<br />
<span data-translate="add-the-guest-to-a-room"> Add the guest to a room:</span>
<input id="invite_joinroom" placeholder="Enter Room name here" oninput="document.getElementById('invitegroupchat').style.display='block';" />
<br />
<br />
<span id="invitegroupchat" style="display: none;">
<label for="invite_group_chat_type" data-translate="invite-group-chat-type">This room guest can:</label>
<select id="invite_group_chat_type" name="invite_group_chat_type">
<option value="0" selected data-translate="can-see-and-hear">Can see and hear the group chat</option>
<option value="1" data-translate="can-hear-only">Can only hear the group chat</option>
<option value="2" data-translate="cant-see-or-hear">Cannot hear or see the group chat</option>
</select>
</span>
<br />
<br />
<br />
<div class="invite_setting_group">
<h4>
<span data-translate="advanced-paramaters">Advanced Options</span>
</h4>
<div class="invite_setting_item">
<input type="checkbox" id="invite_bitrate" />
<label for="invite_bitrate">
<span data-translate="unlock-video-bitrate" title="Ideal for 1080p60 gaming, if your computer and upload are up for it" >Unlock Video Bitrate (20mbps)</span>
</label>
</div>
<div class="invite_setting_item">
<input type="checkbox" id="invite_vp9" />
<label for="invite_vp9">
<span data-translate="force-vp9-video-codec" title="Better video compression and quality at the cost of increased CPU encoding load">Force VP9 Video Codec</span>
</label>
</div>
<div class="invite_setting_item">
<input type="checkbox" id="invite_stereo" />
<label for="invite_stereo">
<span data-translate="enable-stereo-and-pro" title="Disable digital audio-effects and increase audio bitrate">Enable Stereo and Pro HD Audio</span>
</label>
</div>
<div class="invite_setting_item">
<label for="invite_quality" data-translate="video-resolution">Video Resolution: </label>
<select id="invite_quality" name="invite_quality">
<option value="-1" selected>User Selectable</option>
<option value="0">Maximum Resolution</option>
<option value="1">Balanced</option>
<option value="2">Smooth and Cool</option>
</select>
</div>
</div>
<div class="invite_setting_group">
<div class="invite_setting_item">
<input type="checkbox" id="invite_automic" />
<label for="invite_automic">
<span data-translate="hide-mic-selection" title="The guest will not have a choice over audio-options">Force Default Microphone</span>
</label>
</div>
<div class="invite_setting_item">
<input type="checkbox" id="invite_hidescreen" />
<label for="invite_hidescreen">
<span data-translate="hide-screen-share" title="The guest will only be able to select their webcam as an option">Hide Screenshare Option</span>
</label>
</div>
<div class="invite_setting_item">
<input type="checkbox" id="invite_remotecontrol" />
<label for="invite_remotecontrol">
<span data-translate="allow-remote-control" title="Hold CTRL and the mouse wheel to zoom in and out remotely of compatible video streams">Remote Control Camera Zoom (android)</span>
</label>
</div>
<div class="invite_setting_item">
<span data-translate="add-a-password-to-stream" title="Add a password to make the stream inaccessible to those without the password"> Add a password:</span>
<input id="invite_password" placeholder="Add an optional password" />
</div>
<div class="invite_setting_item">
<span data-translate="add-the-guest-to-a-room" title="Add the guest to a group-chat room; it will be created automatically if needed."> Add the guest to a room:</span>
<input id="invite_joinroom" placeholder="Enter Room name here" oninput="document.getElementById('invitegroupchat').style.display='block';" />
</div>
<div class="invite_setting_item">
<span id="invitegroupchat" style="display: none;" title="Customize the room settings for this guest">
<label for="invite_group_chat_type" data-translate="invite-group-chat-type">This room guest can:</label>
<select id="invite_group_chat_type" name="invite_group_chat_type">
<option value="0" selected data-translate="can-see-and-hear">Can see and hear the group chat</option>
<option value="1" data-translate="can-hear-only">Can only hear the group chat</option>
<option value="2" data-translate="cant-see-or-hear">Cannot hear or see the group chat</option>
</select>
</span>
</div>
</div>
<div>See the
<a style="text-decoration: none; color: blue;" target="_blank" href="https://docs.obs.ninja/advanced">documentation</a> for more options and info.
</div>
@@ -441,6 +455,24 @@
</div>
</div>
</div>
<div id="container-5" class="column columnfade pointer advanced" style=" overflow-y: auto;">
<h2><span data-translate="share-local-video-file">Stream Media File</span></h2>
<div class="container-inner">
<br /><br />
SELECT THE VIDEO FILE TO SHARE<br /><br />
<input id="fileselector" onchange="session.publishFile(this,event);" type="file" accept="video/*,audio/*" alt="Hold CTRL (or CMD) to select multiple files" title="Hold CTRL (or CMD) to select multiple files" multiple/>
</div>
<div class="outer close">
<div class="inner">
<label class="labelclass">
<span data-translate="back">Back</span>
</label>
</div>
</div>
</div>
<p></p>
<div id="info" class="fullcolumn columnfade">
<center>
@@ -464,21 +496,23 @@
</i>
<br />
<li>
<a href="https://github.com/steveseguin/obsninja/wiki/FAQ#mac-os">MacOS <i class="lab la-apple"></i> users</a> need to use OBS v23 or resort to
<a href="https://github.com/steveseguin/electroncapture">Window Capturing</a> a browser with OBS v25
<a href="https://github.com/steveseguin/obsninja/wiki/FAQ#mac-os">MacOS <i class="lab la-apple"></i> users</a> will need to use OBS v23 or resort to
<a href="https://github.com/steveseguin/electroncapture">Window Capturing</a> with the provided Electron-Capture app for the time being.
</li>
<li>Some users will have
<a href="https://github.com/steveseguin/obsninja/wiki/FAQ#video-is-pixelated">"pixel smearing"</a> problems with videos. Avoid Wi-Fi to reduce it or add
<b>&codec=vp9</b> to the OBS view links to prevent it.
<li>If you have <a href="https://github.com/steveseguin/obsninja/wiki/FAQ#video-is-pixelated">"pixel smearing"</a> or corrupted video, try adding <b>&codec=vp9</b> or &codec=h264 to the OBS view link. Using Wi-Fi will make the issue worse.
</li>
<li>
iOS devices may have occasional audio or camera issues, such as no sound. Fully close Safari and reopen it if nothing else seems to work.
</li>
<li>
The VP9 codec on Chromium-based browsers seems to lag when screen-sharing at the moment. Use the OBS Virtual Camera as a capture source instead.
</li>
<br />
Site last updated: <a href="https://www.reddit.com/r/OBSNinja/comments/ib7vhk/version_10_released_text_chat_and_more_added_see/">August 17th, 2020</a>. The previous version can be found at
<a href="https://obs.ninja/v9/">https://obs.ninja/v9/</a> if you are having new issues.
🎈 Site Updated: <a href="https://www.reddit.com/r/OBSNinja/comments/k02enh/version_134_of_obsninja_released_change_log_here/">November 24th, 2020</a>. The previous version can be found at
<a href="https://obs.ninja/v12/">https://obs.ninja/v12/</a> if you are having new issues.
<br />
<br />
<h3>
@@ -486,7 +520,7 @@
Check out the
<a href="https://www.reddit.com/r/OBSNinja/">sub-reddit
<i class="lab la-reddit-alien"></i> </a>for help and see the <a href="https://github.com/steveseguin/obsninja/wiki/">Wiki for advanced info</a>. I'm also on
<a href="https://discord.gg/EksyhGA">Discord</a> and you can email me at steve@seguin.email
<a href="https://discord.gg/T4xpQVv">Discord</a> and you can email me at steve@seguin.email
</i>
</h3>
@@ -508,42 +542,63 @@
<a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
</div>
</div>
<div id="gridlayout"></div>
<span id="electronDragZone" style="pointer-events: none; z-index:-10; position:absolute;top:0;left:0;width:100%;height:5%;-webkit-app-region: drag;min-height:33px;"></span>
<div id="gridlayout" ></div>
<div id="overlayMsgs" onclick="function(e){e.target.innerHTML = '';}" style="display:none"></div>
<div id="controls_blank" style="display: none;">
<center>
<br />
<b>
<span data-translate="remote-control-for-obs">Remote Control for OBS</span>
</b>
<br />
<button data-value="0" style="font-size: 112%;" onclick="directEnable(this, event);">
<span data-translate="add-to-group">Add to Group Scene</span>
<div class="controlsGrid">
<button data-action-type="addToScene" data-value="0" title="Add this Video to any remote '&scene=1'" onclick="directEnable(this, event);">
<i class="las la-plus-square"></i>
<span data-translate="add-to-scene">Add to Scene</span>
</button>
<button style="font-size: 112%;" onclick="directMute(this, event);">
<span data-translate="mute">Mute</span>
<button data-action-type="forward" data-value="0" title="Forward user to another room. They can always return." onclick="directMigrate(this, event);">
<i class="las la-paper-plane"></i>
<span data-translate="forward-to-room">Transfer</span>
</button>
<button style="font-size: 112%;" onclick="recordVideo(this, event)">
<span data-translate="record">Record</span>
<button data-action-type="recorder" title="Start Recording this stream. *experimental*' views" onclick="recordVideo(this, event)">
<i class="las la-circle"></i>
<span data-translate="record"> Record</span>
</button>
<br />
<span data-translate="volume">Volume</span>:
<input type="range" min="1" max="100" value="100" onclick="directVolume(this);" />
<br />
<br />
<hr />
</center>
<button data-action-type="hangup" data-value="0" title="Force the user to Disconnect. They can always reconnect." onclick="directHangup(this, event);">
<i class="las la-sign-out-alt"></i>
<span data-translate="disconnect-guest" >Hangup</span>
</button>
<input data-action-type="volume" class="slider" type="range" min="1" max="100" value="100" title="Change this Audio's volume in all remote '&scene' views" onclick="directVolume(this);" style="grid-column: 1; margin:5px; width: 93%; position: relative; top: 0px; background-color:#fff0;"/>
<button data-action-type="mute" style="grid-column: 2;" title="Remotely Mute this Audio in all remote '&scene' views" onclick="directMute(this, event);">
<i class="las la-volume-off"></i>
<span data-translate="mute" >Mute in Scenes</span>
</button>
<span>
<button style="width: 36px" data-action-type="change-quality" title="Disable Video Preview" onclick="toggleQualityDirector(0, this.dataset.UUID, this);">
<span data-translate="change-to-low-quality">&nbsp;&nbsp;<i class="las la-video-slash"></i></span>
</button>
<button style="width: 36px" data-action-type="change-quality" title="Low-Quality Preview" onclick="toggleQualityDirector(50, this.dataset.UUID, this);">
<span data-translate="change-to-medium-quality">&nbsp;&nbsp;<i class="las la-video"></i></span>
</button>
<button style="width: 36px" data-action-type="change-quality" title="High-Quality Preview" onclick="toggleQualityDirector(1200, this.dataset.UUID, this);">
<span data-translate="change-to-high-quality">&nbsp;&nbsp;<i class="las la-binoculars"></i></span>
</button>
</span>
<button data-action-type="direct-chat" title="Send Direct Message" onclick="directorSendMessage(this);">
<span data-translate="send-direct-chat"><i class="las la-envelope"></i> Message</span>
</button>
</div>
</div>
<div id="popupSelector" style="display:none;">
<span id="videoMenu3" class="videoMenu">
<i class="las la-video"></i><span data-translate="video-source"> Video Source </span>
<select id="videoSource3" ></select>
<select id="videoSource3" ></select>
</span>
<br />
<br />
<div id="audioMenu3" class="form-group multiselect" alt="tip: Hold CTRL (command) to select Multiple" title="tip: Hold CTRL (command) to select Multiple" style="padding: 10px; background-color:#f3f3f3;">
<div class="form-group multiselect" alt="tip: Hold CTRL (command) to select Multiple" title="tip: Hold CTRL (command) to select Multiple" style="padding: 10px; background-color:#f3f3f3;">
<a id="multiselect-trigger3" class="form-control multiselect-trigger" tabindex="3">
<div id="audioTitle2" class="title">
<i class="las la-microphone-alt"></i><span data-translate="select-audio-source"> Audio Source(s) </span>
@@ -557,14 +612,18 @@
</div>
<br />
<span id="headphonesDiv3" style="display: inline-block;">
<div id="audioTitle3" class="title">
<i class="las la-headphones"></i><span data-translate="select-output-source"> Audio Output Destination:</span>
<div class="title">
<i class="las la-headphones"></i><span data-translate="select-output-source"> Audio Output Destination:
</div>
<select id="outputSource3" ></select>
</span>
<br />
<button id="shareScreenGear" style="padding:20px;" onclick="grabScreen()"><b>Share Screen</b><br /><i style="padding:5px; font-size:300%;" class="las la-desktop"></i></button><br />
<button onclick="toggleSettings()" style="background-color:#EFEFEF;padding:10px 12px 12px 2px;"><i class="chevron right" style="font-size:150%;top:3px;position:relative;"></i> <b>Close Settings</b></button>
<button id="shareScreenGear" style="width: 135px; padding:20px;text-align:center;" onclick="grabScreen()"><b>Share Screen</b><br /><i style="padding:5px; font-size:300%;" class="las la-desktop"></i></button><br />
<button onclick="toggleSettings()" style="width: 135px; background-color:#EFEFEF;padding:10px 12px 12px 2px;margin: 10px 0px 20px 0"><i class="chevron right" style="font-size:150%;top:3px;position:relative;"></i> <b>Close Settings</b></button>
<button id='advancedOptions' onclick="this.style.display = 'none'; toggle(getById('popupSelector_constraints'),false,false); " style="display:none; background-color:#EFEFEF;padding:10px 12px 12px 2px;margin: 10px 0px 0px 10px"><i class="chevron bottom" style="font-size:150%;top:3px;position:relative;"></i> <b>Show Advanced</b></button>
<span id="popupSelector_constraints" style="display: none;">
</span>
</p>
</div>
<nav id="context-menu" class="context-menu">
@@ -578,29 +637,79 @@
<li class="context-menu__item">
<a href="#" class="context-menu__link" data-action="Copy">
<i class="las la-paperclip"></i>
<span data-translate="copy-to-clipboard">Copy to Clipboard</span>
<span data-translate="copy-to-clipboard" >Copy to Clipboard</span>
</a>
</li>
</ul>
</nav>
<div id="roomTemplate" style="display:none;">
<div class='directorContainer half'>
<button class="grey" data-translate="click-for-quick-room-overview" onclick="toggle(getById('roomnotes2'),this,false);"><i class="las la-question-circle"></i> Click Here for a quick overview and help</button>
<span id="miniPerformer"><button id="press2talk" class="grey" onclick="press2talk();"><i class="las la-headset"></i><span data-translate="push-to-talk-enable"> Enable Director's Push-to-Talk Mode</span></button></span>
</div>
<div id='roomnotes2' style='max-width:1200px;display:none;padding:0 0 0 10px;' >
<font style='color:#CCC;' data-translate='welcome-to-control-room'>
<b>Welcome. This is the director's control-room for the group-chat.</b><br /><br />
You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.
<br /><br />
<font style='color:red'>Known Limitations with Group Rooms:</font><br />
<li>A group room can handle up to around 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room. To achieve more than around 7-guests though, you will likely want to disable video sharing between guests. &roombitrate=0 or &novideo are options there.</li>
<li>Videos will appear of low quality on purpose for guests and director; this is to save bandwidth and CPU resources. It will be high-quality within OBS still though.</li>
<li>The state of the scenes, such as which videos are active in a scene, are lost when the director resets the control-room or the scene.</li>
<br />
Further Notes:<br /><br />
<li>Links to Solo-views of each guest video are offered under videos as they load. These can be used within an OBS Browser Source.</li>
<li>You can use the auto-mixing Group Scenes, the green links, to auto arrange multiple videos for you in OBS.</li>
<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>
<li>If you transfer a guest from one room to another, they won't know which room they have been transferred to.</li>
<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps. Setting higher bitrates will improve motion.</li>
<li>VP8 is typically the default video codec, but using &codec=vp9 or &codec=h264 as a URL in OBS can help to reduce corrupted video puke issues.</li>
<li>&stereo=2 can be added to guests to turn off audio effects, such as echo cancellation and noise-reduction.</li>
<li>https://invite.cam is a free service provided that can help obfuscuate the URL parameters of an invite link given to guests.</li>
<li>Adding &showonly=SOME_OBS_VIRTUALCAM to the guest invite links allows for only a single video to be seen by the guests; this can be output of the OBS Virtual Camera for example</li>
<br />
For advanced URL options and parameters, <a href="https://github.com/steveseguin/obsninja/wiki/Advanced-Settings">see the Wiki.</a>
</font>
</div>
<div id='guestFeeds'><div id='deleteme'>
<div class='vidcon' style='margin: 15px 20px 0 0; min-height: 300px;text-align: center;'><h2>Guest 1</h2><i class='las la-user-circle' style='font-size:8em; margin: 20px 0px;' aria-hidden='true'></i></div>
<div class='vidcon' style='margin: 15px 20px 0 0; min-height: 300px;text-align: center;'><h2>Guest 2</h2><i class='las la-user-circle' style='font-size:8em; margin: 20px 0px;' aria-hidden='true'></i></div>
<div class='vidcon' style='margin: 15px 20px 0 0; min-height: 300px;text-align: center;'><h2>Guest 3</h2><i class='las la-user-circle' style='font-size:8em; margin: 20px 0px;' aria-hidden='true'></i></div>
<div class='vidcon' style='margin: 15px 20px 0 0; min-height: 300px;text-align: center;'><h2>Guest 4</h2><i class='las la-user-circle' style='font-size:8em; margin: 20px 0px;' aria-hidden='true'></i></div>
<h4 style='color:#CCC;margin:20px 20px 0 20px;' data-translate='more-than-four-can-join' >These four guest slots are just for demonstration. More than four guests can actually join a room.</h4>
</div></div>
</div>
<div id="chatModule" style="display:none;">
<div id="chatBody">
<div class="inMessage">
<div class="inMessage" data-translate='welcome-to-obs-ninja-chat'>
Welcome to OBS.Ninja! You can send text messages directly to connected peers from here.
</div>
<div class="outMessage">
<div class="outMessage" data-translate='names-and-labels-coming-soon'>
Names identifying connected peers will be a feature in an upcoming release.
</div>
</div>
<input id="chatInput" placeholder="Enter chat message to send here"onkeypress="EnterButtonChat(event)" />
<button style="width:60px;background-color:#EEE;" onclick="sendChatMessage()">Send</button>
<input id="chatInput" placeholder="Enter chat message to send here" onkeypress="EnterButtonChat(event)" />
<button style="width:60px;background-color:#EEE;" onclick="sendChatMessage()" data-translate='send-chat'>Send</button>
</div>
<audio id="testtone" style="display:none;" preload="none">
<source src="tone.mp3" type="audio/mpeg">
<source src="tone.ogg" type="audio/ogg">
</audio>
<div class="gone" >
<!-- This image is used when dragging elements -->
<img src="./images/favicon-32x32.png" id="dragImage" />
</div>
<div id="messagePopup" class="popup-message"></div>
<div id="languages" class="popup-message" style="display: none; right: 0; bottom: 25px; position: absolute;">
<b>Available Languages:</b>
<b data-translate='available-languages'>Available Languages:</b>
<br />
<u>
<a onclick="changeLg('ru');toggle(document.getElementById('languages'));" style="cursor: pointer;">Russian</a>
@@ -609,47 +718,62 @@
<br />
<a onclick="changeLg('en');toggle(document.getElementById('languages'));" style="cursor: pointer;">English</a>
<br />
<a onclick="changeLg('pt');toggle(document.getElementById('languages'));" style="cursor: pointer;">Portuguese </a>
<a onclick="changeLg('pt');toggle(document.getElementById('languages'));" style="cursor: pointer;">Portuguese</a>
<br />
<a onclick="changeLg('it');toggle(document.getElementById('languages'));" style="cursor: pointer;">Italian </a>
<a onclick="changeLg('it');toggle(document.getElementById('languages'));" style="cursor: pointer;">Italian</a>
<br />
<a onclick="changeLg('de');toggle(document.getElementById('languages'));" style="cursor: pointer;">German </a>
<a onclick="changeLg('de');toggle(document.getElementById('languages'));" style="cursor: pointer;">German</a>
<br />
<a onclick="changeLg('es');toggle(document.getElementById('languages'));" style="cursor: pointer;">Spanish </a>
<a onclick="changeLg('es');toggle(document.getElementById('languages'));" style="cursor: pointer;">Spanish</a>
<br />
<a onclick="changeLg('nl');toggle(document.getElementById('languages'));" style="cursor: pointer;">Dutch </a>
<a onclick="changeLg('nl');toggle(document.getElementById('languages'));" style="cursor: pointer;">Dutch</a>
<br />
<a onclick="changeLg('tr');toggle(document.getElementById('languages'));" style="cursor: pointer;">Turkish</a>
<br />
<a onclick="changeLg('ja');toggle(document.getElementById('languages'));" style="cursor: pointer;">Japanese</a>
<br />
<a onclick="changeLg('cs');toggle(document.getElementById('languages'));" style="cursor: pointer;">Czech </a>
<br />
<a onclick="changeLg('pig');toggle(document.getElementById('languages'));" style="cursor: pointer;">Pig Latin</a>
<br />
</u>
<br />
<a href="https://github.com/steveseguin/obsninja/tree/master/translations">Add More Here!</a>
<a href="https://github.com/steveseguin/obsninja/tree/master/translations" data-translate='add-more-here'>Add More Here!</a>
<br />
</div>
<script>
var session = WebRTC.Media; // session is a required global variable if configuring manually. Run before loading main.js but after webrtc.js.
session.version = "13.4";
session.streamID = session.generateStreamID(); // randomly generates a streamID for this session. You can set your own programmatically if needed
session.defaultPassword = "someEncryptionKey123"; // Disabling improves compatibility and is helpful for debugging.
session.salt = location.hostname; // used only if password is not == False.
// session.configuration = {
// iceServers: [
// { urls: ["stun:stun.l.google.com:19302", "stun:stun4.l.google.com:19302"] }, // more than 4 stun+turn servers may cause issues
// ],
// sdpSemantics: 'unified-plan'
// };
session.configuration = {
iceServers: [
{ urls: ["stun:stun.l.google.com:19302", "stun:stun4.l.google.com:19302"] }, // more than 4 stun+turn servers may cause issues
],
};
// var turn = {};
// turn.username = "steve";
// turn.credential = "justtesting";
// turn.urls = ["turn:turn.obs.ninja:443"]; // US CENTRAL
// session.configuration.iceServers.push(turn);
var turn = {};
turn.username = "steve";
turn.credential = "justtesting";
turn.urls = ["turn:turn.obs.ninja:443"]; // US CENTRAL
session.configuration.iceServers.push(turn);
turn = {};
turn.username = "steve";
turn.credential = "justtesting";
turn.urls = ["turn:turn2.obs.ninja:3478?transport=tcp"]; // US WEST
session.configuration.iceServers.push(turn);
// turn = {};
// turn.username = "steve";
// turn.credential = "justtesting";
// turn.urls = ["turn:turn2.obs.ninja:443"]; // US WEST
// session.configuration.iceServers.push(turn);
// session.configuration.iceTransportPolicy = "relay"; // uncomment to enable "&privacy" and force the TURN server
// session.wss = false; // uses default handshake wss
///// The following lets you set the defaults
// session.webcamonly // true,false
@@ -666,6 +790,7 @@
// session.codec
// session.scale
// session.bitrate // int in kbps
// session.totalRoomBitrate = 500; // int, kbps
// session.height // int
// session.width // int
// session.quality // int
@@ -684,7 +809,7 @@
// If you wish to change branding, blank offers a good clean start.
<script type="text/javascript" id="main-js" src="./main.js" data-translation="blank"></script>
-->
<script type="text/javascript" id="main-js" src="./main.js?ver=33"></script>
<script type="text/javascript" src="./animations.js?ver=8"></script>
<script type="text/javascript" crossorigin="anonymous" id="main-js" src="./main.js?ver=87"></script>
<script type="text/javascript" crossorigin="anonymous" src="./animations.js?ver=13"></script>
</body>
</html>

79
install.md Normal file
View File

@@ -0,0 +1,79 @@
Deploying this code. A guide. (INITIAL DRAFT VERSION)
### PREFACE
The code is obvious enough already that someone experienced with the NGINX webserver or with basic site deployments should have no problem getting things running.
I'm concerned at times that less experienced users will be deploying the code without really understanding why or properly how to. There are few cases a person needs to deploy any code.
Those reasons are: wanting custom branding; contributing as a developer to the codebase; or deploying a private TURN server.
For a subset of those users even, they might still have better options available.
I offer https://rtc.ninja for those looking for a brand-free experience already. You can also point your domain to the OBS.Ninja IP address (provided on request), which will also rebrand the site automatically to match your domain name.
For those wanting a private TURN server setup, you can load the settings for those via the URL parameters. If infrequently needing a private TURN, this is a great solution.
There are also misconceptions. Deploying the website code will NOT make the service faster. The service is peer-to-peer based, so deploying servers will not make it faster. Even deploying a TURN server is often not the best choice, as using a VPN, cloud VM for OBS, or disabling any symmetrical firewall will often provide a better end result.
Understanding clearly why you need to deploy any code or server is important. If you do know why, please continue.
### SETUP
I use Cloudflare with Flexible SSL enabled and HTTP Rewrites. If you do not use Cloudflare, you will need to deploy SSL certificates onto your website. You will also have to have Cloudflare or whatever DNS provider you have, point your domain name to the IP address of your webserver. OBS.Ninja REQUIRES a domain name and SSL.
For webservers, I use NGINX on a Ubuntu server; smaller the better. I rely on Cloudflare to provide caching and SSL, so my installation of NGINX is pretty simple.
```
sudo apt-get update
apt-get install nginx -y
sudo vi /etc/nginx/sites-available/default
sudo systemctl restart nginx
```
An example NGINX config file that "hides" the file extensions is as follows. Update the file as needed and
```server {
listen 80;
listen [::]:80;
server_name obs.ninja;
root /var/www/html/obs.ninja;
index index.html;
location ~ ^/([^/]+)/([^/?]+)$ {
root /var/www/html/obs.ninja;
try_files /$1/$2 /$1/$2.html /$1/$2/ /$2 /$2/ /$1/index.html;
add_header Access-Control-Allow-Origin *;
}
location / {
if ($request_uri ~ ^/(.*)\.html$) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ /index.html;
add_header Access-Control-Allow-Origin *;
}
}
```
You'll want to deploy (copy/clone) the GitHub OBS.Ninja files into your NGINX web folder, that is specified in your NGINX config file. Update the NGINX config file to match your domain and and folder, etc. Restart NGINX after.
As for the TURN server, it can run on a single or dual-core computer. It doesn't take much to host many users -- it mainly just needs a good internet connection. Most users will not need a TURN server, but since OBS.Ninja handles many different types of users, the TURN server is there as a failsafe for those occasional problem users. I'm assuming you know why you need and want a TURN server -- if not, you may not actually need one.
A guide and sample config file for the turn server is here:
https://github.com/steveseguin/obsninja/blob/master/turnserver.md
If deploying to GCP or AWS, you might need to make some tweaks to the IP address values to include the internet local IP as well as the external. Please see online guides no setting up a TURN server for your particular setup. Setups will vary.
Once you have your TURN server setup, you can update the index.html of the OBS.Ninja code. Nightly or official releases should be fine to pull. You probably will want to uncomment the lines linked below once deployed, adjusting the default values to your liking and updating the server location address and credentials of your TURN server (if you deployed one that is). Unless your TURN server also provides STUN capabilities, you may want to also use the Google STUN servers, so uncomment that stuff too.
https://github.com/steveseguin/obsninja/blob/df6c147311b9e7d19659ddbb1799d6598f59aa0d/index.html#L644
A newly deployed code deployment should work without any changes to the index.html file. The code needs to be constantly kept up to date though, as after a few months it may become deprecated and stop working. This is the reality of deploying OBS.Ninja -- you will need to update it every few months for it to continue to function well. Keep this in mind when making changes to the OBS.Ninja source code, as heavy custom changes will make updating harder to do. The fewer the changes the better.
My suggestion? Limit changes to images and perhaps the translation files (maybe add a new one); these are good starting points. If making changes to the main.css style sheet or index.html file, you should be mostly okay too, since these files are designed to be changed; I try to keep that in mind when updating the code at least. Making changes to other files though is strongly not recommend and in some cases discouraged. If you find a bug or need to make a change to other files, it might be best to make a Pull Request with the desired changes and hope it gets adopted into the main codebase.
Regards,
Steve

2159
main.css

File diff suppressed because it is too large Load Diff

3213
main.js

File diff suppressed because it is too large Load Diff

192
speedtest.html Normal file
View File

@@ -0,0 +1,192 @@
<html>
<head><title>OBSN Speed Test</title>
<style>
body{
padding:0;
margin:0;
}
iframe {
border:0;
margin:0;
padding:0;
display:inline-block;
margin:0;
width:100%;
height:100%;
}
span {
border:0;
margin:0;
padding:0;
display:inline-block;
margin:0;
width:50%;
height:45%;
}
#viewlink {
width:400px;
}
#container {
display:block;
padding:0px;
}
input{
padding:5px;
margin:5px;
}
button{
padding:5px;
margin:5px;
}
</style>
<script>
(function (w) {
w.URLSearchParams = w.URLSearchParams || function (searchString) {
var self = this;
self.searchString = searchString;
self.get = function (name) {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(self.searchString);
if (results == null) {
return null;
}
else {
return decodeURI(results[1]) || 0;
}
};
};
})(window);
var urlParams = new URLSearchParams(window.location.search);
function loadIframe(){ // this is pretty important if you want to avoid camera permission popup problems. YOu need to load the iFRAME after you load the parent body. A quick solution is like: <body onload=>loadIframe();"> !!!
var streamID = "";
var possible = "ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz23456789";
for (var i = 0; i < 7; i++){
streamID += possible.charAt(Math.floor(Math.random() * possible.length));
}
var iframe = document.createElement("iframe");
var iframeContainer = document.createElement("span");
iframe.allow="autoplay";
var srcString = "./?push="+streamID+"&cleanoutput&privacy&webcam&audiodevice=0&fullscreen";
if (urlParams.has('turn')){
srcString = srcString+"&turn="+urlParams.get("turn");
}
// we are changing some text on page load, just to demonstrate what's possible.
iframe.onload = function(e){e.target.contentWindow.postMessage({"function":"changeHTML", "target":"add_camera","value":"Select your Camera"}, '*');};
iframe.src = srcString;
iframeContainer.appendChild(iframe);
document.getElementById("container").appendChild(iframeContainer);
var iframe = document.createElement("iframe");
var iframeContainer = document.createElement("span");
iframe.allow="autoplay";
var srcString = "./?view="+streamID+"&cleanoutput&privacy&noaudio";
if (urlParams.has('turn')){
srcString = srcString+"&turn="+urlParams.get("turn");
}
if (urlParams.has('buffer')){
srcString = srcString+"&buffer="+urlParams.get("buffer");
}
iframe.src = srcString;
iframeContainer.appendChild(iframe);
document.getElementById("container").appendChild(iframeContainer);
var button = document.createElement("br");
document.getElementById("container").appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Disconnect";
button.onclick = function(){iframe.contentWindow.postMessage({"close":true}, '*');}
document.getElementById("container").appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Low Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":30}, '*');}
document.getElementById("container").appendChild(button);
var button = document.createElement("button");
button.innerHTML = "High Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":6000}, '*');}
document.getElementById("container").appendChild(button);
var button = document.createElement("button");
button.innerHTML = "Default Bitrate";
button.onclick = function(){iframe.contentWindow.postMessage({"bitrate":-1}, '*');}
document.getElementById("container").appendChild(button);
setInterval(function(){iframe.contentWindow.postMessage({"getStats":true}, '*');},1000);
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";
eventer(messageEvent, function (e) {
if ("stats" in e.data){
var out = "";
for (var streamID in e.data.stats.inbound_stats){
out += printValues(e.data.stats.inbound_stats[streamID]);
}
if (out.split("Bitrate_in_kbps").length>1){
document.getElementById("statsdiv").innerHTML = "<b>Bitrate_in_kbps</b>"+out.split("Bitrate_in_kbps")[1];
}
}
});
}
function printValues( obj) {
var out = "";
for (var key in obj) {
if (typeof obj[key] === "object") {
out +="<br />";
out += printValues(obj[key]);
} else {
if (key.startsWith("_")){} else {
out +="<b>"+key+"</b>: "+obj[key]+"<br />";
}
}
}
return out;
}
</script>
</head>
<body onload="loadIframe();">
<div id="container">
</div>
<div style="width:48%;padding:0;margin:0;border:0;display:inline-block;">
<h3>OBS.Ninja Speed Test - prototype version</h3>
(Tests connection to TURN server and back)<br /><br />
<li>1.Select your camera.</li>
<li>2.Hit start</li>
<li>3.Wait for the video to load side-by-side. *If it does not auto-load within 20s, refresh and try again.*</li>
<li>4.Stats will load on the right-hand side of the page here. (or press CTRL + LeftClick on the new video to open stats that way)</li>
<li>5.Bitrate_in_kbps, Buffer_Delay_in_ms, and packetLoss_percentage are important connection quality metrics</li>
<li>6.Increase the video bitrate by pressing <i>High Bitrate</i>; it should approach 6000-kbps if the network allows.</li>
</div>
<div id="statsdiv" style="width:48%;padding:0;margin:0;border:0;display:inline-block;">
</div>
</body>
</html>

28
supports.html Normal file
View File

@@ -0,0 +1,28 @@
<html>
<body>
<pre id="json"><pre>
<script>
var supports = navigator.mediaDevices.getSupportedConstraints();
document.getElementById("json").innerHTML = "BROWSER SUPPORTED OPTIONS<HR>";
document.getElementById("json").innerHTML += JSON.stringify(supports, undefined, 2);
navigator.mediaDevices.getUserMedia({video: { facingMode: { ideal: "environment" }}, audio:false}).then(function(mediaStream){
console.log("worked");
setTimeout(function(){
mediaStream.getVideoTracks().forEach((track)=>{
const capabilities = track.getCapabilities();
const settings = track.getSettings();
document.getElementById("json").innerHTML += "<HR>CAMERA SUPPORTED<HR>";
document.getElementById("json").innerHTML += JSON.stringify(capabilities, undefined, 2);
document.getElementById("json").innerHTML += "<HR>CAMERA SETTINGS <HR>";
document.getElementById("json").innerHTML += JSON.stringify(settings, undefined, 2);
});
},1000);
});
</script>
</body>
</html>

View File

@@ -1,82 +0,0 @@
/* 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);
}
});

View File

@@ -335,7 +335,7 @@ var CodecsHandler = (function() {
}
if (typeof params.maxaveragebitrate != 'undefined') {
appendOpusNext += ';maxaveragebitrate=' + params.maxaveragebitrate; // default 2500 (kbps)
appendOpusNext += ';maxaveragebitrate=' + params.maxaveragebitrate; // default 32000? (kbps)
}
if (typeof params.maxplaybackrate != 'undefined') {

5623
thirdparty/adapter-latest.js vendored Normal file

File diff suppressed because it is too large Load Diff

2
thirdparty/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

55669
thirdparty/video.js vendored Normal file

File diff suppressed because it is too large Load Diff

52728
thirdparty/videojs-vr.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
tone.mp3 Normal file

Binary file not shown.

BIN
tone.ogg Normal file

Binary file not shown.

68
translations/cs.json Normal file
View File

@@ -0,0 +1,68 @@
{
"GO": "Spustit",
"add-group-chat": "Přidat skupinový chat OBS",
"add-to-group": "Přidat do skupiny",
"add-your-camera": "Přidat kameru do OBS",
"added-notes": "\n\t\t\t\t<u><i>Poznámka:</i></u>\n\t\t\t\t<li>Kdokoliv se může připojit, když zná jméno místnosti</li>\n\t\t\t\t<li>Není doporučeno mít v místnosti víc než 4 lidi kvůli náročnosti na Váš počítač, ale za zkoušku nic nedáte.</li>\n\t\t\t\t<li>iOS zařízení jsou omezena pouze na dva účastníky. Toto omezení je způsobeno Applem.</li>\n\t\t\t\t<li> \"Nahrávat\" je nová a EXPERIMENTÁLNÍ funkce.</li>\n\t\t\t\t<li>Musíte \"Přidat\" zdroj video do \"Skupinová scéna\" aby se tu zobrazil.</li>\n\t\t\t\t<li>Tady je nové \"vylepšený fullscreen\" tlačítko přidané pro hostitele.</li>\n\t\t\t\t",
"advanced-paramaters": "Pokročilé nastavení",
"audio-sources": "Audio zdroje",
"back": "Zpět",
"balanced": "Vyrovnaný",
"copy-this-url": "Zkopírujte tuhle URL do OBS \"Browser Source\"",
"copy-to-clipboard": "Kopírovat do schránky",
"create-reusable-invite": "Vytvořit pozvánku na více použití",
"enable-stereo-and-pro": "Povolit Stereo a Pro HD Audio",
"enter-the-rooms-control": "Vstoupit do administrace místnosti",
"force-vp9-video-codec": "Vynutit VP9 Video Codec (méně artefaktů)",
"generate-invite-link": "GENEROVAT POZVÁNKU",
"here-you-can-pre-generate": "Zde můžete generovat linky do OBS i pozvánky na více použití.",
"high-security-mode": "Vysoce zabezpečený mód",
"info-blob": "\n\t\t\t\t\t\t<h2>Co je OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li>100% <b>zdarma</b>; bez stahování; žádné osobní data; bez přihlašování</li>\n\t\t\t\t\t\t<li>Sdílejte video ze smartphonu, laptopu, počítače či svých kamarádů přímo do OBSka</li>\n\t\t\t\t\t\t<li>Používáme nejmodernější Peer-to-Peer forwarding technologii, která zaručuje bezpečnost a minimální lag</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demo</a> </li>\n\t\t\t\t\t\t<li>Open-source kód je dostupný zde: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Známé problémy:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> Uživatelé MacOS musí používat OBS v23 nebo pozdější pro spřávné zachyceení <i>okna</i> prohlížeč Chrome s OBS v25</li>\n\t\t\t\t\t\t<li>Pokud máte problémy s \"pixelací\" videa. Prosím přidejte URL parameter <b>&amp;codec=vp9</b> do OBS Linku pro nápravu.</li>\n\t<h3><i>Koukněte na <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> for pomoc a návody. Jsem také na <a href=\"https://discord.gg/EksyhGA\">Discord</a> a můžete mi psát na steve@seguin.email. Přeložil do CZ: <a href=\"http://karelvitek.cz\">Karel Vítek</a></i></h3>\n\t\t\t\t\t",
"joining-room": "Připojujete se",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"max-resolution": "MAX rozlišení",
"mute": "Ztišit",
"no-audio": "Žádné Audio",
"note-share-audio": "\n\t\t\t\t\t<b>poznámka</b>: Nezapomeňte zakliknout \"Sdílet audio\" v Chromu.<br>(Firefox nepodporuje sdílení zvuku.)",
"open-in-new-tab": "Otevřít v nové záložce",
"record": "Nahrávat",
"remote-control-for-obs": "Vzdálené ovládání OBS",
"remote-screenshare-obs": "Vzdálené sdílení obrazovky do OBS",
"room-name": "Jméno místnost",
"rooms-allow-for": "Místnosti umožnůjí jednoduchý skupinový chat a pokročilou správu více streamů zároveň.",
"select-audio-source": "Zvolit zdroj Audia",
"select-audio-video": "Níže vyberte audio/video zdroj",
"select-screen-to-share": "VYBRAT OBRAZOVKU KE SDÍLENÍ",
"show-tips": "Zobrazit tipy..",
"smooth-cool": "Super and Cool",
"unlock-video-bitrate": "Rozvolnit limit Video Bitrate (20mbps)",
"video-source": "Video zdroj",
"volume": "Hlasitost",
"you-are-in-the-control-center": "Jsi v administraci místnosti",
"waiting-for-camera": "Čekám na načtení kamery",
"video-resolution": "Rozlišení videa: ",
"hide-screen-share": "Nezobrazovat možnost sdílet obrazovku",
"allow-remote-control": "Vzdálené ovládání přiblížení (android)",
"add-the-guest-to-a-room": " Přidat hosta do místosti:",
"invite-group-chat-type": "Člen této místnosti může:",
"can-see-and-hear": "Slyšet a vidět ostatní členy",
"can-hear-only": "Pouze slyšet ostatní členy",
"cant-see-or-hear": "Neslyšet ani nevidět ostatní členy",
"password-input-field": "Heslo",
"select-output-source": " Audio výstup: \n\t\t\t\t\t",
"add-a-password-to-stream": " Přidat heslo:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tVítejte na OBS.Ninja! můžete ihned poslat zprávy ostatním členům této místnosti\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tJména členů bude jedna z budoucích funkcí OBS.ninja.\n\t\t\t\t",
"send-chat": "Poslat",
"available-languages": "Dostupné jazyky:",
"add-more-here": "Přidat další!",
"invite-users-to-join": "Pozvat členy do místnosti a sdílet jejich feed. Tito členové uvidí všechny ostatní členy a jejich feedy.",
"link-to-invite-camera": "Pozvat členy do místnosti a sdílet jejich feed. Tito pouze sdílí avšak nic neuvidí ani neuslyší od ostatních.",
"this-is-obs-browser-source-link": "Tohle je link do OBS Browser Source link který je ve výchozím nastavení prázdný. Členové místnosti do této scény mohou být přidáni manuálně.",
"this-is-obs-browser-souce-link-auto": "Tohle je taky OBS Browser Source link. Všichni členové této místnosti tam jsou přidání antomaticky (vhodné např. na konference)",
"click-for-quick-room-overview": "❔ Klidni zde pro krátký přehled o funkcích",
"push-to-talk-enable": "🔊 Povolit administrátorovi Push-to-Talk mód",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(Zde se zobrazí členové až se připojí)",
"SOLO-LINK": "SOLO LINK pro OBS:"
}

View File

@@ -47,5 +47,22 @@
"invite-group-chat-type": "Dieser Gast..",
"can-see-and-hear": "..kann den Gruppen-Chat sehen und hören",
"can-hear-only": "..kann den Gruppen-Chat nur hören",
"cant-see-or-hear": "..kann den Gruppen-chat weder hören noch sehen"
}
"cant-see-or-hear": "..kann den Gruppen-chat weder hören noch sehen",
"password-input-field": "Password",
"select-output-source": " Audio Output Destination: \n\t\t\t\t\t",
"add-a-password-to-stream": " Add a password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tWelcome to OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Send",
"available-languages": "Available Languages:",
"add-more-here": "Add More Here!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Click Here for a quick overview and help",
"push-to-talk-enable": "🔊 Enable Director's Push-to-Talk Mode",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(A video will appear here when a guest joins)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

View File

@@ -1,50 +0,0 @@
{
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"GO": "GO",
"copy-this-url": "Copy this URL into an OBS \"Browser Source\"",
"you-are-in-the-control-center": "You are in the room's control center",
"joining-room": "You are joining room",
"add-group-chat": "Add Group Chat to OBS",
"rooms-allow-for": "Rooms allow for simplified group-chat and the advanced management of multiple streams at once.",
"room-name": "Room Name",
"enter-the-rooms-control": "Enter the Room's Control Center",
"show-tips": "Show me some tips..",
"added-notes": "\n<u><i>Added Notes:</i></u>\n<li>Anyone can enter a room if they know the name, so keep it unique</li>\n<li>Invite only guests to the room you trust.</li>\n<li>iOS devices will share just their audio with other guests; this is mainly a hardware limitation</li>\n<li>The \"Recording\" option is considered experimental.</li>\n",
"back": "Back",
"add-your-camera": "Add your Camera to OBS",
"waiting-for-camera": "Waiting for Camera to Load",
"video-source": "Video source",
"max-resolution": "1080p (hi-def)",
"balanced": "720p (balanced)",
"smooth-cool": "360p (smooth)",
"select-audio-source": "Select Audio Source",
"no-audio": "No Audio",
"remote-screenshare-obs": "Remote Screenshare into OBS",
"note-share-audio": "\n<b>note</b>: Do not forget to click \"Share audio\" in Chrome.<br>(Firefox does not support audio sharing.)",
"select-screen-to-share": "SELECT SCREEN TO SHARE",
"audio-sources": "Audio Sources",
"create-reusable-invite": "Create Reusable Invite",
"here-you-can-pre-generate": "Here you can pre-generate a reusable Browser Source link and a related guest invite link.",
"generate-invite-link": "GENERATE THE INVITE LINK",
"advanced-paramaters": "Advanced Options:",
"unlock-video-bitrate": "Unlock Video Bitrate (20mbps)",
"force-vp9-video-codec": "Force VP9 Video Codec (less artifacting)",
"enable-stereo-and-pro": "Enable Stereo and Pro HD Audio",
"video-resolution": "Video Resolution: ",
"high-security-mode": "High Security Mode",
"hide-screen-share": "Hide Screenshare Option",
"allow-remote-control": "Remote Control Camera Zoom (android)",
"add-the-guest-to-a-room": " Add the guest to a room:",
"invite-group-chat-type": "This room guest can:",
"can-see-and-hear": "Can see and hear the group chat",
"can-hear-only": "Can only hear the group chat",
"cant-see-or-hear": "Cannot hear or see the group chat",
"info-blob": "\n<h2>What is OBS.Ninja</h2><br>\n<li>100% <b>free</b>; no downloads; no personal data collection; no sign-in</li>\n<li>Bring video from your smartphone, computer, or friends directly into your OBS video stream</li>\n<li>We use cutting edge Peer-to-Peer forwarding technology that offers privacy and ultra-low latency</li>\n<br>\n<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demoing it here</a> </li>\n<br>\n<i><font style=\"color:red\">Known issues:</font></i><br>\n<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja/wiki/FAQ#mac-os\">MacOS users</a> need to use OBS v23 or resort to <a href=\"https://github.com/steveseguin/electroncapture\">Window Capturing</a> a browser with OBS v25</li>\n<li>Some users will have <a href=\"https://github.com/steveseguin/obsninja/wiki/FAQ#video-is-pixelated\">\"pixelation\" problems</a> with videos. Adding <b>&amp;codec=vp9</b> to the OBS links will often correct it.</li>\n<br>\n",
"remote-control-for-obs": "Remote Control for OBS",
"add-to-group": "Add to Group Scene",
"mute": "Mute",
"record": "Record",
"volume": "Volume",
"open-in-new-tab": "Open in new Tab",
"copy-to-clipboard": "Copy to Clipboard"
}

View File

@@ -47,5 +47,22 @@
"invite-group-chat-type": "This room guest can:",
"can-see-and-hear": "Can see and hear the group chat",
"can-hear-only": "Can only hear the group chat",
"cant-see-or-hear": "Cannot hear or see the group chat"
"cant-see-or-hear": "Cannot hear or see the group chat",
"password-input-field": "Password",
"select-output-source": " Audio Output Destination: \n\t\t\t\t\t",
"add-a-password-to-stream": " Add a password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tWelcome to OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Send",
"available-languages": "Available Languages:",
"add-more-here": "Add More Here!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Click Here for a quick overview and help",
"push-to-talk-enable": "🔊 Enable Director's Push-to-Talk Mode",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(A video will appear here when a guest joins)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

View File

@@ -1,51 +1,68 @@
{
"GO": "VAMOS",
"add-group-chat": "Agregar grupo de chat a OBS",
"add-to-group": "Agregar a la escena de grupo",
"add-your-camera": "Agregar tu camara a OBS",
"added-notes": "\n\t\t\t\t<u><i>Notas agregadas:</i></u>\n\t\t\t\t<li>cualquiera puede entrar en una sala si sabe el nombre, así que mantenlo único</li>\n\t\t\t\t<li>Tener más de quatro (4) personas en una sala no es recomendable debido a razones de rendimiento, pero depende de tú hardware.</li>\n\t\t\t\t<li>iOS dispositivos están limitados a tamaño de grupos de no más de dos (2) personas. Esto es una limitación de hardware.</li>\n\t\t\t\t<li>La opción de \"grabación\" es nueva y es considerada experimental.</li>\n\t\t\t\t<li>Tienes que \"Añadir\" una alimentación de video a la \"escena de grupo\" para que aparezca allí.</li>\n\t\t\t\t<li>Hay un botón nuevo añadido \"pantalla completa mejorada\" a la vista de invitados.</li>\n\t\t\t\t",
"advanced-paramaters": "Parámetros Avanzados",
"audio-sources": "Fuentes de Audio",
"back": "Vuelta",
"balanced": "Equilibrado",
"copy-this-url": "Copia este URL a un OBS \"fuente del navegador\"",
"copy-to-clipboard": "Copia a portapapeles",
"create-reusable-invite": "Crear una invitación reusable",
"enable-stereo-and-pro": "Habilitar el Estereo and Pro HD Audio",
"enter-the-rooms-control": "Entrar la sala del centro de control",
"force-vp9-video-codec": "Fuerza VP9 Video Codec (menos deformación)",
"generate-invite-link": "GENERAR EL LINK DE INVITACIÓN",
"here-you-can-pre-generate": "Aquí puedes pregenerar un enlace de fuente de navegador reutilizable y un enlace invitación correspondiente para invitados.",
"high-security-mode": "Modo de alta seguridad",
"info-blob": "\n\t\t\t\t\t\t<h2>Qué es OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li>100% <b>gratis</b>; sin descargas; sin recopilación de datos personales; sin registración</li>\n\t\t\t\t\t\t<li>Trae video desde el móbil, ordenador portátil, ordenador, o de tus amigos directamente al video OBS stream</li>\n\t\t\t\t\t\t<li>Uitlizamos tecnologia innovadora Peer-to-Peer que ofrece privacidad y ultra baja latencia</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demo aquí</a> </li>\n\t\t\t\t\t\t<li>Codigo está disponible aquí: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Problemas conocidos:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> MacOS usuarios necesitan utilizar OBS v23 or recurrir a i>Captura de Window</i> un navegador Chrome con OBS v25</li>\n\t\t\t\t\t\t<li>Algunos usuarios tenrdán \"pixelación\" problemas con videos. Porfavor añadir el parametro URL <b>&amp;codec=vp9</b> al enlace OBS para corregirlo.</li>\n\t<h3><i>Revisa <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> para ayuda e información avanzada. También estoy en <a href=\"https://discord.gg/EksyhGA\">Discord</a> y puedes enviarme un email a steve@seguin.email</i></h3>\n\t\t\t\t\t",
"joining-room": "Estás entrado en la sala",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"max-resolution": "Max Resolución",
"mute": "Mudo",
"no-audio": "Sin Audio",
"note-share-audio": "\n\t\t\t\t\t<b>Nota</b>: No te olvides de hacer clic \"Compartir audio\" en cromo.<br>(Firefox no soporta compartir audio.)",
"open-in-new-tab": "Abrir en un tab nuevo",
"record": "Record",
"remote-control-for-obs": "Control remoto para OBS",
"remote-screenshare-obs": "Compartir pantalla remota en OBS",
"room-name": "Nombre de sala",
"rooms-allow-for": "Salas permiten grupos de chats simplificados y gestión avanzada de múltiples flujos a la vez.",
"select-audio-source": "Seleccionar fuentes de Audio",
"select-audio-video": "Seleccionar fuentes de audio/video source abajo",
"select-screen-to-share": "SELECCIONAR PANTALLA PARA COMPARTIR",
"show-tips": "Muestrame algunos consejos..",
"smooth-cool": "Suave y fresco",
"unlock-video-bitrate": "Unlock Video Bitrate (20mbps)",
"video-source": "Fuente de video",
"volume": "Volumen",
"you-are-in-the-control-center": "Te encuentras in la sala de control",
"waiting-for-camera": "Esperando a que se carge la camara",
"video-resolution": "Video Resolución: ",
"hide-screen-share": "Esconder opción compartir pantalla",
"allow-remote-control": "Control remoto Camara Zoom (android)",
"add-the-guest-to-a-room": " Añadir el invitado a una sala:",
"invite-group-chat-type": "Este invitado a la sala puede:",
"can-see-and-hear": "Puede ver y oir el chat de grupo",
"can-hear-only": "Sólo puede oir el chat de grupo",
"cant-see-or-hear": "No puede ni oir ni ver el chat de grupo"
}
{
"GO": "IR",
"add-group-chat": "Agregar grupo de chat a OBS",
"add-to-group": "Agregar a la escena de grupo",
"add-your-camera": "Agregar tu camara a OBS",
"added-notes": "\n\t\t\t\t<u><i>Notas adicionales:</i></u>\n\t\t\t\t<li>Cualquiera puede entrar en una sala si conoce el nombre, así que mantenlo único</li>\n\t\t\t\t<li>Tener más de cuatro (4) personas en una sala no es recomendable debido a razones de rendimiento, pero depende de tu hardware.</li>\n\t\t\t\t<li>Los dispositivos iOS están limitados a tamaños de grupo de no más de dos (2) personas. Esto es una limitación de hardware.</li>\n\t\t\t\t<li>La opción de \"Grabación\" es nueva y se considera experimental.</li>\n\t\t\t\t<li>Tienes que \"Añadir\" una señal de video a la \"Escena de grupo\" para que aparezca allí.</li>\n\t\t\t\t<li>Hay un botón nuevo añadido \"Pantalla completa mejorada\" a la vista de invitados.</li>\n\t\t\t\t",
"advanced-paramaters": "Parámetros Avanzados",
"audio-sources": "Fuentes de Audio",
"back": "Atrás",
"balanced": "Equilibrado",
"copy-this-url": "Copia esta URL a una fuente \"Navegador\" de OBS",
"copy-to-clipboard": "Copia al portapapeles",
"create-reusable-invite": "Crear una invitación reutilizable",
"enable-stereo-and-pro": "Habilitar Estéreo y Pro HD Audio",
"enter-the-rooms-control": "Entrar a la sala de centro de control",
"force-vp9-video-codec": "Forzar VP9 Video Codec (menos artefactos)",
"generate-invite-link": "GENERAR EL LINK DE INVITACIÓN",
"here-you-can-pre-generate": "Aquí puedes pregenerar un enlace reutilizable para la fuente de navegador y un enlace para invitados.",
"high-security-mode": "Modo de alta seguridad",
"info-blob": "\n\t\t\t\t\t\t<h2>Qué es OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li>100% <b>gratis</b>; sin descargas; sin recopilación de datos personales; sin registros</li>\n\t\t\t\t\t\t<li>Lleva video desde tu móbil, portátil, ordenador de sobremesa, o de tus amigos directamente a tu stream en OBS</li>\n\t\t\t\t\t\t<li>Utilizamos tecnología innovadora Peer-to-Peer que ofrece privacidad y ultra baja latencia</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demo aquí</a> </li>\n\t\t\t\t\t\t<li>El cdigo está disponible aquí: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Problemas conocidos:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> Los usuarios de MacOS necesitan utilizar OBS v23 o recurrir a i&gt;Capturar ventana de un navegador Chrome con OBS v25</li>\n\t\t\t\t\t\t<li>Algunos usuarios tendrán problemas de \"pixelación\" con videos. Por favor añade en la URL el parametro <b>&amp;codec=vp9</b> a los enlaces de OBS para corregirlo.</li>\n\t<h3><i>Revisa <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> para ayuda e información avanzada. También estoy en <a href=\"https://discord.gg/EksyhGA\">Discord</a> y puedes enviarme un email a steve@seguin.email</i></h3>\n\t\t\t\t\t",
"joining-room": "Estás entrado en la sala",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"max-resolution": "Max. Resolución",
"mute": "Silenciar",
"no-audio": "Sin Audio",
"note-share-audio": "\n\t\t\t\t\t<b>Nota</b>: No te olvides de hacer clic \"Compartir audio\" en Chrome.<br>(Firefox no soporta compartir audio.)",
"open-in-new-tab": "Abrir en una pestaña nueva",
"record": "Grabar",
"remote-control-for-obs": "Control remoto para OBS",
"remote-screenshare-obs": "Compartir pantalla remota en OBS",
"room-name": "Nombre de sala",
"rooms-allow-for": "Las salas permiten un chat grupal simplificado y la administración avanzada de múltiples transmisiones a la vez.",
"select-audio-source": "Seleccionar fuentes de audio",
"select-audio-video": "Selecciona la fuente de audio/video a continuación",
"select-screen-to-share": "SELECCIONAR PANTALLA PARA COMPARTIR",
"show-tips": "Muéstrame algunos consejos..",
"smooth-cool": "Fluido",
"unlock-video-bitrate": "Desbloquear Video Bitrate (20mbps)",
"video-source": "Fuente de video",
"volume": "Volumen",
"you-are-in-the-control-center": "Estás en la sala de centro de control",
"waiting-for-camera": "Esperando a que se cargue la cámara",
"video-resolution": "Resolución de vídeo: ",
"hide-screen-share": "Ocultar opción compartir pantalla",
"allow-remote-control": "Control remoto del zoom de la cámara (android)",
"add-the-guest-to-a-room": " Añadir al invitado a una sala:",
"invite-group-chat-type": "Este invitado a la sala puede:",
"can-see-and-hear": "Puede ver y oir el chat de grupo",
"can-hear-only": "Sólo puede oir el chat de grupo",
"cant-see-or-hear": "No puede ni oir ni ver el chat de grupo",
"password-input-field": "Password",
"select-output-source": " Destino de la salida de audio: \n\t\t\t\t\t",
"add-a-password-to-stream": " Añadir un password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tBienvenido a OBS.Ninja! Puedes enviar mensajes de texto directamente a compañeros conectados desde aquí.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNombres identificando a los compañeros conectados serán una nueva característica en una próxima versión.\n\t\t\t\t",
"send-chat": "Enviar",
"available-languages": "Idiomas disponibles:",
"add-more-here": "¡Añade más aquí!",
"invite-users-to-join": "Invita a los usuarios a unirse al grupo y transmitir sus señales. Estos usuarios verán todas las señales de la sala.",
"link-to-invite-camera": "Enlace para invitar a los usuarios a transmitir sus señales al grupo. Estos usuarios no verán ni escucharán ninguna señal del grupo.",
"this-is-obs-browser-source-link": "Este es un enlace de una fuente de navegador de OBS que está vacía por defecto. Los videos de la sala se pueden agregar manualmente a esta escena.",
"this-is-obs-browser-souce-link-auto": "También un enlace de fuente de navegador de OBS. Todos los videos de invitados en esta sala de chat grupal se agregarán automáticamente a esta escena.",
"click-for-quick-room-overview": "❔ Haz clic aquí para obtener información general rápida y ayuda",
"push-to-talk-enable": "🔊 Habilitar pulsar para hablar en el modo director",
"welcome-to-control-room": "Bienvenidos. Esta es la sala de control para el chat grupal. Hay diferentes cosas para las que puedes usar esta habitación:<br><br>\t<li>Puedes organizar un chat grupal con amigos usando una sala. Comparte el enlace azul para invitar a los que se unirán al chat automáticamente.</li>\t<li>Una sala de grupo puede manejar de 4 a 30 invitados, dependiendo de numerosos factores, incluida la CPU y el ancho de banda disponible de todos los invitados en la sala.</li>\t<li>Las vistas individuales de cada vídeo se ofrecen según los videos se van cargando. Estos se pueden usar dentro de una fuente de navegador de OBS.</li>\t<li>Puedes usar la escena de grupo de mezcla automática, el enlace verde, para organizar automáticamente varios videos en OBS.</li>\t<li>Puedes usar esta sala de control para grabar transmisiones de vídeo o audio aisladas, pero es una característica experimental.</li>\t<li>Los videos en la sala del Director serán de baja calidad; para ahorrar ancho de banda/CPU</li>\t<li>Los invitados en la sala verán los videos de los demás con una calidad muy limitada para ahorrar ancho de banda/CPU.</li>\t<li>OBS verá el video de un invitado en alta calidad; la bitrate predeterminado es 2500 kbps.</li>\t<br>\tA medida que los invitados se unen, sus videos aparecerán a continuación. Puedes llevar sus transmisiones de vídeo a OBS como escenas individuales o puedes agregarlas a la escena de grupo.\t<br>La escena de grupo mezcla automáticamente los videos que se han agregado a la escena. Ten en cuenta que el Auto-Mixer requiere que los invitados se agreguen manualmente para que aparezcan en él; no se agregan automáticamente.<br><br>Los dispositivos móviles de Apple, como iPhones y iPads, no son totalmente compatibles con el videochat de grupo. Esta es una restricción de hardware.<br><br>\tPara opciones y parámetros avanzados, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">ver la Wiki.</a>",
"guest-will-appaer-here-on-join": "(Aparecerá un video aquí cuando un invitado se una)",
"SOLO-LINK": "SOLO LINK para OBS:"
}

View File

@@ -47,5 +47,22 @@
"invite-group-chat-type": "This room guest can:",
"can-see-and-hear": "Can see and hear the group chat",
"can-hear-only": "Can only hear the group chat",
"cant-see-or-hear": "Cannot hear or see the group chat"
"cant-see-or-hear": "Cannot hear or see the group chat",
"password-input-field": "Password",
"select-output-source": " Audio Output Destination: \n\t\t\t\t\t",
"add-a-password-to-stream": " Add a password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tWelcome to OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Send",
"available-languages": "Available Languages:",
"add-more-here": "Add More Here!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Click Here for a quick overview and help",
"push-to-talk-enable": "🔊 Enable Director's Push-to-Talk Mode",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(A video will appear here when a guest joins)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

View File

@@ -20,12 +20,12 @@
"select-audio-source": "Seleziona sorgente audio",
"no-audio": "No Audio",
"remote-screenshare-obs": "Screenshare remoto dentro OBS",
"note-share-audio": "\n<b>note</b>: Do not forget to click \"Share audio\" in Chrome.<br>(Firefox does not support audio sharing.)",
"note-share-audio": "\n<b>note</b>: Do not forget to click \"Condividi audio\" in Chrome.<br>(Firefox non supporta la condivisione dell'audio..)",
"select-screen-to-share": "Seleziona lo schermo da condividere",
"audio-sources": "Sorgenti Audio",
"create-reusable-invite": "Crea un invito riutilizzabile",
"here-you-can-pre-generate": "Qui è possibile pre-generare un collegamento Sorgente del browser riutilizzabile e un collegamento di invito ospite correlato.",
"generate-invite-link": "GENERATE THE INVITE LINK",
"generate-invite-link": "Genera Link invito",
"advanced-paramaters": "Opzioni avanzate:",
"unlock-video-bitrate": "Sblocca Video Bitrate (20mbps)",
"force-vp9-video-codec": "Forza VP9 Video Codec (less artifacting)",
@@ -46,5 +46,22 @@
"record": "Registra",
"volume": "Volume",
"open-in-new-tab": "Apri in una nuova Tab",
"copy-to-clipboard": "Copia negli appunti"
"copy-to-clipboard": "Copia negli appunti",
"password-input-field": "Password",
"select-output-source": " Destinazione Output Audio : \n\t\t\t\t\t",
"add-a-password-to-stream": " Aggiungi Password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tBenvenuto in OBS.Ninja! Da qui puoi inviare messaggi di testo direttamente ai peer connessi.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tI nomi che identificano i peer connessi saranno una funzionalità in una prossima versione..\n\t\t\t\t",
"send-chat": "Invia",
"available-languages": "Lingue Disponibili:",
"add-more-here": "Aggiungi altro qui!",
"invite-users-to-join": "Invita gli utenti a unirsi al gruppo e a trasmettere il proprio feed. Questi utenti vedranno ogni feed nella stanza.",
"link-to-invite-camera": "Link per invitare gli utenti a trasmettere i propri feed al gruppo. Questi utenti non vedranno né sentiranno alcun feed dal gruppo.",
"this-is-obs-browser-source-link": "Questo è un collegamento all'origine del browser OBS che è vuoto per impostazione predefinita. I video nella stanza possono essere aggiunti manualmente a questa scena.",
"this-is-obs-browser-souce-link-auto": "Anche un collegamento alla sorgente del browser OBS. Tutti i video degli ospiti in questa chat room di gruppo verranno aggiunti automaticamente a questa scena.",
"click-for-quick-room-overview": "❔ Fare clic qui per una rapida panoramica e assistenza ",
"push-to-talk-enable": "🔊 Abilita Director's Push-to-Talk Mode",
"welcome-to-control-room": "Benvenuto. Questa è la sala di controllo per la chat di gruppo. Ci sono diverse cose per cui puoi usare questa stanza:<br><br>\t<li>Puoi ospitare una chat di gruppo con gli amici utilizzando una stanza. Condividi il link blu per invitare gli ospiti che si uniranno automaticamente alla chat.</li>\t<li>Una sala per gruppi può ospitare da 4 a 30 persone, a seconda di numerosi fattori, tra cui CPU e larghezza di banda disponibile di tutti gli ospiti nella stanza.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(Quando un ospite si unisce, verrà visualizzato un video qui)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

68
translations/ja.json Normal file
View File

@@ -0,0 +1,68 @@
{
"GO": "GO",
"add-group-chat": "OBSにグループミーティングを追加",
"add-to-group": "グループシーンに追加",
"add-your-camera": "OBSに自分のカメラを追加",
"added-notes": "<i><u>追加情報:<u></u></u></i><li><u><u>ルーム名を知っている人は誰でもルームに入れるため、ユニークなルーム名にして下さい。</u></u></li><li><u><u>ハードウェア性能にもよりますが、パフォーマンス上の理由から、4人以上のルーム利用はおすすめできません。</u></u></li><li><u><u>iOSデバイスでは、2人以下のグループサイズに制限されます。これはハードウェアによる制限です。</u></u></li><li><u><u>\"Recording\" オプションは実験的な新機能です。</u></u></li><li><u><u>ビデオフィードを「グループシーン」に表示するには、そこに「追加」する必要があります。</u></u></li><li><u><u>ゲストのビューに、新しい「強化されたフルスクリーン」ボタンが追加されました。</u></u></li>",
"advanced-paramaters": "高度なパラメータ",
"audio-sources": "音声ソース",
"back": "戻る",
"balanced": "バランス",
"copy-this-url": "このURLをOBSの「ブラウザソース」に追加",
"copy-to-clipboard": "クリップボードにコピー",
"create-reusable-invite": "再利用可能な招待リンクを作成",
"enable-stereo-and-pro": "ステレオ・プロHDオーディオを有効にする",
"enter-the-rooms-control": "ルーム管理センターに入る",
"force-vp9-video-codec": "VP9ビデオコーデックの使用を強制 (less artifacting)",
"generate-invite-link": "招待リンクを作成",
"here-you-can-pre-generate": "再利用可能なブラウザソースリンクと、関連するゲスト招待リンクを、事前に作成できます。",
"high-security-mode": "高セキュリティモード",
"info-blob": "<h2>OBS.Ninja とは?</h2><br><li>超低遅延でプライバシーが保護された、ビデオストリームサービスです。</li><li>ライブ配信でゲストとの対話を配信したり、少人数のグループミーティングにも利用できます。</li><li>100% <strong>無料</strong>、ダウンロード不要、サインイン不要、個人情報を一切収集しません。</li><li>あなたや友人のスマートフォン、タブレット、PCなどから、直接OBSビデオストリームに映像を取り込めます。</li><li>プライバシーと超低遅延を実現するために、最先端のピアツーピア転送技術を使用しています。</li><br><li>YouTube: <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">デモ動画を見る</a> </li><li>Github: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li><br><i><font style=\"color:red\">既知の問題点:</font></i><br><li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i>MacOSユーザーは、OBS v23を使用するか、OBS v25でChromeブラウザーを<i>ウィンドウキャプチャー</i>する必要があります。</li><li>一部のユーザーは「ピクセレーション」問題が発生します。その場合、URLパラメータに <code>&amp;codec=vp9</code> を追加して下さい。</li><br><i>フォーラムや連絡先:</i><br><li>ヘルプや高度な情報は、<a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a><i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"> でチェックして下さい。</i></li><li><i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"><a href=\"https://discord.gg/EksyhGA\">Discord</a> もあります。</i></li><li><i class=\"fa fa-reddit-alien\" aria-hidden=\"true\">メール <a href=\"mailto:steve@seguin.email\">steve@seguin.email</a> でも連絡できます。</i></li>",
"joining-room": "ルームに参加しています",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"max-resolution": "最大解像度",
"mute": "ミュート",
"no-audio": "音声なし",
"note-share-audio": "<strong>注意</strong>: Chromeの「音声の共有」を必ずクリックして下さい。<br>(Firefox は音声の共有をサポートしていません)",
"open-in-new-tab": "新しいタブで開く",
"record": "録画",
"remote-control-for-obs": "OBS用リモートコントロール",
"remote-screenshare-obs": "OBSに画面共有を追加",
"room-name": "ルーム名",
"rooms-allow-for": "ルームを利用すると、グループミーティングや複数ストリームを、一つの画面で管理できます。",
"select-audio-source": "音声ソースを選択",
"select-audio-video": "映像/音声ソースを下から選んで下さい",
"select-screen-to-share": "共有する画面を選択",
"show-tips": "ヒントを表示",
"smooth-cool": "スムーズ&クール",
"unlock-video-bitrate": "ビデオビットレートをアンロック (20mbps)",
"video-source": "映像ソース",
"volume": "ボリューム",
"you-are-in-the-control-center": "ルーム管理センター",
"waiting-for-camera": "カメラがロードされるのを待っています...",
"video-resolution": "ビデオ解像度: ",
"hide-screen-share": "画面共有オプションを非表示",
"allow-remote-control": "カメラズームのリモートコントロール (android)",
"add-the-guest-to-a-room": "ゲストをルームに追加:",
"invite-group-chat-type": "このルームのゲストは、次のことができる:",
"can-see-and-hear": "グループミーティングの映像・音声を視聴できる",
"can-hear-only": "グループミーティングの音声のみ聞ける",
"cant-see-or-hear": "グループミーティングの映像・音声を視聴できない",
"password-input-field": "Password",
"select-output-source": "音声出力先:",
"add-a-password-to-stream": "パスワードを追加:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tWelcome to OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Send",
"available-languages": "Available Languages:",
"add-more-here": "Add More Here!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Click Here for a quick overview and help",
"push-to-talk-enable": "🔊 Enable Director's Push-to-Talk Mode",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(A video will appear here when a guest joins)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

View File

@@ -1,51 +1,68 @@
{
"GO": "START",
"add-group-chat": "Voeg Groepsgesprek toe",
"add-to-group": "Voeg toe aan Groepsscene",
"add-your-camera": "Voeg je Camera toe",
"added-notes": "\n\t\t\t\t<u><i>Notities:</i></u>\n\t\t\t\t<li>Iedereen kan de kamer binnenkomen als ze de naam kennen, dus hou hem uniek</li>\n\t\t\t\t<li>Meer dan vier (4) mensen in een kamer is niet aan te raden vanwege prestatie redenen, maar is afhankelijk van uw hardware.</li>\n\t\t\t\t<li>Bij iOS apparaten is de video alleen zichtbaar voor de regiseur. Dit is een hardware beperking.</li>\n\t\t\t\t<li>De \"Opname\" optie is nieuw en is experimenteel.</li>\n\t\t\t\t<li>U moet een video stroom \"Toevoegen\" aan de \"Groeps Scene\" om het hier te tonen.</li>\n\t\t\t\t<li>Er is een nieuwe \"uitgebreid volledig scherm\" knop toegevoegd aan het Gasten scherm.</li>\n\t\t\t\t",
"advanced-paramaters": "Geavanceerde Parameters",
"audio-sources": "Geluidsbronnen",
"back": "Terug",
"balanced": "Gebalanceerd",
"copy-this-url": "Deelbare Link naar deze video",
"copy-to-clipboard": "Kopiëren naar Clipboard",
"create-reusable-invite": "Maak Herbruikbare Uitnodiging",
"enable-stereo-and-pro": "Activeer Stereo en Pro HD Geluid",
"enter-the-rooms-control": "Ga de Kamer's Controle Centrum in",
"force-vp9-video-codec": "Forceer VP9 Video Codec (minder verstoring)",
"generate-invite-link": "GENEREER DE UITNODIGINGS LINK",
"here-you-can-pre-generate": "Hier kan u vooraf een herbruikbare weergave link en een bijbehorende gast uitnodigingslink aanmaken.",
"high-security-mode": "Hoge Beveilingsstand",
"info-blob": "\n\t\t\t\t\t\t<h2>Wat is OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li>100% <b>gratis</b>; geen downloads; geen persoonlijke gegevens verzamelen; niet inloggen</li>\n\t\t\t\t\t\t<li>Breng video van uw smartphone, laptop, computer, of van uw vrienden direct in uw OBS video stroom</li>\n\t\t\t\t\t\t<li>We gebruiken vooruitstrevende Peer-to-Peer technologie die privacy en ultra lage vertraging biedt</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demonstratie</a> </li>\n\t\t\t\t\t\t<li>Code is beschikbaar op: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Bekende problemen:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> MacOS gebruikers moeten OBS v23 gebruiken of terugvallen op <i>Window Capturing</i> van een Chrome Browser met OBS v25</li>\n\t\t\t\t\t\t<li>Sommige gebruikers kunnen \"pixelatie\" problemen met videos ervaren. Voeg dan de URL parameter <b>&amp;codec=vp9</b> toe aan de OBS Links om dit te corrigeren.</li>\n\t<h3><i>Kijk ook op <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> voor hulp en uitgebreide informatie. Ik zit ook op <a href=\"https://discord.gg/EksyhGA\">Discord</a> en u kan me mailen op steve@seguin.email</i></h3>\n\t\t\t\t\t",
"joining-room": "U neemt deel aan de kamer",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS Ninja",
"max-resolution": "Max Resolutie",
"mute": "Demp",
"no-audio": "Geen Geluid",
"note-share-audio": "\n\t\t\t\t\t<b>Noot</b>: Vergeet niet op \"Deel geluid\" te klikken in Chrome.<br>(Firefox ondersteung geen geluid delen.)",
"open-in-new-tab": "Open in nieuwe Tab",
"record": "Neem op",
"remote-control-for-obs": "Afstandsbediening",
"remote-screenshare-obs": "Deel externe scherm",
"room-name": "Kamer Naam",
"rooms-allow-for": "Kamers maken eenvoudige groepsgespreken en geavanceerd beheer van meerdere streams tegelijk mogelijk.",
"select-audio-source": "Selecteer Geluidsbronnen",
"select-audio-video": "Selecteer de geluid/video bron hieronder",
"select-screen-to-share": "SELECTEER SCHERM OM TE DELEN",
"show-tips": "Toon me wat tips..",
"smooth-cool": "Soepel en Koel",
"unlock-video-bitrate": "Ontsluit Video Bitrate (20mbps)",
"video-source": "Video bron",
"volume": "Volume",
"you-are-in-the-control-center": "U bent in het kamer beheers centrum",
"waiting-for-camera": "Wachten op het Laden van de Camera",
"video-resolution": "Video Resolutie: ",
"hide-screen-share": "Verberg Scherm Delen Optie",
"allow-remote-control": "Afstandsbediening Camera Zoom (android)",
"add-the-guest-to-a-room": " Voeg de gast toe aan een kamer:",
"invite-group-chat-type": "Deze kamer gast kan:",
"can-see-and-hear": "Het groepsgesprek zien en horen",
"can-hear-only": "Alleen het groepsgesprek horen",
"cant-see-or-hear": "Het groepsgesprek niet horen en zien"
{
"GO": "START",
"add-group-chat": "Voeg Groepsgesprek toe",
"add-to-group": "Voeg toe aan Groepsscene",
"add-your-camera": "Voeg je Camera toe",
"added-notes": "\n\t\t\t\t<u><i>Notities:</i></u>\n\t\t\t\t<li>Iedereen kan de kamer binnenkomen als ze de naam kennen, dus hou hem uniek</li>\n\t\t\t\t<li>Meer dan vier (4) mensen in een kamer is niet aan te raden vanwege prestatie redenen, maar is afhankelijk van uw hardware.</li>\n\t\t\t\t<li>Bij iOS apparaten is de video alleen zichtbaar voor de regiseur. Dit is een hardware beperking.</li>\n\t\t\t\t<li>De \"Opname\" optie is nieuw en is experimenteel.</li>\n\t\t\t\t<li>U moet een video stroom \"Toevoegen\" aan de \"Groeps Scene\" om het hier te tonen.</li>\n\t\t\t\t<li>Er is een nieuwe \"uitgebreid volledig scherm\" knop toegevoegd aan het Gasten scherm.</li>\n\t\t\t\t",
"advanced-paramaters": "Geavanceerde Parameters",
"audio-sources": "Geluidsbronnen",
"back": "Terug",
"balanced": "Gebalanceerd",
"copy-this-url": "Deelbare Link naar deze video",
"copy-to-clipboard": "Kopiëren naar Clipboard",
"create-reusable-invite": "Maak Herbruikbare Uitnodiging",
"enable-stereo-and-pro": "Activeer Stereo en Pro HD Geluid",
"enter-the-rooms-control": "Ga de Kamer's Controle Centrum in",
"force-vp9-video-codec": "Forceer VP9 Video Codec (minder verstoring)",
"generate-invite-link": "GENEREER DE UITNODIGINGS LINK",
"here-you-can-pre-generate": "Hier kan u vooraf een herbruikbare weergave link en een bijbehorende gast uitnodigingslink aanmaken.",
"high-security-mode": "Hoge Beveilingsstand",
"info-blob": "\n\t\t\t\t\t\t<h2>Wat is OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li>100% <b>gratis</b>; geen downloads; geen persoonlijke gegevens verzamelen; niet inloggen</li>\n\t\t\t\t\t\t<li>Breng video van uw smartphone, laptop, computer, of van uw vrienden direct in uw OBS video stroom</li>\n\t\t\t\t\t\t<li>We gebruiken vooruitstrevende Peer-to-Peer technologie die privacy en ultra lage vertraging biedt</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Demonstratie</a> </li>\n\t\t\t\t\t\t<li>Code is beschikbaar op: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Bekende problemen:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> MacOS gebruikers moeten OBS v23 gebruiken of terugvallen op <i>Window Capturing</i> van een Chrome Browser met OBS v25</li>\n\t\t\t\t\t\t<li>Sommige gebruikers kunnen \"pixelatie\" problemen met videos ervaren. Voeg dan de URL parameter <b>&amp;codec=vp9</b> toe aan de OBS Links om dit te corrigeren.</li>\n\t<h3><i>Kijk ook op <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> voor hulp en uitgebreide informatie. Ik zit ook op <a href=\"https://discord.gg/EksyhGA\">Discord</a> en u kan me mailen op steve@seguin.email</i></h3>\n\t\t\t\t\t",
"joining-room": "U neemt deel aan de kamer",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS Ninja",
"max-resolution": "Max Resolutie",
"mute": "Demp",
"no-audio": "Geen Geluid",
"note-share-audio": "\n\t\t\t\t\t<b>Noot</b>: Vergeet niet op \"Deel geluid\" te klikken in Chrome.<br>(Firefox ondersteung geen geluid delen.)",
"open-in-new-tab": "Open in nieuwe Tab",
"record": "Neem op",
"remote-control-for-obs": "Afstandsbediening",
"remote-screenshare-obs": "Deel externe scherm",
"room-name": "Kamer Naam",
"rooms-allow-for": "Kamers maken eenvoudige groepsgespreken en geavanceerd beheer van meerdere streams tegelijk mogelijk.",
"select-audio-source": "Selecteer Geluidsbronnen",
"select-audio-video": "Selecteer de geluid/video bron hieronder",
"select-screen-to-share": "SELECTEER SCHERM OM TE DELEN",
"show-tips": "Toon me wat tips..",
"smooth-cool": "Soepel en Koel",
"unlock-video-bitrate": "Ontsluit Video Bitrate (20mbps)",
"video-source": "Video bron",
"volume": "Volume",
"you-are-in-the-control-center": "U bent in het kamer beheers centrum",
"waiting-for-camera": "Wachten op het Laden van de Camera",
"video-resolution": "Video Resolutie: ",
"hide-screen-share": "Verberg Scherm Delen Optie",
"allow-remote-control": "Afstandsbediening Camera Zoom (android)",
"add-the-guest-to-a-room": " Voeg de gast toe aan een kamer:",
"invite-group-chat-type": "Deze kamer gast kan:",
"can-see-and-hear": "Het groepsgesprek zien en horen",
"can-hear-only": "Alleen het groepsgesprek horen",
"cant-see-or-hear": "Het groepsgesprek niet horen en zien",
"password-input-field": "Password",
"select-output-source": " Audio Output Destination: \n\t\t\t\t\t",
"add-a-password-to-stream": " Add a password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tWelcome to OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Send",
"available-languages": "Available Languages:",
"add-more-here": "Add More Here!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Click Here for a quick overview and help",
"push-to-talk-enable": "🔊 Enable Director's Push-to-Talk Mode",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(A video will appear here when a guest joins)",
"SOLO-LINK": "SOLO LINK for OBS:"
}

51
translations/pig.json Normal file
View File

@@ -0,0 +1,51 @@
{
"GO": "OGAY",
"add-group-chat": "Addway Oupgray Atchay",
"add-to-group": "Addway Oupgray Atchay",
"add-your-camera": "Addway ouryay Ameracay",
"added-notes": "\n\t\t\t\t<u><i>Addedway Otesnay:</i></u>\n\t\t\t\t<li>Anyoneway ancay enterway away oomray ifway eythay owknay ethay amenay, osay eepkay itway uniqueway</li>\n\t\t\t\t<li>Avinghay oremay anthay ourfay (4) eoplepay inway away oomray isway otnay advisableway ueday otay erformancepay easonsray, utbay itway ependsday onway ouryay ardwarehay.</li>\n\t\t\t\t<li>iOSWAY evicesday illway avehay eirthay ideovay onlyway ebay isiblevay otay ethay irectorday. Isthay isway away ardwarehay imitationlay.</li>\n\t\t\t\t<li>Ethay \"Ecordingray\" optionway isway ewnay andway isway onsideredcay experimentalway.</li>\n\t\t\t\t",
"advanced-paramaters": "Advancedway Arameterspay",
"audio-sources": "Audioway Ourcessay",
"back": "Ackbay",
"balanced": "Alancedbay",
"copy-this-url": "Arableshay Inklay otay isthay ideovay",
"copy-to-clipboard": "Opycay otay Ipboardclay",
"create-reusable-invite": "Eatecray Eusableray Inviteway",
"enable-stereo-and-pro": "Enableway Ereostay andway Opray HDAY Audioway",
"enter-the-rooms-control": "Enterway ethay Oom'sray Ontrolcay Entercay",
"force-vp9-video-codec": "Orcefay VPAY9 Ideovay Odeccay (esslay artifactingway)",
"generate-invite-link": "ENERATEGAY ETHAY INVITEWAY INKLAY",
"here-you-can-pre-generate": "Erehay ouyay ancay epray-enerategay away eusableray iewvay inklay andway away elatedray uestgay inviteway inklay.",
"high-security-mode": "Ighhay Ecuritysay Odemay",
"info-blob": "",
"joining-room": "Ouyay areway oiningjay oomray",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS Ninja - Pig Latin",
"max-resolution": "Axmay Esolutionray",
"mute": "Utemay",
"no-audio": "Onay Audioway",
"note-share-audio": "\n",
"open-in-new-tab": "Openway inway ewnay Abtay",
"record": "Ecordray",
"remote-control-for-obs": "Emoteray Ontrolcay",
"remote-screenshare-obs": "Emoteray Eensharescray",
"room-name": "Oomray Amenay",
"rooms-allow-for": "Oomsray allowway orfay implifiedsay oupgray-atchay andway ethay advancedway anagementmay ofway ultiplemay eamsstray atway onceway.",
"select-audio-source": "Electsay Audioway Ourcessay",
"select-audio-video": "Electsay ethay audioway/ideovay ourcesay elowbay",
"select-screen-to-share": "ELECTSAY EENSCRAY OTAY ARESHAY",
"show-tips": "Owshay emay omesay ipstay..",
"smooth-cool": "Oothsmay andway Oolcay",
"unlock-video-bitrate": "Unlockway Ideovay Itratebay (20mbpsay)",
"video-source": "Ideovay ourcesay",
"volume": "Olumevay",
"you-are-in-the-control-center": "Ouyay areway inway ethay oom'sray ontrolcay entercay",
"waiting-for-camera": "Aitingway orfay Ameracay otay Oadlay",
"video-resolution": "Ideovay Esolutionray: ",
"hide-screen-share": "Idehay Eensharescray Optionway",
"allow-remote-control": "Emoteray Ontrolcay Ameracay Oomzay (androidway)",
"add-the-guest-to-a-room": " Addway ethay uestgay otay away oomray:",
"invite-group-chat-type": "Isthay oomray uestgay ancay:",
"can-see-and-hear": "Ancay eesay andway earhay ethay oupgray atchay",
"can-hear-only": "Ancay onlyway earhay ethay oupgray atchay",
"cant-see-or-hear": "Annotcay earhay orway eesay ethay oupgray atchay"
}

View File

@@ -39,13 +39,29 @@
"video-source": "Fonte de vídeo",
"volume": "Volume",
"you-are-in-the-control-center": "Está no Centro de Controlo da Sala",
"waiting-for-camera": "Waiting for Camera to Load",
"video-resolution": "Video Resolution: ",
"hide-screen-share": "Hide Screenshare Option",
"allow-remote-control": "Remote Control Camera Zoom (android)",
"add-the-guest-to-a-room": " Add the guest to a room:",
"invite-group-chat-type": "This room guest can:",
"can-see-and-hear": "Can see and hear the group chat",
"can-hear-only": "Can only hear the group chat",
"cant-see-or-hear": "Cannot hear or see the group chat"
"waiting-for-camera": "Esperando pela câmera",
"video-resolution": "Resolução de Vídeo: ",
"hide-screen-share": "Esconder opção de partilhar ecrã",
"allow-remote-control": "Controlo remoto do zoom da câmera (android)",
"add-the-guest-to-a-room": " Adicionar convidado a uma sala:",
"invite-group-chat-type": "Este convidado pode:",
"can-see-and-hear": "Pode ver e ouvir o chat de grupo",
"can-hear-only": "Pode apenas ouvir o chat de grupo",
"cant-see-or-hear": "Não pode ver ou ouvir o chat de grupo",
"password-input-field": "Password",
"select-output-source": " Saída de áudio: \n\t\t\t\t\t",
"add-a-password-to-stream": " Adicionar uma password:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tBem vindo ao OBS.Ninja! Pode enviar mensagens diretas a quem estiver aqui ligado a partir daqui.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNomes a identificar as ligações será uma funcionalidade futura.\n\t\t\t\t",
"send-chat": "Enviar",
"available-languages": "Línguas disponíveis:",
"add-more-here": "Adicionar mais aqui!",
"invite-users-to-join": "Convida os utilizadores a juntarem-se à sala e partilharem câmera ou ecrã com ele. Estes utilizadores vêm as transmissões do resto da sala.",
"link-to-invite-camera": "Convida os utilizadores a juntarem-se à sala e partilharem câmera ou ecrã com ele. Estes utilizadores não vêm nem ouvem as transmissões do resto da sala.",
"this-is-obs-browser-source-link": "Este é um link para Fonte Browser do OBS que por omissão está vazio. Vídeos da sala podem ser manualmente adicionados.",
"this-is-obs-browser-souce-link-auto": "Também é um link para Fonte Browser do OBS. Todos os vídeos desta sala serão automaticamente adicionados.",
"click-for-quick-room-overview": "❔ Clique aqui para uma pequena apresentação e ajuda",
"push-to-talk-enable": "🔊 Ativar Push-to-talk do diretor",
"welcome-to-control-room": "Bem-vindo. Esta é a sala de controlo para o chat de grupo. Há diferentes coisas que pode fazer aqui:<br><br>\t<li>Pode hospedar um chat de grupo com amigos. Partilhe o link azul para os convidados se juntarem ao chat de forma automática.</li>\t<li>Uma sala de grupo pode hospedar entre 4 a 30 4 to 30 convidados, dependendo de inúmeros factores, incluindo CPU e largura de banda de todos os convidados na sala.</li>\t<li>Visualizações individuais de cada vídeo serão mostradas quando carregam. Estas podem ser usadas em Fontes do tipo Browser no OBS.</li>\t<li>Pode usar a cena de grupo automática, o link verde, para dispôr automaticamente os vídeos por si no OBS.</li>\t<li>Pode usar esta sala de controlo para gravar streams isolados de vídeo ou áudio, mas isto é ainda experimental.</li>\t<li>Vídeos na sala de controle são de baixa qualidade propositadamente; para poupar largura de banda/CPU</li>\t<li>Convidados na sala irão ver-se numa qualidade muito reduzida para conservar largura de banda/CPU.</li>\t<li>OBS tem acesso ao vídeo do convidado em alta qualidade; o bitrate de vídeo por omissão é 2500kbps.</li>\t<br>\tÀ medida que os convidados entram, os seus vídeos são mostrados abaixo. Pode levar os seus sinais para o OBS como cenas individuais ou pode adicioná-los à cena de grupo.\t<br>A Cena de grupo auto-mistura vídeos que lhe forem adicionados. Note que a auto-mistura requer que os convidados sejam manualmente adicionados; não são adicionados automaticamente.<br><br>Dispositivos móveis Apple, como iPhones e iPads, não suportam totalmente o Chat de Grupo. Este é um constrangimento de hardware.<br><br>\tPara opções avançadas e parâmetros, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">veja o Wiki.</a>", "guest-will-appaer-here-on-join": "(Aparece aqui o vídeo quando um convidado entrar)",
"SOLO-LINK": "Link individual para OBS:"
}

View File

@@ -1,42 +1,68 @@
{
"GO": "ВОЙТИ",
"add-group-chat": "Добавить групповой чат в OBS",
"add-to-group": "Добавить в групповую сцену",
"add-your-camera": "Добавьте свою камеру в OBS",
"added-notes": "\n\t\t\t\t<u><i>Добавленные заметки:</i></u>\n\t\t\t\t<li>Любой может войти в комнату, если знает имя, поэтому оставьте его уникальным</li>\n\t\t\t\t<li>Наличие более четырех (4) человек в комнате не рекомендуется по причинам производительности, но это зависит от вашего оборудования.</li>\n\t\t\t\t<li>Устройства iOS ограничены размерами группы не более двух (2) человек. Это аппаратное ограничение.</li>\n\t\t\t\t",
"advanced-paramaters": "Расширенные параметры",
"audio-sources": "Источники звука",
"back": "Назад",
"balanced": "Сбалансированный",
"copy-this-url": "Скопируйте этот URL-адрес в OBS \"Браузер\"",
"copy-to-clipboard": "Скопировано в буфер обмена",
"create-reusable-invite": "Создать многоразовое приглашение",
"enable-stereo-and-pro": "Включить стерео и Pro HD Audio",
"enter-the-rooms-control": "Войдите в центр управления комнатой",
"force-vp9-video-codec": "Видеокодек Force VP9 (меньше артефактов)",
"generate-invite-link": "СГЕНЕРИРОВАТЬ ССЫЛКУ-ПРИГЛАШЕНИЕ",
"here-you-can-pre-generate": "Здесь вы можете предварительно сгенерировать повторно используемую ссылку на источник браузера и связанную гостевую ссылку для приглашения..",
"high-security-mode": "Режим повышенной безопасности",
"info-blob": "\n\t\t\t\t\t\t<h2>Что такое OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li><b>бесплатно</b> на 100%; нет загрузок; нет сбора личных данных; нет входа</li>\n\t\t\t\t\t\t<li>Добавляйте видео со своего смартфона, ноутбука, компьютера или друзей прямо в видеопоток OBS</li>\n\t\t\t\t\t\t<li>Мы используем передовую технологию переадресации Peer-to-Peer, которая обеспечивает конфиденциальность и сверхнизкую задержку</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Пользователям MacOS необходимо использовать OBS v23 или использовать <i>захват окна</ i> в браузере Google Chrome с OBS v25</li>\n\t\t\t\t\t\t<br><h3><i>Проверьте <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> для помощи и дополнительной информации.</i></h3>\n\t\t\t\t\t",
"joining-room": "Вы присоединяетесь к комнате",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja (RU)",
"max-resolution": "Максимальное разрешение",
"mute": "Отключить звук",
"no-audio": "Нет звука",
"note-share-audio": "\n\t\t\t\t\tFirefox не поддерживает обмен аудио",
"open-in-new-tab": "Открыть в новой вкладке",
"record": "Запись",
"remote-control-for-obs": "Пульт дистанционного управления для OBS",
"remote-screenshare-obs": "Удаленный просмотр экрана в OBS",
"room-name": "Название комнаты",
"rooms-allow-for": "В комнатах предусмотрены упрощенный групповой чат и расширенное управление несколькими потоками одновременно.",
"select-audio-source": "Выберите источники звука",
"select-audio-video": "Выберите источник аудио / видео ниже",
"select-screen-to-share": "Выберите экран, чтобы поделиться",
"show-tips": "Покажите мне несколько советов..",
"smooth-cool": "Гладко и круто",
"unlock-video-bitrate": "Разблокировать битрейт видео (20 Мбит/с)",
"video-source": "Источники видео",
"volume": "Громкость",
"you-are-in-the-control-center": "Вы находитесь в центре управления комнатой"
}
{
"GO": "ВОЙТИ",
"add-group-chat": "Добавить групповой чат в OBS",
"add-to-group": "Добавить в групповую сцену",
"add-your-camera": "Добавить свою камеру в OBS",
"added-notes": "\n\t\t\t\t<u><i>Добавленные заметки:</i></u>\n\t\t\t\t<li>Любой может войти в комнату, если знает имя, поэтому оставьте его уникальным</li>\n\t\t\t\t<li>Наличие более четырех (4) человек в комнате не рекомендуется по причинам производительности, но это зависит от вашего оборудования.</li>\n\t\t\t\t<li>Устройства iOS ограничены размерами группы не более двух (2) человек. Это аппаратное ограничение.</li>\n\t\t\t\t",
"advanced-paramaters": "Расширенные параметры",
"audio-sources": "Источники звука",
"back": "Назад",
"balanced": "Сбалансированный",
"copy-this-url": "Скопируйте этот URL-адрес в OBS \"Браузер\"",
"copy-to-clipboard": "Скопировано в буфер обмена",
"create-reusable-invite": "Создать многоразовое приглашение",
"enable-stereo-and-pro": "Включить стерео и Pro HD Audio",
"enter-the-rooms-control": "Войдите в центр управления комнатой",
"force-vp9-video-codec": "Видеокодек Force VP9 (меньше артефактов)",
"generate-invite-link": "СГЕНЕРИРОВАТЬ ССЫЛКУ-ПРИГЛАШЕНИЕ",
"here-you-can-pre-generate": "Здесь вы можете предварительно сгенерировать повторно используемую ссылку на источник браузера и связанную гостевую ссылку для приглашения..",
"high-security-mode": "Режим повышенной безопасности",
"info-blob": "\n\t\t\t\t\t\t<h2>Что такое OBS.Ninja</h2><br>\n\t\t\t\t\t\t<li><b>бесплатно</b> на 100%; нет загрузок; нет сбора личных данных; нет входа</li>\n\t\t\t\t\t\t<li>Добавляйте видео со своего смартфона, ноутбука, компьютера или друзей прямо в видеопоток OBS</li>\n\t\t\t\t\t\t<li>Мы используем передовую технологию переадресации Peer-to-Peer, которая обеспечивает конфиденциальность и сверхнизкую задержку</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Пользователям MacOS необходимо использовать OBS v23 или использовать <i>захват окна<!-- i--> в браузере Google Chrome с OBS v25</i></li><i>\n\t\t\t\t\t\t<br><h3><i>Проверьте <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i> для помощи и дополнительной информации.</i></h3>\n\t\t\t\t\t</i>",
"joining-room": "Вы присоединяетесь к комнате",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja (RU)",
"max-resolution": "Максимальное разрешение",
"mute": "Отключить звук",
"no-audio": "Нет звука",
"note-share-audio": "\n\t\t\t\t\tFirefox не поддерживает обмен аудио",
"open-in-new-tab": "Открыть в новой вкладке",
"record": "Запись",
"remote-control-for-obs": "Пульт дистанционного управления для OBS",
"remote-screenshare-obs": "Удаленная демонстрация экрана в OBS",
"room-name": "Название комнаты",
"rooms-allow-for": "В комнатах предусмотрены упрощенный групповой чат и расширенное управление несколькими потоками одновременно.",
"select-audio-source": "Выберите источники звука",
"select-audio-video": "Выберите источник аудио / видео ниже",
"select-screen-to-share": "Выберите экран, чтобы поделиться",
"show-tips": "Покажите мне несколько советов..",
"smooth-cool": "Гладко и круто",
"unlock-video-bitrate": "Разблокировать битрейт видео (20 Мбит/с)",
"video-source": "Источники видео",
"volume": "Громкость",
"you-are-in-the-control-center": "Вы находитесь в центре управления комнатой",
"password-input-field": "Пароль",
"waiting-for-camera": "Ожидание загрузки камеры",
"select-output-source": " Назначение аудиовыхода: \n\t\t\t\t\t",
"video-resolution": "Разрешение видео: ",
"hide-screen-share": "Скрыть параметр демонстрации экрана",
"allow-remote-control": "Remote Control Camera Zoom (android)",
"add-a-password-to-stream": " Добавить пароль:",
"add-the-guest-to-a-room": " Добавить гостя в комнату:",
"invite-group-chat-type": "В этой комнате гость может:",
"can-see-and-hear": "Видеть и слышать групповой чат",
"can-hear-only": "Только слышать груповой чат",
"cant-see-or-hear": "Не слышать и не видеть групповой чат",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tДобро пожаловать в OBS.Ninja! You can send text messages directly to connected peers from here.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tNames identifying connected peers will be a feature in an upcoming release.\n\t\t\t\t",
"send-chat": "Отправить",
"available-languages": "Доступные языки:",
"add-more-here": "Добавить больше!",
"invite-users-to-join": "Invites users to join the group and broadcast their feed to it. These users will see every feed in the room.",
"link-to-invite-camera": "Link to invite users to broadcast their feeds to the group. These users will not see or hear any feed from the group.",
"this-is-obs-browser-source-link": "This is an OBS Browser Source link that is empty by default. Videos in the room can be manually added to this scene.",
"this-is-obs-browser-souce-link-auto": "Also an OBS Browser Source link. All guest videos in this group chat room will automatically be added into this scene.",
"click-for-quick-room-overview": "❔ Нажмите здесь, чтобы ознакомиться с кратким обзором",
"push-to-talk-enable": "🔊 Включить режим «Нажми, чтобы говорить»‎",
"welcome-to-control-room": "Welcome. This is the control-room for the group-chat. There are different things you can use this room for:<br><br>\t<li>You can host a group chat with friends using a room. Share the blue link to invite guests who will join the chat automatically.</li>\t<li>A group room can handle around 4 to 30 guests, depending on numerous factors, including CPU and available bandwidth of all guests in the room.</li>\t<li>Solo-views of each video are offered under videos as they load. These can be used within an OBS Browser Source.</li>\t<li>You can use the auto-mixing Group Scene, the green link, to auto arrange multiple videos for you in OBS.</li>\t<li>You can use this control room to record isolated video or audio streams, but it is an experimental feature still.</li>\t<li>Videos in the Director's room will be of low quality on purpose; to save bandwidth/CPU</li>\t<li>Guest's in the room will see each other's videos at a very limited quality to conserve bandwidth/CPU.</li>\t<li>OBS will see a guest's video in high-quality; the default video bitrate is 2500kbps.</li>\t<br>\tAs guests join, their videos will appear below. You can bring their video streams into OBS as solo-scenes or you can add them to the Group Scene.\t<br>The Group Scene auto-mixes videos that have been added to the group scene. Please note that the Auto-Mixer requires guests be manually added to it for them to appear in it; they are not added automatically.<br><br>Apple mobile devices, such as iPhones and iPads, do not fully support Video Group Chat. This is a hardware constraint.<br><br>\tFor advanced options and parameters, <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">see the Wiki.</a>",
"guest-will-appaer-here-on-join": "(Видео появится здесь, когда гость присоединится)",
"SOLO-LINK": "ПЕРСОНАЛЬНАЯ ССЫЛКА для OBS:"
}

68
translations/tr.json Normal file
View File

@@ -0,0 +1,68 @@
{
"GO": "BAŞLA",
"add-group-chat": "OBS'ye Grup Konuşması Ekle",
"add-to-group": "Grup Sahnesine Ekle",
"add-your-camera": "Kamera'nı OBS'ye Ekle",
"added-notes": "\n\t\t\t\t<u><i>Ek Notlar:</i></u>\n\t\t\t\t<li>Odanın ismini bilen herkes giriş yapabilir, bu yüzden olabildiğince özgün bir isim seçin.</li>\n\t\t\t\t<li>Performans sebeplerinden ötürü bir odada dört (4) kişiden fazla olmasını tavsiye etmiyoruz, ancak bu donanımınızla ölçeklenen bir durumdur.</li>\n\t\t\t\t<li>iOS cihazları sadece iki (2) kişilik gruplarla sınırldır, bu bir donanım sınırlamasıdır.</li>\n\t\t\t\t<li>\"Kayır\" seçeneği yeni ve deneyseldir.</li>\n\t\t\t\t<li>Görünebilmesi için \"Grup Sahnesine\" bir kamera akışı \"eklemeniz\" gerekiyor.</li>\n\t\t\t\t<li>Misafirlerin ekranlarına yeni bir \"geliştirilmiş tam ekran\" düğmesi eklendi.</li>\n\t\t\t\t",
"advanced-paramaters": "Gelişimişi Özellikler",
"audio-sources": "Ses Kaynakları",
"back": "Geri",
"balanced": "Dengeli",
"copy-this-url": "Bu URL'yi bir OBS \"Tarayıcı Kaynağına\" kopyalayın",
"copy-to-clipboard": "Panoya Kopyala",
"create-reusable-invite": "Yeniden Kullanılabilir Davet Oluştur",
"enable-stereo-and-pro": "Stereo ve Pro HD Sesi Etkinleştir",
"enter-the-rooms-control": "Oda'nın Kontrol Merkezine Gir",
"force-vp9-video-codec": "VP9 Codec'e Zorla (görüntüde daha az bozulma)",
"generate-invite-link": "DAVET BAĞLANTISINI OLUŞTUR",
"here-you-can-pre-generate": "Burada tekrar kullanılabilir bir Tarayıcı Kaynak bağlantısı ve onunla ilişkili misafir davet bağlantısı oluşturabilirsin.",
"high-security-mode": "Yüksek Güvenlik Modu",
"info-blob": "\n\t\t\t\t\t\t<h2>OBS.Ninja Nedir?</h2><br>\n\t\t\t\t\t\t<li>100% <b>bedava</b>; indirme yok; kişisel veri toplama yok; giriş yok</li>\n\t\t\t\t\t\t<li>Bilgisayarınızdan, dizüstünden, telefonunuzdan - hatta arkadaşlarınızdan görüntüleri OBS akışınızın içine alın</li>\n\t\t\t\t\t\t<li>Biz yeni nesil Peer-to-Peer (Kişiden-Kişiye) yönlendirme teknolojisi kullanıyoruz, bu sayede çok düşük gecikme ve gizlilik sağlayabiliyoruz</li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<li>Youtube video <i class=\"fa fa-youtube-play\" aria-hidden=\"true\"></i> <a href=\"https://www.youtube.com/watch?v=6R_sQKxFAhg\">Burada demoyu görebilirsiniz (ingilizce)</a> </li>\n\t\t\t\t\t\t<li>Koda buradan erişebilirsiniz: <i class=\"fa fa-github\" aria-hidden=\"true\"></i> <a href=\"https://github.com/steveseguin/obsninja\">https://github.com/steveseguin/obsninja</a> </li>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<i><font style=\"color:red\">Known issues:</font></i><br>\n\n\t\t\t\t\t\t<li><i class=\"fa fa-apple\" aria-hidden=\"true\"></i> MacOS kullanıcıları OBS v23 kullanmalı, v25 kullanırlarsa Chrome ile <i>pencere yakalama</i> yöntemine baş vurmak zorunda kalabilirler.</li>\n\t\t\t\t\t\t<li>Bazı kullanıcıların videolarla ilgili \"pikselasyon\" problemleri olacaktır. Bu durumda OBS tarayıcı bağlantı URL'sine şu parametreyi ekleyin <b>&amp;codec=vp9</b>.</li>\n\t<h3><i>Yardım ve daha fazla bilgi için Reddit'de <a href=\"https://www.reddit.com/r/OBSNinja/\">sub-reddit</a> <i class=\"fa fa-reddit-alien\" aria-hidden=\"true\"></i>'ine göz atın. Beni ayrıca <a href=\"https://discord.gg/EksyhGA\">Discord'da</a> bulabilirsiniz, e-mail ile ulaşmak için: steve@seguin.email</i></h3>\n\t\t\t\t\t",
"joining-room": "Odaya bağlanıyorsunuz",
"logo-header": "<font id=\"qos\" style=\"color: white;\">O</font>BS.Ninja ",
"max-resolution": "Maksimum Çözünürlük",
"mute": "Sesi Kıs",
"no-audio": "Sessiz",
"note-share-audio": "\n\t\t\t\t\t<b>note</b>: Chrome'da \"Sesi paylaş\" 'ı seçmeyi unutma.<br>(Firefox ses paylaşımını desteklemiyor.)",
"open-in-new-tab": "Yeni Sekmede Aç",
"record": "Kaydet",
"remote-control-for-obs": "OBS için Uzaktan Kontrol",
"remote-screenshare-obs": "OBS'ye uzaktan ekran paylaşımı",
"room-name": "Oda İsmi",
"rooms-allow-for": "Odalar basit konuşma ve sohbet'in yanında çoklu video akışların gelişmiş yönetimini de sağlar.",
"select-audio-source": "Ses Kaynaklarını Seçin",
"select-audio-video": "Ses/Görüntü kaynağını aşağıdan seçin",
"select-screen-to-share": "PAYLAŞILACAK EKRANI SEÇİN",
"show-tips": "Bana ipuları göster",
"smooth-cool": "Pürüzsüz ve Soğukkanlı",
"unlock-video-bitrate": "Video Bitrate Sınırını Kaldır (20mbps)",
"video-source": "Video kaynağı",
"volume": "Ses düzeyi",
"you-are-in-the-control-center": "Odanın kontrol merkezindesiniz",
"waiting-for-camera": "Kameranın yüklenmesi bekleniyor",
"video-resolution": "Video Çözünürlüğü: ",
"hide-screen-share": "Ekran Paylaşma'yı Gizle",
"allow-remote-control": "Kamera Zoom'una Uzaktan Kontrol (android)",
"add-the-guest-to-a-room": " Odaya Misafiri Ekle:",
"invite-group-chat-type": "Bu oda misafiri:",
"can-see-and-hear": "Grup konuşmasını görebilir ve duyabilir",
"can-hear-only": "Grup konunşmasını sadece duyabilir",
"cant-see-or-hear": "Gup konuşmasını duyamaz ve göremez",
"password-input-field": "Şifre",
"select-output-source": " Ses Çıkışı: \n\t\t\t\t\t",
"add-a-password-to-stream": " Şifre Ekle:",
"welcome-to-obs-ninja-chat": "\n\t\t\t\t\tOBS.Ninja'ya hoş geldin! Bağlı olan kişilere buradan yazılı mesajlar gönderebilirsin.\n\t\t\t\t",
"names-and-labels-coming-soon": "\n\t\t\t\t\tBağlanan kişileri tanımlayan isimler ileriki bir geliştirmede yer alacak.\n\t\t\t\t",
"send-chat": "Gönder",
"available-languages": "Diller:",
"add-more-here": "Daha fazla ekle!",
"invite-users-to-join": "Gruba katılmaları ve akışlarını yansıtmaları için misafirleri davetet. Bu kullanıcılar odada yer alan tüm akışları görebilecek.",
"link-to-invite-camera": "Akışlarını gruba yansıtmaları için misafir bağlantısı. Bu kullanıcılar diğer akışları duyamayacak ve göremeyecek.",
"this-is-obs-browser-source-link": "Bu boş bir OBS tarayıcı kaynak bağlantısıdır. Odada yer alan videolar el ile buraya eklenebilir.",
"this-is-obs-browser-souce-link-auto": "Yine bir OBS tarayıcı kaynak bağlantısı. Bu odada yer alan tüm misafirler otomatik olarak bu sahneye eklenecektir.",
"click-for-quick-room-overview": "❔ Buraya tıklayarak hızlı yardım ve genel bakışa göz atın",
"push-to-talk-enable": "🔊 Yönetmen bas-konuş'u etkinleştir",
"welcome-to-control-room": "Hoş geldiniz. Bu grup konuşması için kontrol odasıdır. Bu odayı farklı amaçlar için kullanabilirsiniz:<br><br>\t<li>Arkadaşlarınız ile grup konunşması yapmak için bir oda kullanabilirsiniz. Otomatik olarak gruba dahil etmek için misafirleriniz ile mavi bağlantıyı paylaşın.</li>\t<li>Bir grup odası 4 - 30 sayıda misafir ağırlayabilir. Ancak bu bir çok etkene göre değişebilir, yeterli CPU ve internet bant genişliği gibi.</li>\t<li>Her videonun tekil görüntüsü bağlantıları misafirler bağlandıkça videolarının altında yer alacak. Bunları OBS tarayıcı kaynağı olarak kullanabilirsiniz.</li>\t<li>Otomatik-karıştırma grup sahnesi (yeşil bağlantı) bir çok videoyu OBS'de otomatik ayarlamak için kullanabilirsiniz.</li>\t<li>Bu odayı kullanarak her bir video için ayrı ayrı video ve ses kaynaklarını kaydedebilirsiniz, ancak bu özellik halen deneysel aşamadadır.</li>\t<li>Yönetmen odasında yer alan videolar kasten düşük kalitede tutulmuştur; CPU ve internetbant genişliğinden tasarruf için</li>\t<li>Odada yer alan misafirler, CPU ve internetten tasarruf etmek amacıyla bir birlerinin videolarını düşük kalitede görecek.</li>\t<li>OBS misafirlerin videolarını çok yüksek kalitede alacak, varsayılan kalite 2500kbps'dir.</li>\t<br>\tMisafirler eklendikçe videoları aşağıda belirecek. OBS'ye videolarını tekil sahneler olarak ekleyebilir, ya da grup sahnelerine ekleyebilirsiniz.\t<br>Grup sahnesi, eklenmiş videoları otomatik olarak karıştırır. Otomatik karıştırmanın çalışması için misafirlerin el ile bu sahneye eklenmesi gerektiğini unutmayın; otomatik olarak sahnelere eklenmeyeceklerdir.<br><br>iPhone iPad gibi Apple mobil cihazlar, tam olarak video grup görüşmeyi desteklemiyor. Bu bir donanım sınırlamasıdır.<br><br>\tGekişmiş özellik ve parametreler için <a href=\"https://github.com/steveseguin/obsninja/wiki/Guides-and-How-to's#urlparameters\">Wiki'ye göz atın.</a>",
"guest-will-appaer-here-on-join": "(Bir misafir bağlandığında burada bir video görünecek)",
"SOLO-LINK": "OBS İÇİN TEKİL BAĞLANTI:"
}

View File

@@ -1,7 +1,7 @@
// Copy and paste this code into OBS.Ninja's developer's console to generate new Translation files
function downloadTranslation(filename, trans={}){ // downloads the current translation to a file
document.querySelectorAll('[data-translate]').forEach(function(ele){
allItems.forEach(function(ele){
trans[ele.dataset.translate] = ele.innerHTML;
});
@@ -12,42 +12,54 @@ function downloadTranslation(filename, trans={}){ // downloads the current tran
hiddenElement.target = '_blank';
hiddenElement.download = filename+".json";
hiddenElement.click();
return trans;
}
function updateTranslation(filename){ // updates the website with a specific translation
return fetch("./translations/"+filename+'.json').then(function(response){
if (response.status !== 200) {
log('Looks like there was a problem. Status Code: ' +
response.status);
return false;
var request = new XMLHttpRequest();
request.open('GET', "./translations/"+filename+'.json?'+(Math.random()*100).toString(), false); // `false` makes the request synchronous
request.send(null);
if (request.status !== 200) {
return;
}
try{
data = JSON.parse(request.responseText);
} catch(e){
console.log(request.responseText);
console.error(e);
return false;
}
allItems.forEach(function(ele){
if (ele.dataset.translate in data){
ele.innerHTML = data[ele.dataset.translate];
}
return response.json().then(function(data) {
document.querySelectorAll('[data-translate]').forEach(function(ele){
if (ele.dataset.translate in data){
ele.innerHTML = data[ele.dataset.translate];
}
});
getById("mainmenu").style.opacity = 1;;
return [filename, data];
}).catch(function(err){
errorlog(err);
getById("mainmenu").style.opacity = 1;
return false;
});
});
return [filename, data];
}
var updateList = ["en", "ru", "fr", "pl", "ar", "de", "it", "nl", "jp", "pt", "zh", "blank"]; // list of languages to update
var updateList = ["en", "de", "es", "ru", "fr", "pl", "ja", "ar", "it", "nl", "pt"]; // list of languages to update. Update this if you add a new language.
var allItems = document.querySelectorAll('[data-translate]');
var defaultTrans = {};
allItems.forEach(function(ele){
defaultTrans[ele.dataset.translate] = ele.innerHTML;
});
downloadTranslation("default");
console.log(defaultTrans);
for (var i in updateList){
var ln = updateList[i];
updateTranslation(ln).then(function(res){
if (res[0]){
console.log(res[0]);
downloadTranslation(res[0], res[1]);
res = updateTranslation(ln);
if (res==false){continue;}
if (res[0]){
console.log(res[0]);
downloadTranslation(res[0], res[1]);
}
allItems.forEach(function(ele){
if (ele.dataset.translate in defaultTrans){
ele.innerHTML = defaultTrans[ele.dataset.translate];
}
});
});
}

View File

@@ -1,4 +1,6 @@
## How to setup a TURN server for free (or near free)
## This file is a bit out of day now; see turnserver.md for a newer one.
## You can still reference this file/settings when deploying onto Google Cloud or AWS servers.
# Create a VM instance on Google Cloud (Free Tier available)
# Use Ubuntu and Open all PORTS for ingress/egress for TCP/UDP

119
turnserver.md Normal file
View File

@@ -0,0 +1,119 @@
## Install and setup gudie for a TURN Relay Server
#### why? You may want to deploy one to ensure high compatiblity with remote guests. If you try to use the official OBS.Ninja TURN servers for a private deployment, you may find yourself getting kicked off.
This install script and config file was used with a standard virtual machine server loaded with Ubuntu 20. GCP/AWS servers might need slightly different settings.
```
sudo apt-get update
sudo apt-get install coturn -y
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get install certbot -y
sudo vi /etc/default/coturn
```
...and we uncomment the line:
#TURNSERVER_ENABLED=1
….leaving it like this:
TURNSERVER_ENABLED=1
Next make sure you have the DNS pointing to your IP address for this next step (ipv4, and ipv6 if possible). You will need to validate that in the next step.
```
sudo certbot certonly --standalone
sudo apt install net-tools
```
note: If you run into error 701 issues with your TURN server, check that the coturn service has access to your new SSL certificates:
see this issue with coturn: https://github.com/coturn/coturn/issues/268
You might also want to consider buying a better certificiate, as not all Google-related projects properly support certbot certificates, including libwebrtc. see [this issue ticket](https://github.com/coturn/coturn/issues/240#issuecomment-648550885). If you go this route, see [turnserver2.conf](https://github.com/steveseguin/obsninja/blob/master/turnserver2.conf) for an example config.
Next, we may want to update the User and Group values in our service file to be "root". This seems to be a quick hacky fix for the issue with Lets Encrypt. .. I welcome a better solution tho. If you move the certs somewhere else, or buy proper certificates, then the default turnserver user/group will work.
```
sudo vi /usr/lib/systemd/system/coturn.service
sudo systemctl daemon-reload
```
Next, we are going to open up some ports... just in case they are blocked by default. Which exactly? well, these are default ports. TCP may not be needed?
```
sudo ufw allow 3478/tcp
sudo ufw allow 3478/udp
sudo ufw allow 443/tcp
sudo ufw allow 443/udp
sudo ufw allow 49152:65535/tcp
sudo ufw allow 49152:65535/udp
```
If we expect heavy usage of this server, like hundreds of connections, you might want to ensure your system supports enough open sockets. I'm not sure if this actually works or is needed, but you can see this article for example on how to increase the number of available sockets on Ubuntu: https://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429a
Next, update turnserver.conf with passwords, domain names, and whatever else that needs changing. Example contents are provided below. Once you have updated it, start the TURN server and ensure it started correctly.
```
sudo vi /etc/turnserver.conf
sudo systemctl restart coturn
sudo systemctl status coturn
sudo systemctl enable coturn
```
The following are the contents of an example /etc/turnserver.conf file from above
```
## sudo vi /etc/turnserver.conf
listening-port=3478
## TLS needs an SSL certificate and domain, but enables TCP
tls-listening-port=443
# min-port=49152
# max-port=65535
realm=turn.obs.ninja
server-name=turn.obs.ninja
## webrtc likes to use this
fingerprint
## Lets just use Google since its more reliable
no-stun
lt-cred-mech
user=SOMESUERNAME:SOMEPASSWQORD
stale-nonce=600
## depreciated in newer coturn
# no-loopback-peers
## prevents hackers from hacking
no-multicast-peers
## 1-gbps/100 users = ~ 1-mbps each with this setting then
total-quota=100
cert=/etc/letsencrypt/live/turn.obs.ninja/fullchain.pem
pkey=/etc/letsencrypt/live/turn.obs.ninja/privkey.pem
## Tweaks to fix some lets encrypt errors
cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"
no-sslv3
no-tlsv1
no-tlsv1_1
# no-tlsv1_2
dh2066
# no-udp
# no-tcp
# verbose
no-stdout-log
## optional
proc-user=root
proc-group=root
```
You can validate here: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
Setting this all up is easier said then done. good luck!

52
turnserver2.conf Normal file
View File

@@ -0,0 +1,52 @@
listening-port=3478
alt-listening-port=3479
## TLS needs an SSL certificate and domain, but enables TCP
tls-listening-port=443
alt-tls-listening-port=444
# min-port=10000
# max-port=20000
realm=www.turn.obs.ninja
server-name=www.turn.obs.ninja
fingerprint
## Lets just use Google since its more reliable
no-stun
lt-cred-mech
user=UUUUU:PPPPPPPPPPPPP
stale-nonce=600
## depreciated in newer coturn
# no-loopback-peers
no-multicast-peers
## 1-gbps/100 users = 1mbps each
total-quota=100
cert=/var/certs/turn_obs_ninja_chain.crt
pkey=/var/certs/turn_obs_ninja.key
## Tweaks to fix some lets encrypt errors
# cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"
# no-sslv3
# no-tlsv1
# no-tlsv1_1
# no-tlsv1_2
dh2066
# max-bps=650000
# no-udp
# no-tcp
#verbose
no-stdout-log
## bypass the letsencrypt bug; easier than modifying the service
#proc-user=root
#proc-group=root

File diff suppressed because one or more lines are too long