Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-08-07 Thread Maxim Solodovnik
On Tue, 8 Aug 2023 at 05:22, Online Use  wrote:
>
> I used the hash?app=settings URL and I recorded a test recording, and was 
> able to play it, but I didn't find where the recording file is saved in the 
> data_dir path.

It is stored under "${DATA_DIR}/streams/TEST_SETUP_{RANDOM_UUID}.webm"
(the file is being recorded/played by KMS, OM is NOT affected)

can you see the file at OM filesystem?

If NO you definitely have issues with data_dir mapping :((

try to enter running KMS docker and search recordings using find command:
`find / -type f -name "TEST_SETUP_*.webm"`

what whould be result of such command at 2 systems?

>
> I think KMS recroding should be working correctly, but there is some issue 
> from within the OM system itself.
>
>
> بتاريخ الاثنين، 7 آب 2023 في 06:31:39 ص غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
> KMS is being instructed by OM :)
> So OM sends command like "Start the recording and put the file into
> $DATA_DIR/streams/"
> and KMS stores recording at the path given BUT inside docker
> So correct mount should be set so OM can also see these files
>
> Can you check if test recording works for you:
> https://localhost:5443/openmeetings/hash?app=settings
> (use your IP/server name in the URL above :))
>
> On Sun, 6 Aug 2023 at 03:45, Online Use  wrote:
> >
> > If KMS is using its own work directory inside docker, where will the files 
> > be so that I verify that?
> >
> >
> > بتاريخ الجمعة، 4 آب 2023 في 06:59:40 ص غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > Hello,
> >
> > thanks for pinging! (too much day-time job :((( )
> >
> > let's get back to the topic :)
> >
> > On Fri, 4 Aug 2023 at 04:55, Online Use  wrote:
> > >
> > > Hello,
> > >
> > > I hope you have enough time to follow up with me regarding this issue. 
> > > Can you tell me what you think?
> > >
> > > Thanks.
> > >
> > > بتاريخ الجمعة، 28 تموز 2023 في 06:52:17 ص غرينتش+3، Online Use 
> > >  كتب:
> > >
> > >
> > > Yes the test files and folder 5 have been created successfully, and I 
> > > already had folders for other room number with files. As I mentioned 
> > > before I have empty video files inside room folder 
> > > "rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav"
> >
> > I believe here might be misunderstanding
> >
> > Actually your configuration consist of two isolated Linuxes running at
> > the same phisycal machine
> > - first one is OM: it server web interface sending commands to KMS and
> > do process the recordings
> > - second one is KMS which handling multimedia part
> >
> > So the process of record in the room organized as follows:
> > - user press the button in UI
> > - OM send the command to KMS to start recording
> > - KMS start writing to
> > home/website_home/data_dir/streams/_ROOM_ID_/_LONG_UUID_.webm file and
> > sends ACK to OM
> > - OM displays "Recording has been started" to the user
> > - user stops recording in the UI (via button, room exit etc.)
> > - OM sends stop command to KMS
> > - KMS stops the recording, close the file and send ACK to the OM
> > - OM starts converting *.webm file
> >  -- For all rooms except INTERVIEW --
> >  * extracts audio from all webcam video OR create *.wav with silence
> >  * join the audio with **SCREEN SHARING** video
> >  -- For INTERVIEW rooms --
> >  * join video from cameras of all participants into big "video carpet"
> >
> > So in case there is no *.webm file
> > - KMS might fail to write it (KMS logs need to be examined)
> > - **data_dir/streams** folder is mounted incorrectly and KMS writes
> > something inside it's Linux while OM can't see it
> > - permission issue
> > -
> > - something else
> >
> > we need to check all vectors 
> >
> >
> > >
> > > The problem was in creating the temporary processing files in the 
> > > hibernate folder, I think.
> > >
> > >
> > > بتاريخ الجمعة، 28 تموز 2023 في 05:53:24 ص غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Fri, 28 Jul 2023 at 03:17, Online Use  
> > > wrote:
> > > >
> > > > I got the following output in both cases, from outside and inside 
> > > > docker:
> > > >
> > > > total 16
> > > > drwxrwxrwx. 4 rootroot  4096 Apr 19 00:55   
> > > >  .
> > > > drwx--x--x.8 cloud7843cloud7843 4096 Jul 27 00:00  ..
> > > > drwxrwxrwx. 6 rootroot  4096 Apr 21 22:03   
> > > >  streams
> > > > drwxrwxrwx. 5 rootroot  4096 Apr 19 01:05   
> > > >  upload
> > > >
> > > > I frankly don't know what is this cloud7843 user?
> > >
> > > This is the owner of "/home/website_home" folder
> > >
> > > KMS writes to "/home/website_home/data_dir/streams" and
> > > "/home/website_home/data_dir/streams/ROOM_ID"
> > >
> > > could you run following commands inside KMS docker:
> > >
> > > cat "test1" > /home/website_home/data_dir/streams/test1
> > > mkdir /home/website_home/data_dir/streams/5
> > > cat "test2" > /home/website_home/data_dir/streams/5/test2
> > >
> > > room_id -> 5 === "Public Presentation Room"
> 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-08-07 Thread Online Use via user
 I used the hash?app=settings URL and I recorded a test recording, and was able 
to play it, but I didn't find where the recording file is saved in the data_dir 
path.
I think KMS recroding should be working correctly, but there is some issue from 
within the OM system itself.

بتاريخ الاثنين، 7 آب 2023 في 06:31:39 ص غرينتش+3، Maxim Solodovnik 
 كتب:  
 
 KMS is being instructed by OM :)
So OM sends command like "Start the recording and put the file into
$DATA_DIR/streams/"
and KMS stores recording at the path given BUT inside docker
So correct mount should be set so OM can also see these files

Can you check if test recording works for you:
https://localhost:5443/openmeetings/hash?app=settings
(use your IP/server name in the URL above :))

On Sun, 6 Aug 2023 at 03:45, Online Use  wrote:
>
> If KMS is using its own work directory inside docker, where will the files be 
> so that I verify that?
>
>
> بتاريخ الجمعة، 4 آب 2023 في 06:59:40 ص غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
> Hello,
>
> thanks for pinging! (too much day-time job :((( )
>
> let's get back to the topic :)
>
> On Fri, 4 Aug 2023 at 04:55, Online Use  wrote:
> >
> > Hello,
> >
> > I hope you have enough time to follow up with me regarding this issue. Can 
> > you tell me what you think?
> >
> > Thanks.
> >
> > بتاريخ الجمعة، 28 تموز 2023 في 06:52:17 ص غرينتش+3، Online Use 
> >  كتب:
> >
> >
> > Yes the test files and folder 5 have been created successfully, and I 
> > already had folders for other room number with files. As I mentioned before 
> > I have empty video files inside room folder 
> > "rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav"
>
> I believe here might be misunderstanding
>
> Actually your configuration consist of two isolated Linuxes running at
> the same phisycal machine
> - first one is OM: it server web interface sending commands to KMS and
> do process the recordings
> - second one is KMS which handling multimedia part
>
> So the process of record in the room organized as follows:
> - user press the button in UI
> - OM send the command to KMS to start recording
> - KMS start writing to
> home/website_home/data_dir/streams/_ROOM_ID_/_LONG_UUID_.webm file and
> sends ACK to OM
> - OM displays "Recording has been started" to the user
> - user stops recording in the UI (via button, room exit etc.)
> - OM sends stop command to KMS
> - KMS stops the recording, close the file and send ACK to the OM
> - OM starts converting *.webm file
>  -- For all rooms except INTERVIEW --
>  * extracts audio from all webcam video OR create *.wav with silence
>  * join the audio with **SCREEN SHARING** video
>  -- For INTERVIEW rooms --
>  * join video from cameras of all participants into big "video carpet"
>
> So in case there is no *.webm file
> - KMS might fail to write it (KMS logs need to be examined)
> - **data_dir/streams** folder is mounted incorrectly and KMS writes
> something inside it's Linux while OM can't see it
> - permission issue
> -
> - something else
>
> we need to check all vectors 
>
>
> >
> > The problem was in creating the temporary processing files in the hibernate 
> > folder, I think.
> >
> >
> > بتاريخ الجمعة، 28 تموز 2023 في 05:53:24 ص غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > On Fri, 28 Jul 2023 at 03:17, Online Use  
> > wrote:
> > >
> > > I got the following output in both cases, from outside and inside docker:
> > >
> > > total 16
> > > drwxrwxrwx. 4 root                root          4096 Apr 19 00:55        .
> > > drwx--x--x.    8 cloud7843    cloud7843 4096 Jul 27 00:00          ..
> > > drwxrwxrwx. 6 root                root          4096 Apr 21 22:03        
> > > streams
> > > drwxrwxrwx. 5 root                root          4096 Apr 19 01:05        
> > > upload
> > >
> > > I frankly don't know what is this cloud7843 user?
> >
> > This is the owner of "/home/website_home" folder
> >
> > KMS writes to "/home/website_home/data_dir/streams" and
> > "/home/website_home/data_dir/streams/ROOM_ID"
> >
> > could you run following commands inside KMS docker:
> >
> > cat "test1" > /home/website_home/data_dir/streams/test1
> > mkdir /home/website_home/data_dir/streams/5
> > cat "test2" > /home/website_home/data_dir/streams/5/test2
> >
> > room_id -> 5 === "Public Presentation Room"
> >
> > And check if files were successfully created and visible and readable
> > on host machine?
> >
> > >
> > > Do you think this line is the problem?
> > >
> > >
> > >
> > > بتاريخ الخميس، 27 تموز 2023 في 07:26:46 ص غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > Hello All,
> > >
> > > sorry for being silent
> > > answering this email was in my TODO list :)
> > >
> > > Recently I was able to set up our demo server [1]
> > > The recordings works as expected (can be tested with [2])
> > > It is Ubuntu 22.04 + Dockerized KMS
> > >
> > > So I believe there is nothing wrong with such configuration or Dockerized 
> > > KMS
> > >
> > > I would say something wrong with your
> > > - folder mapping
> > >