Re: Connecting external video source in 5.0.0-M4

2020-07-20 Thread Zhirong Tong


> On Jul 20, 2020, at 1:01 PM, Maxim Solodovnik  wrote:
> 
> Hello Zhirong,
> 
> On Sun, 19 Jul 2020 at 14:24, Zhirong Tong  <mailto:tongzhir...@ptteng.com>> wrote:
> Hi Maxim,
> 
> I know that openmeetings  uses API functions of Media Server for Remoting and 
> Streaming (Red5 or Kurento).
> Currently users stream video directly through web browser,
>  
> yes
>  
> so, is there a way for video being streamed right through original Android 
> apps instead of web browser with API in openmeetings? 
> 
> definitely not possible right now
> We abandoned our mobile app in favor of mobile-compatible browser version
>  
> (I don’t know if I has made it clear or not. ) It is in our tests, Android 
> devices get hot and battery drains so fast when  stream video through web 
> browser in openmeetings, so we want to see if there is way for  video being 
> streamed through android app could help with the battery life? Is that 
> workable in any version of OM. 
> 
> Best regards.
> Yours sincerely.
> 
> 
> 
> -- 
> Best regards,
> Maxim



Re: Connecting external video source in 5.0.0-M4

2020-07-19 Thread Zhirong Tong
Hi Maxim,

I know that openmeetings  uses API functions of Media Server for Remoting and 
Streaming (Red5 or Kurento).
Currently users stream video directly through web browser, so, is there a way 
for video being streamed right through original Android apps instead of web 
browser with API in openmeetings? 
(I don’t know if I has made it clear or not. ) It is in our tests, Android 
devices get hot and battery drains so fast when  stream video through web 
browser in openmeetings, so we want to see if there is way for  video being 
streamed through android app could help with the battery life? Is that workable 
in any version of OM. 

Best regards.
Yours sincerely.



Re: Can not download videos in my recordings

2020-07-17 Thread Zhirong Tong

Hi Maxim,

But which port in local should I redirectin my 3478 port to ?

>> On Jul 15, 2020, at 5:44 AM, mentor maxhuni > <mailto:menti...@hotmail.com>> wrote:
>> 
>> Check If your firewall is redirectin port 3478  TCP/UPD to your server, make 
>> sure that you in firewall put TCP/UPD not only UDP. I hade same problem i 
>> checked everything was ok only problem was i had on firewall redirecter port 
>> 3478 but i had only UDP when i selected TCP/UDP problem was solved.
>> From: Maxim Solodovnik mailto:solomax...@gmail.com>>
>> Sent: Tuesday, July 14, 2020 2:48 AM
>> To: Openmeetings user-list > <mailto:user@openmeetings.apache.org>>
>> Subject: Re: Can not download videos in my recordings
>>  
>> It is impossible
>> run it in terminal and check the output (better to run it using the user who 
>> starts OM)
>> 
>> On Tue, 14 Jul 2020 at 09:35, Zhirong Tong > <mailto:tongzhir...@ptteng.com>> wrote:
>> Hi Maxim.
>>  Can you just tell if the ffmpeg was right compiled on my centOS judged by 
>> the size of it ?
>> My was
>> -rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
>> -rw--- 1 root root 31505208 Jul 13 21:00 ffprobe 
>> 
>>> On Jul 14, 2020, at 10:30 AM, Maxim Solodovnik >> <mailto:solomax...@gmail.com>> wrote:
>>> 
>>> According to your error
>>> 
>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
>>>  No such file or directory
>>> 
>>> 
>>> KMS doesn't create video file on disk, usually this happens if OM and KMS 
>>> are started using different accounts
>>> 
>>> On Mon, 13 Jul 2020 at 23:35, Alvaro >> <mailto:zurca...@gmail.com>> wrote:
>>> ,,,you can't download the recording video because
>>> the mp4 file is not building.
>>> 
>>> My OM 5.0.0-M4 on VPS Centos 7 works right
>>> with firefox and Chrome-ium recordings.
>>> 
>>> I can't tell you anything more.
>>> 
>>> Goodluck
>>> 
>>> 
>>> .
>>> 
>>> 
>>> 
>>> El mar, 14-07-2020 a las 00:05 +0800, Zhirong Tong escribió:
>>>> Hi Alvaro,  
>>>> 
>>>> I've just proved to myself the url was not reason.
>>>> How large is ffmepg after compiled? I wonder it was because the compiled.
>>>> 
>>>> -rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
>>>> -rw--- 1 root root 31505208 Jul 13 21:00 ffprobe
>>>> 
>>>>> On Jul 13, 2020, at 11:21 PM, Alvaro >>>> <mailto:zurca...@gmail.com>> wrote:
>>>>> 
>>>>> ...well you are not using the normal url:
>>>>> 
>>>>> https://dominium:5443/openmeetings <https://dominium:5443/openmeetings>
>>>>> 
>>>>> ,,,so any error can be for any other reasons
>>>>> 
>>>>> 
>>>>> 
>>>>> ...
>>>>> 
>>>>> 
>>>>> El lun, 13-07-2020 a las 23:14 +0800, Zhirong Tong escribió:
>>>>>> 
>>>>>> This is when using Firefox, same as chrome. 
>>>>>> 
>>>>>> 
>>>>>>> Begin forwarded message:
>>>>>>> 
>>>>>>> From: Zhirong Tong >>>>>> <mailto:tongzhir...@ptteng.com>>
>>>>>>> Subject: Re: Can not download videos in my recordings
>>>>>>> Date: July 13, 2020 at 11:09:39 PM GMT+8
>>>>>>> To: Alvaro mailto:zurca...@gmail.com>>
>>>>>>> Cc: user@openmeetings.apache.org <mailto:user@openmeetings.apache.org>
>>>>>>> Reply-To: user@openmeetings.apache.org 
>>>>>>> <mailto:user@openmeetings.apache.org>
>>>>>>> 
>>>>>>> Since I am pretty sure recording video is null when using my chrome.
>>>>>>> 
>>>>>>>> On Jul 13, 2020, at 11:03 PM, Alvaro >>>>>>> <mailto:zurca...@gmail.com>> wrote:
>>>>>>>> 
>>>>>>>> ...not Safari.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> El lun, 13-07-2020 a las 22:54 +0800, Zhirong To

