aotrautils 0.0.508 → 0.0.510
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aotrautils/aotrautils.build.js +43 -4
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/02/2023-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/02/2023-22:56:27)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4866,7 +4866,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4866
4866
|
|
|
4867
4867
|
|
|
4868
4868
|
|
|
4869
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/02/2023-
|
|
4869
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/02/2023-22:56:27)»*/
|
|
4870
4870
|
/*-----------------------------------------------------------------------------*/
|
|
4871
4871
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4872
4872
|
*
|
|
@@ -11797,6 +11797,42 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
|
|
|
11797
11797
|
|
|
11798
11798
|
|
|
11799
11799
|
|
|
11800
|
+
|
|
11801
|
+
// =======================================================================
|
|
11802
|
+
// ========================== orita CONSTANTS ==========================
|
|
11803
|
+
// =======================================================================
|
|
11804
|
+
|
|
11805
|
+
|
|
11806
|
+
|
|
11807
|
+
//Global constants :
|
|
11808
|
+
|
|
11809
|
+
|
|
11810
|
+
const ORITA_CONSTANTS={
|
|
11811
|
+
|
|
11812
|
+
DEFAULT_PROTOCOL:"http",
|
|
11813
|
+
DEFAULT_PORT:25000,
|
|
11814
|
+
|
|
11815
|
+
STRINGIFY_VIDEO_DATA:false,
|
|
11816
|
+
|
|
11817
|
+
|
|
11818
|
+
MOBILE_VIDEO_CONSTRAINTS: {},
|
|
11819
|
+
//OLD : CHANNELS_CONFIG:{video:2,audio:1},
|
|
11820
|
+
// let CHANNELS_CONFIG:null,
|
|
11821
|
+
IS_MOBILE:null,
|
|
11822
|
+
|
|
11823
|
+
|
|
11824
|
+
AUDIO_BUFFER_SIZE:16384,
|
|
11825
|
+
|
|
11826
|
+
DEFAULT_CAPTURE_WIDTH:64,
|
|
11827
|
+
DEFAULT_CAPTURE_HEIGHT:64,
|
|
11828
|
+
|
|
11829
|
+
|
|
11830
|
+
};
|
|
11831
|
+
|
|
11832
|
+
|
|
11833
|
+
|
|
11834
|
+
|
|
11835
|
+
|
|
11800
11836
|
// ------------------------------------------------------------------------------------------
|
|
11801
11837
|
// -------------------------------------- MAIN CLIENT --------------------------------------
|
|
11802
11838
|
// ------------------------------------------------------------------------------------------
|
|
@@ -12162,6 +12198,9 @@ createOritaMainClient=function(
|
|
|
12162
12198
|
|
|
12163
12199
|
createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdParam=null){
|
|
12164
12200
|
|
|
12201
|
+
|
|
12202
|
+
let audioBufferSize = ORITA_CONSTANTS.AUDIO_BUFFER_SIZE;
|
|
12203
|
+
|
|
12165
12204
|
|
|
12166
12205
|
const staticMicroClientId=(!isNode?nonull(staticMicroClientIdParam,getURLParameter("mid")):null);
|
|
12167
12206
|
|
|
@@ -12999,7 +13038,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
12999
13038
|
};
|
|
13000
13039
|
|
|
13001
13040
|
|
|
13002
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/02/2023-
|
|
13041
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/02/2023-22:56:27)»*/
|
|
13003
13042
|
/*-----------------------------------------------------------------------------*/
|
|
13004
13043
|
|
|
13005
13044
|
|
|
@@ -14227,7 +14266,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14227
14266
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14228
14267
|
|
|
14229
14268
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14230
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (05/02/2023-
|
|
14269
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (05/02/2023-22:56:27)»*/
|
|
14231
14270
|
/*-----------------------------------------------------------------------------*/
|
|
14232
14271
|
|
|
14233
14272
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.510",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|