Re: Can not download videos in my recordings

2020-07-17 Thread Zhirong Tong
Hi Maxim,
Thanks, but I am sorry, is port 3478 a local port? redirectin port 3478 to 
where? 

> On Jul 15, 2020, at 5:44 AM, mentor maxhuni  wrote:
> 
> Check If your firewall is redirectin port 3478  TCP/UPD to your server, make 
> sure that you in firewall put TCP/UPD not only UDP. I hade same problem i 
> checked everything was ok only problem was i had on firewall redirecter port 
> 3478 but i had only UDP when i selected TCP/UDP problem was solved.
> From: Maxim Solodovnik 
> Sent: Tuesday, July 14, 2020 2:48 AM
> To: Openmeetings user-list 
> Subject: Re: Can not download videos in my recordings
>  
> It is impossible
> run it in terminal and check the output (better to run it using the user who 
> starts OM)
> 
> On Tue, 14 Jul 2020 at 09:35, Zhirong Tong  <mailto:tongzhir...@ptteng.com>> wrote:
> Hi Maxim.
>  Can you just tell if the ffmpeg was right compiled on my centOS judged by 
> the size of it ?
> My was
> -rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
> -rw--- 1 root root 31505208 Jul 13 21:00 ffprobe 
> 
>> On Jul 14, 2020, at 10:30 AM, Maxim Solodovnik > <mailto:solomax...@gmail.com>> wrote:
>> 
>> According to your error
>> 
>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
>>  No such file or directory
>> 
>> 
>> KMS doesn't create video file on disk, usually this happens if OM and KMS 
>> are started using different accounts
>> 
>> On Mon, 13 Jul 2020 at 23:35, Alvaro > <mailto:zurca...@gmail.com>> wrote:
>> ,,,you can't download the recording video because
>> the mp4 file is not building.
>> 
>> My OM 5.0.0-M4 on VPS Centos 7 works right
>> with firefox and Chrome-ium recordings.
>> 
>> I can't tell you anything more.
>> 
>> Goodluck
>> 
>> 
>> .
>> 
>> 
>> 
>> El mar, 14-07-2020 a las 00:05 +0800, Zhirong Tong escribió:
>>> Hi Alvaro,  
>>> 
>>> I've just proved to myself the url was not reason.
>>> How large is ffmepg after compiled? I wonder it was because the compiled.
>>> 
>>> -rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
>>> -rw--- 1 root root 31505208 Jul 13 21:00 ffprobe
>>> 
>>>> On Jul 13, 2020, at 11:21 PM, Alvaro >>> <mailto:zurca...@gmail.com>> wrote:
>>>> 
>>>> ...well you are not using the normal url:
>>>> 
>>>> https://dominium:5443/openmeetings <https://dominium:5443/openmeetings>
>>>> 
>>>> ,,,so any error can be for any other reasons
>>>> 
>>>> 
>>>> 
>>>> ...
>>>> 
>>>> 
>>>> El lun, 13-07-2020 a las 23:14 +0800, Zhirong Tong escribió:
>>>>> 
>>>>> This is when using Firefox, same as chrome. 
>>>>> 
>>>>> 
>>>>>> Begin forwarded message:
>>>>>> 
>>>>>> From: Zhirong Tong >>>>> <mailto:tongzhir...@ptteng.com>>
>>>>>> Subject: Re: Can not download videos in my recordings
>>>>>> Date: July 13, 2020 at 11:09:39 PM GMT+8
>>>>>> To: Alvaro mailto:zurca...@gmail.com>>
>>>>>> Cc: user@openmeetings.apache.org <mailto:user@openmeetings.apache.org>
>>>>>> Reply-To: user@openmeetings.apache.org 
>>>>>> <mailto:user@openmeetings.apache.org>
>>>>>> 
>>>>>> Since I am pretty sure recording video is null when using my chrome.
>>>>>> 
>>>>>>> On Jul 13, 2020, at 11:03 PM, Alvaro >>>>>> <mailto:zurca...@gmail.com>> wrote:
>>>>>>> 
>>>>>>> ...not Safari.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> El lun, 13-07-2020 a las 22:54 +0800, Zhirong Tong escribió:
>>>>>>>> This is when I am using chrome. Sure, I will try safari or firefox.
>>>>>>>> 
>>>>>>>>> On Jul 13, 2020, at 10:53 PM, Alvaro >>>>>>>> <mailto:zurca...@gmail.com>> wrote:
>>>>>>>>> 
>>>>>>>>> ...try using another browser (Chrome, Chromium, Firefox).
>>>>>>>>> 
>>>>>>>>> 
>>>>>>

Re: Can not download videos in my recordings

2020-07-13 Thread Zhirong Tong
Hi Maxim.
 Can you just tell if the ffmpeg was right compiled on my centOS judged by the 
size of it ?
My was
-rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
-rw--- 1 root root 31505208 Jul 13 21:00 ffprobe 

> On Jul 14, 2020, at 10:30 AM, Maxim Solodovnik  wrote:
> 
> According to your error
> 
> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
>  No such file or directory
> 
> KMS doesn't create video file on disk, usually this happens if OM and KMS are 
> started using different accounts
> 
> On Mon, 13 Jul 2020 at 23:35, Alvaro  <mailto:zurca...@gmail.com>> wrote:
> ,,,you can't download the recording video because
> the mp4 file is not building.
> 
> My OM 5.0.0-M4 on VPS Centos 7 works right
> with firefox and Chrome-ium recordings.
> 
> I can't tell you anything more.
> 
> Goodluck
> 
> 
> .
> 
> 
> 
> El mar, 14-07-2020 a las 00:05 +0800, Zhirong Tong escribió:
>> Hi Alvaro,  
>> 
>> I've just proved to myself the url was not reason.
>> How large is ffmepg after compiled? I wonder it was because the compiled.
>> 
>> -rwx--x--x 1 root root 31595352 Jul 13 21:00 ffmpeg
>> -rw--- 1 root root 31505208 Jul 13 21:00 ffprobe
>> 
>>> On Jul 13, 2020, at 11:21 PM, Alvaro >> <mailto:zurca...@gmail.com>> wrote:
>>> 
>>> ...well you are not using the normal url:
>>> 
>>> https://dominium:5443/openmeetings <https://dominium:5443/openmeetings>
>>> 
>>> ,,,so any error can be for any other reasons
>>> 
>>> 
>>> 
>>> ...
>>> 
>>> 
>>> El lun, 13-07-2020 a las 23:14 +0800, Zhirong Tong escribió:
>>>> 
>>>> This is when using Firefox, same as chrome. 
>>>> 
>>>> 
>>>>> Begin forwarded message:
>>>>> 
>>>>> From: Zhirong Tong >>>> <mailto:tongzhir...@ptteng.com>>
>>>>> Subject: Re: Can not download videos in my recordings
>>>>> Date: July 13, 2020 at 11:09:39 PM GMT+8
>>>>> To: Alvaro mailto:zurca...@gmail.com>>
>>>>> Cc: user@openmeetings.apache.org <mailto:user@openmeetings.apache.org>
>>>>> Reply-To: user@openmeetings.apache.org 
>>>>> <mailto:user@openmeetings.apache.org>
>>>>> 
>>>>> Since I am pretty sure recording video is null when using my chrome.
>>>>> 
>>>>>> On Jul 13, 2020, at 11:03 PM, Alvaro >>>>> <mailto:zurca...@gmail.com>> wrote:
>>>>>> 
>>>>>> ...not Safari.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> El lun, 13-07-2020 a las 22:54 +0800, Zhirong Tong escribió:
>>>>>>> This is when I am using chrome. Sure, I will try safari or firefox.
>>>>>>> 
>>>>>>>> On Jul 13, 2020, at 10:53 PM, Alvaro >>>>>>> <mailto:zurca...@gmail.com>> wrote:
>>>>>>>> 
>>>>>>>> ...try using another browser (Chrome, Chromium, Firefox).
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> .
>>>>>>>> 
>>>>>>>> 
>>>>>>>> El lun, 13-07-2020 a las 21:10 +0800, Zhirong Tong escribió:
>>>>>>>>> Hi Alvaro,
>>>>>>>>> OM is running as root. I’ve tried recompiled ffmpeg and recorded 
>>>>>>>>> another one.
>>>>>>>>> 
>>>>>>>>> Recording file is not found
>>>>>>>>> Exit valueConversion messages
>>>>>>>>> 0 process: generateSampleAudio
>>>>>>>>> command: /usr/local/bin/sox 
>>>>>>>>> /opt/open504/webapps/openmeetings/public/one_second.wav 
>>>>>>>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
>>>>>>>>>  pad 0 7.12 
>>>>>>>>> exception: null
>>>>>>>>> error: 
>>>>>>>>> exitValue: 0
>>>>>>>>> optional: false
>>>>>>>>> out: 
>>>>>>

Re: Can not download videos in my recordings

2020-07-13 Thread Zhirong Tong
Since I am pretty sure recording video is null when using my chrome.

> On Jul 13, 2020, at 11:03 PM, Alvaro  wrote:
> 
> ...not Safari.
> 
> 
> 
> 
> 
> 
> El lun, 13-07-2020 a las 22:54 +0800, Zhirong Tong escribió:
>> This is when I am using chrome. Sure, I will try safari or firefox.
>> 
>>> On Jul 13, 2020, at 10:53 PM, Alvaro >> <mailto:zurca...@gmail.com>> wrote:
>>> 
>>> ...try using another browser (Chrome, Chromium, Firefox).
>>> 
>>> 
>>> 
>>> .
>>> 
>>> 
>>> El lun, 13-07-2020 a las 21:10 +0800, Zhirong Tong escribió:
>>>> Hi Alvaro,
>>>> OM is running as root. I’ve tried recompiled ffmpeg and recorded another 
>>>> one.
>>>> 
>>>> Recording file is not found
>>>> Exit value Conversion messages
>>>> 0  process: generateSampleAudio
>>>> command: /usr/local/bin/sox 
>>>> /opt/open504/webapps/openmeetings/public/one_second.wav 
>>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
>>>>  pad 0 7.12 
>>>> exception: null
>>>> error: 
>>>> exitValue: 0
>>>> optional: false
>>>> out: 
>>>> 1  process: generate MP4
>>>> command: /usr/local/bin/ffmpeg -y -itsoffset 00:00:01.701 -i 
>>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm
>>>>  -i 
>>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
>>>>  -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v 
>>>> baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k 
>>>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
>>>>  
>>>> exception: null
>>>> error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>>>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
>>>>   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
>>>> --extra-cflags=-I/root/ffmpeg_build/include 
>>>> --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
>>>> --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
>>>> --enable-libfreetype --enable-libmp3lame --enable-libopus 
>>>> --enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264 
>>>> --enable-libx265 --enable-nonfree
>>>>   libavutil  56. 22.100 / 56. 22.100
>>>>   libavcodec 58. 35.100 / 58. 35.100
>>>>   libavformat58. 20.100 / 58. 20.100
>>>>   libavdevice58.  5.100 / 58.  5.100
>>>>   libavfilter 7. 40.101 /  7. 40.101
>>>>   libswscale  5.  3.100 /  5.  3.100
>>>>   libswresample   3.  3.100 /  3.  3.100
>>>>   libpostproc55.  3.100 / 55.  3.100
>>>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
>>>>  No such file or directory
>>>> 
>>>> exitValue: 1
>>>> optional: false
>>>> out: 
>>>> 1  process: generate preview PNG :: c960a9df-2d20-45c4-b952-5b330a6a
>>>> command: /usr/local/bin/ffmpeg -y -i 
>>>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
>>>>  -vf thumbnail,scale=640:-1 -frames:v 1 
>>>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.png
>>>>  
>>>> exception: null
>>>> error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>>>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
>>>>   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
>>>> --extra-cflags=-I/root/ffmpeg_build/include 
>>>> --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
>>>> --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
>>>> --enable-libfreetype --enable-libmp3lame --enable-libopus 
>>>> --enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264 
>>>> --enable-libx265 --enable-nonfree
>>>>   libavutil  56. 22.100 / 56. 22.100
>>>>   libavcodec 58. 35.100 / 58. 35.100
>>>>   libavformat58. 20.100 / 58. 20.100
>>>>   libav

Re: Can not download videos in my recordings

2020-07-13 Thread Zhirong Tong
This is when I am using chrome. Sure, I will try safari or firefox.

> On Jul 13, 2020, at 10:53 PM, Alvaro  wrote:
> 
> ...try using another browser (Chrome, Chromium, Firefox).
> 
> 
> 
> .
> 
> 
> El lun, 13-07-2020 a las 21:10 +0800, Zhirong Tong escribió:
>> Hi Alvaro,
>> OM is running as root. I’ve tried recompiled ffmpeg and recorded another one.
>> 
>> Recording file is not found
>> Exit value   Conversion messages
>> 0process: generateSampleAudio
>> command: /usr/local/bin/sox 
>> /opt/open504/webapps/openmeetings/public/one_second.wav 
>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
>>  pad 0 7.12 
>> exception: null
>> error: 
>> exitValue: 0
>> optional: false
>> out: 
>> 1process: generate MP4
>> command: /usr/local/bin/ffmpeg -y -itsoffset 00:00:01.701 -i 
>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm
>>  -i 
>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
>>  -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v 
>> baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k 
>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
>>  
>> exception: null
>> error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
>>   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
>> --extra-cflags=-I/root/ffmpeg_build/include 
>> --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
>> --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
>> --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis 
>> --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 
>> --enable-nonfree
>>   libavutil  56. 22.100 / 56. 22.100
>>   libavcodec 58. 35.100 / 58. 35.100
>>   libavformat58. 20.100 / 58. 20.100
>>   libavdevice58.  5.100 / 58.  5.100
>>   libavfilter 7. 40.101 /  7. 40.101
>>   libswscale  5.  3.100 /  5.  3.100
>>   libswresample   3.  3.100 /  3.  3.100
>>   libpostproc55.  3.100 / 55.  3.100
>> /opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
>>  No such file or directory
>> 
>> exitValue: 1
>> optional: false
>> out: 
>> 1process: generate preview PNG :: c960a9df-2d20-45c4-b952-5b330a6a
>> command: /usr/local/bin/ffmpeg -y -i 
>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
>>  -vf thumbnail,scale=640:-1 -frames:v 1 
>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.png
>>  
>> exception: null
>> error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
>>   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
>> --extra-cflags=-I/root/ffmpeg_build/include 
>> --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
>> --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
>> --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis 
>> --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 
>> --enable-nonfree
>>   libavutil  56. 22.100 / 56. 22.100
>>   libavcodec 58. 35.100 / 58. 35.100
>>   libavformat58. 20.100 / 58. 20.100
>>   libavdevice58.  5.100 / 58.  5.100
>>   libavfilter 7. 40.101 /  7. 40.101
>>   libswscale  5.  3.100 /  5.  3.100
>>   libswresample   3.  3.100 /  3.  3.100
>>   libpostproc55.  3.100 / 55.  3.100
>> /opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4:
>>  No such file or directory
>> 
>> exitValue: 1
>> optional: false
>> out: 
>> 
>> 
>>> On Jul 10, 2020, at 9:10 PM, Stefan Kühl >> <mailto:ste...@quatrekuehl.eu>> wrote:
>>> 
>>> Hey all,
>>> in addition to Alvaro one question from my side: Is OM running also as 
>>> root? This sounds like OM cannot access and get the cwd to start the binary.
>>> Greetz
>>> Stefan
>>>  
>>> 
>>> Am 10.07.2020 14:44, schrieb Alvaro:
>>>>  
>>>> ...do yu follow

Re: Can not download videos in my recordings

2020-07-13 Thread Zhirong Tong
Hi Alvaro,
OM is running as root. I’ve tried recompiled ffmpeg and recorded another one.

Recording file is not found
Exit value  Conversion messages
0   process: generateSampleAudio
command: /usr/local/bin/sox 
/opt/open504/webapps/openmeetings/public/one_second.wav 
/opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
 pad 0 7.12 
exception: null
error: 
exitValue: 0
optional: false
out: 
1   process: generate MP4
command: /usr/local/bin/ffmpeg -y -itsoffset 00:00:01.701 -i 
/opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm
 -i 
/opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79_FINAL_WAVE.wav
 -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v baseline 
-level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k 
/opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
 
exception: null
error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
--extra-cflags=-I/root/ffmpeg_build/include 
--extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
--extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis 
--enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree
  libavutil  56. 22.100 / 56. 22.100
  libavcodec 58. 35.100 / 58. 35.100
  libavformat58. 20.100 / 58. 20.100
  libavdevice58.  5.100 / 58.  5.100
  libavfilter 7. 40.101 /  7. 40.101
  libswscale  5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc55.  3.100 / 55.  3.100
/opt/open504/webapps/openmeetings/data/streams/7/rec_17_5506678f-1162-4edf-802b-6ff293a38a79.webm:
 No such file or directory

exitValue: 1
optional: false
out: 
1   process: generate preview PNG :: c960a9df-2d20-45c4-b952-5b330a6a
command: /usr/local/bin/ffmpeg -y -i 
/opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4
 -vf thumbnail,scale=640:-1 -frames:v 1 
/opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.png
 
exception: null
error: ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static 
--extra-cflags=-I/root/ffmpeg_build/include 
--extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread 
--extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac 
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis 
--enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree
  libavutil  56. 22.100 / 56. 22.100
  libavcodec 58. 35.100 / 58. 35.100
  libavformat58. 20.100 / 58. 20.100
  libavdevice58.  5.100 / 58.  5.100
  libavfilter 7. 40.101 /  7. 40.101
  libswscale  5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc55.  3.100 / 55.  3.100
/opt/open504/webapps/openmeetings/data/streams/hibernate/c960a9df-2d20-45c4-b952-5b330a6a.mp4:
 No such file or directory

exitValue: 1
optional: false
out: 


> On Jul 10, 2020, at 9:10 PM, Stefan Kühl  wrote:
> 
> Hey all,
> 
> in addition to Alvaro one question from my side: Is OM running also as root? 
> This sounds like OM cannot access and get the cwd to start the binary.
> 
> Greetz
> 
> Stefan
> 
>  
> 
> 
> Am 10.07.2020 14:44, schrieb Alvaro:
> 
>>  
>> ...do yu follow any tutorial to compile ffmpeg?
>>  
>>  
>>  
>> ...
>>  
>>  
>>  
>> El vie, 10-07-2020 a las 20:04 +0800, Zhirong Tong escribió:
>>> Hi Alvaro
>>> Yes, I've specifically checked there is /usr/local/bin/ffmpeg.   It's 
>>> hard to recall but I must've compiled it or install from repo.
>>> [root@iZbp17n9phkehavyjuwreeZ bin]# /usr/local/bin/ffmpeg  
>>> 
>>>> On Jul 10, 2020, at 7:00 PM, Alvaro >>> <mailto:zurca...@gmail.com>> wrote:
>>>> 
>>>> ...your capture say that can't execute /usr/local/bin/ffmpeg
>>>>  
>>>> Do you've compiled ffmpeg or 've installed from repos?
>>>>  
>>>>  
>>>>  
>>>>  
>>>> ..
>>>>  
>>>>  
>>>>  
>>>> El vie, 10-07-2020 a las 12:36 +0200, Alvaro escribió:
>>>>> Hi Zhirong, could you please say what is yourOS server?
>>>>>  
>>>>&

Connecting external video source in 5.0.0-M4

2020-07-13 Thread Zhirong Tong
Hi Maxim,

Here I would need to connect external video.  There is a ExternalVideo.md file 
which clarify correct ffmpeg command for testing  and Sending video from 
external camera on Linux.But somehow it says "Please NOTE: this 
functionality is not yet implemented in 5.0.x”.   
So this is not possible in 5.0.0-M4, is it?  What if I do need to connect 
external video, Is there a way?

Best Regards.

Re: Can not download videos in my recordings

2020-07-10 Thread Zhirong Tong
Hi Alvaro
Yes, I've specifically checked there is /usr/local/bin/ffmpeg.   It’s hard 
to recall but I must’ve compiled it or install from repo.
[root@iZbp17n9phkehavyjuwreeZ bin]# /usr/local/bin/ffmpeg  

> On Jul 10, 2020, at 7:00 PM, Alvaro  wrote:
> 
> ...your capture say that can't execute /usr/local/bin/ffmpeg
> 
> Do you've compiled ffmpeg or 've installed from repos?
> 
> 
> 
> 
> ..
> 
> 
> 
> El vie, 10-07-2020 a las 12:36 +0200, Alvaro escribió:
>> Hi Zhirong, could you please say what is yourOS server?
>> 
>> 
>> 
>> 
>> ..
>> 
>> 
>> El vie, 10-07-2020 a las 15:46 +0800, Zhirong Tong escribió:
>>> Hi  Maxim, 
>>> I found why my recordings cannot be downloaded, so no need to reply.
>>>  Best Regards,
>>> Tong
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Jul 10, 2020, at 3:13 PM, Zhirong Tong >>> <mailto:tongzhir...@ptteng.com>> wrote:
>>>> 
>>>> Hi Maxim,
>>>> I’ve recorded several videos, and can see them as a list in ‘My 
>>>> recordings’, but simply didn’t find a way to download it.
>>>> As you can see, the download button is unclickable.
>>>> 
>>>> Thanks for you help along the way.
>>>> Best regards,
>>>> Tong
>>>> 
>>>> 
>>>> 
>>> 



Re: Integrating OM with Tomcat 8.5 on Centos 7

2020-07-07 Thread Zhirong Tong
Hi  Maxim,
Seems when using  "mvn install -P allModules -pl openmeetings-server 
-Dwicket.configuration=DEVELOPMENT”  without specific any profile ,  the tar 
would be generated successfully.


> On Jul 8, 2020, at 10:25 AM, Zhirong Tong  wrote:
> 
> Hi Maxim,
> Is there any specific build order in order to successfully generate an 
> apache-tomcat-${tomcat.version}.tar.gz under 
> openmeetings/openmeetings-server/target/ ?
> I’ve tried "mvn install -P allModules,unpacked,mysql -pl 
> openmeetings-web,openmeetings-server -Dwicket.configuration=DEVELOPMENT” for 
> several times, sometimes it did, sometimes it didn’t (I mean generating 
> apache-tomcat-${tomcat.version}.tar.gz).
> 
>  I was really confused for such a while and didn’t know what to do. I felt so 
> frustrated for myself that I always stuck at this building problem.
> 
> 
> 
>> On Jul 8, 2020, at 8:42 AM, Maxim Solodovnik > <mailto:solomax...@gmail.com>> wrote:
>> 
>> 
>> 
>> On Tue, 7 Jul 2020 at 22:32, Online Use > <mailto:foronlineuseem...@yahoo.com>> wrote:
>> Hello,
>> 
>> I installed OM on Centos 7, and rather than using the shell scripts in the 
>> bin folder to start the system, I prefer to integrate it with Tomcat 8.5 
>> that's already installed on the server and enabled in the user account. I'm 
>> missing the point of how to integrate OM with Tomcat so that the app path is 
>> identified.
>> 
>> OM has Tomcat9 bundled
>> In case you will be able to set-up Tomcat9 to your CentOS 
>> you, most probably, can migrate configuration and webapps
>>  
>> 
>> Another point, I want to use the SSL certificates that are already installed 
>> on the server through the 443 port, not to specify a standalone port for the 
>> OM system. Simply to type the subdomain to get to the system directly 
>> (https://meetings.domain.com <https://meetings.domain.com/>).For reference, 
>> I have already set the "application.base.url" key in the configuration 
>> section to the subdomain url, but it's still not working directly, it always 
>> requires to type https://meetings.domain.com:5443/openmeetings. 
>> <https://meetings.domain.com:5443/openmeetings.> I tried also to change the 
>> port number in the sever.xml file and it didn't direct correctly.
>> 
>> 
>> Since you have the server I guess the question is regarding front-end proxy
>> Please search archives https://openmeetings.markmail.org/ 
>> <https://openmeetings.markmail.org/> the topic was discussed multiple times
>> 
>>  
>> Please advise regarding how to accomplish these two points.
>> 
>> Thank you.
>> 
>> 
>> 
>> 
>> -- 
>> Best regards,
>> Maxim
> 



Re: Integrating OM with Tomcat 8.5 on Centos 7

2020-07-07 Thread Zhirong Tong
Hi Maxim,
Is there any specific build order in order to successfully generate an 
apache-tomcat-${tomcat.version}.tar.gz under 
openmeetings/openmeetings-server/target/ ?
I’ve tried "mvn install -P allModules,unpacked,mysql -pl 
openmeetings-web,openmeetings-server -Dwicket.configuration=DEVELOPMENT” for 
several times, sometimes it did, sometimes it didn’t (I mean generating 
apache-tomcat-${tomcat.version}.tar.gz).

 I was really confused for such a while and didn’t know what to do. I felt so 
frustrated for myself that I always stuck at this building problem.



> On Jul 8, 2020, at 8:42 AM, Maxim Solodovnik  wrote:
> 
> 
> 
> On Tue, 7 Jul 2020 at 22:32, Online Use  > wrote:
> Hello,
> 
> I installed OM on Centos 7, and rather than using the shell scripts in the 
> bin folder to start the system, I prefer to integrate it with Tomcat 8.5 
> that's already installed on the server and enabled in the user account. I'm 
> missing the point of how to integrate OM with Tomcat so that the app path is 
> identified.
> 
> OM has Tomcat9 bundled
> In case you will be able to set-up Tomcat9 to your CentOS 
> you, most probably, can migrate configuration and webapps
>  
> 
> Another point, I want to use the SSL certificates that are already installed 
> on the server through the 443 port, not to specify a standalone port for the 
> OM system. Simply to type the subdomain to get to the system directly 
> (https://meetings.domain.com ).For reference, I 
> have already set the "application.base.url" key in the configuration section 
> to the subdomain url, but it's still not working directly, it always requires 
> to type https://meetings.domain.com:5443/openmeetings. 
>  I tried also to change the 
> port number in the sever.xml file and it didn't direct correctly.
> 
> 
> Since you have the server I guess the question is regarding front-end proxy
> Please search archives https://openmeetings.markmail.org/ 
>  the topic was discussed multiple times
> 
>  
> Please advise regarding how to accomplish these two points.
> 
> Thank you.
> 
> 
> 
> 
> -- 
> Best regards,
> Maxim



Re: js file was modified but didn’t take effect on centOS server

2020-07-06 Thread Zhirong Tong
Hi Maxim,
No needs to reply,  the js files have loaded the changes just now.  Now it’s 
all Ok.

> On Jul 6, 2020, at 2:05 PM, Zhirong Tong  wrote:
> 
> Excuse me, Maxim,
> May be I wasn’t able to be more specify in the previous mail.
> Now it is totally fine for me to start and run the project and it’s not about 
> experiencing any errors. 
> It’s just the javascript file in ‘openmeetings-web' didn’t appear to load the 
> changes I’ve made. 
> "mvn install -P allModules,unpack,mysql -pl 
> openmeetings-server,openmeetings-web  -Dwicket.configuration=DEVELOPMENT”
> I am only writing to your about the desperate occasion for me.
> You are always very kind when the advices from you are always be very helpful.
> 
> 
>> On Jul 4, 2020, at 12:53 PM, Maxim Solodovnik  wrote:
>> 
>> It is hard to say
>> I never saw error like this
>> 
>> 
>> -- 
>> Best regards,
>> Maxim
> 



Re: js file was modified but didn’t take effect on centOS server

2020-07-05 Thread Zhirong Tong
Hi Maxim,

How to properly build a workable 
`openmeetings-server`(apache-openmeetings-x.x.x.tar.gz ) if I have some 
modified javascript 
from `openmeetings-web` needing to see its effect. 
Currently, I've tried these commands and the result is not as expected(js files 
still remain the same in apache-openmeetings-x.x.x.tar.gz as before modified):
①"mvn install -P allModules,unpack,mysql -pl 
openmeetings-server,openmeetings-web  -Dwicket.configuration=DEVELOPMENT",
(`unpack` but not generating "apache-openmeetings-x.x.x.tar.gz")

②"mvn install -P allModules,unpack,mysql -pl openmeetings-server  
-Dwicket.configuration=DEVELOPMENT",
(js files in "apache-openmeetings-x.x.x.tar.gz" remained untouched)

③mvn clean install -P allModules,unpacked,mysql -DskipTests=true 
-Dwicket.configuration=DEVELOPMENT
(not generating "apache-openmeetings-x.x.x.tar.gz”)


With regards,
Tong

> On Jul 4, 2020, at 10:20 AM, Zhirong Tong  wrote:
> 
> Hi  Maxim,
> 
> Gotcha. Thanks.
> But do you know what may cause this ?  This happens just out of nowhere when 
> I start apache-openmeetings-5.0.0-M4/bin/startup.sh,
>   Error creating bean with name ‘configurationDao’ , 
>   No qualifying bean of type 'org.apache.openmeetings.IApplication’ ,
> It used to be totally fine , I don’t know if anything on my local has been 
> touched.
> 
> 
> 
>> On Jul 3, 2020, at 3:49 PM, Maxim Solodovnik > <mailto:solomax...@gmail.com>> wrote:
>> 
>> I'm using "Hot code replace", "Remote debug" and "quick" build 
>> https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas 
>> <https://openmeetings.apache.org/BuildInstructions.html#tips-and-gotchas>
>> 
>> I tried to start OM inside IDE long time ago, but this was impossible due to 
>> we were using Red5 as OM base
>> Haven't tried since then ...
>> 
>> On Fri, 3 Jul 2020 at 14:37, Zhirong Tong > <mailto:tongzhir...@ptteng.com>> wrote:
>> Hi Maxim
>> 
>> How do you usually start openmeetings-web?
>> Basically, I need webservice , so instead of “mvn install -P allModules -pl 
>> openmeetings-server -Dwicket.configuration=DEVELOPMENT”  to pack everything 
>> under openmeetings/openmeetings-server/target,   Can I try starting 
>> openmeeting-wen directly in my local tomcat via my IDE ?  
>> Actually I did success for one time ,  then got this error ,   here is my 
>> configuration and logs, 
>> 
>> 
>> 
>>   
>> 
>> 
>> 
>>> On Jul 2, 2020, at 5:13 PM, Maxim Solodovnik >> <mailto:solomax...@gmail.com>> wrote:
>>> 
>>> Hello Tong,
>>> 
>>> this file is processed and packaged by build
>>> your changes will be available after successful build only  :)
>>> 
>>> On Wed, 1 Jul 2020 at 08:32, Zhirong Tong >> <mailto:tongzhir...@ptteng.com>> wrote:
>>> Hi Maxim,
>>> I’ve got one another little problem to seek for help from you.
>>> That is the js file was modified but didn’t take effect.
>>> The file locates at  
>>> /opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js
>>>  (that is in a centOS server),  but didn’t see it take effect as it did in 
>>> src on my local computer,  which is confuse to me.
>>> I did restart the tomcat (on centOS) or which it didn’t need to be 
>>> restarted because it is a js file, but any way , it didn’t take effect.  
>>> 
>>> Best regard, 
>>> Tong
>>> 
>>> 
>>> -- 
>>> Best regards,
>>> Maxim
>> 
>> 
>> 
>> -- 
>> Best regards,
>> Maxim
> 



Re: Question about 5080 port with openmeetings-server and openmeetings-web

2020-07-01 Thread Zhirong Tong
Hi Maxim

Thanks for you help. But is it my question has been overlooked?
Opemmeetings where I can login in via UI. But the login webservice keeps 403 
unforbidden. 

> On Jun 30, 2020, at 6:22 PM, Maxim Solodovnik  wrote:
> 
> Hello Tong,
> 
> On Tue, 30 Jun 2020 at 16:39, Zhirong Tong  <mailto:tongzhir...@ptteng.com>> wrote:
> Hi Maxim, 
> 
> How is the connection between openmeetings-server and openmeeings-web ?
> 
> openmeetings-db, openmeetings-web etc. are internal module names
>  
> (I started a apache-openmeetings-5.0.0-M4  which came from "mvn install 
> openmeetings-server”  for SOAP/REST api)
> 
> All modules are packed so final distribution consist of Apache Tomcat with 
> the only web app: Apache OpenMeetings
>  
> My goal is entering the room via SOAP/REST api , had succeed,  then within 
> the room when try to click camera for video it prompted media server service 
> is unaccessible.
> 
> You need to set-up and start Kurento Media Server
>  
> So I realized it might because of the openmeeings-web was off.  So I tried to 
> start the web, but can’t , because  5080 was already in used by the SOAP. 
> How can I make people enter the room via restapi while having web started?  
> Should I change the web port?   Could you instruct me on that ?
> Thanks.
> Best regards,
> Tong Zhirong  
> 
> 
> 
> 
> -- 
> Best regards,
> Maxim

Best regards,
Tong

js file was modified but didn’t take effect on centOS server

2020-06-30 Thread Zhirong Tong
Hi Maxim,
I’ve got one another little problem to seek for help from you.
That is the js file was modified but didn’t take effect.
The file locates at  
/opt/open504/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/room/raw-video.js
 (that is in a centOS server),  but didn’t see it take effect as it did in src 
on my local computer,  which is confuse to me.
I did restart the tomcat (on centOS) or which it didn’t need to be restarted 
because it is a js file, but any way , it didn’t take effect.  

Best regard, 
Tong

Question about 5080 port with openmeetings-server and openmeetings-web

2020-06-30 Thread Zhirong Tong
Hi Maxim, 

How is the connection between openmeetings-server and openmeeings-web ?
(I started a apache-openmeetings-5.0.0-M4  which came from "mvn install 
openmeetings-server”  for SOAP/REST api)
My goal is entering the room via SOAP/REST api , had succeed,  then within the 
room when try to click camera for video it prompted media server service is 
unaccessible.
So I realized it might because of the openmeeings-web was off.  So I tried to 
start the web, but can’t , because  5080 was already in used by the SOAP. 
How can I make people enter the room via restapi while having web started?  
Should I change the web port?   Could you instruct me on that ?
Thanks.
Best regards,
Tong Zhirong