[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2021-02-23 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17289681#comment-17289681
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2500:


The TURN is used only if there are no other options

In case direct connection can be established it will be established
If not STUN will be used and only then TURN

AFAIK there is no option to fine tune WebRTC communications

> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2021-02-23 Thread Dennis Aguilar (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17289492#comment-17289492
 ] 

Dennis Aguilar commented on OPENMEETINGS-2500:
--

Hello Maxim,

Is it possible to use the TURN only Video/Audio Recording/ScreenSharing
Only? I understand that the data have to go through the server when it is
being recorded. But if the recording is not being used, Is it possible that
it only use STUN or the video/audio data will just go through directly from
the user to another user? That way we can prevent the Audio/Video
Choppiness because the data dont have to travel to server. In my case, the
video/audio data has to go to Singapore and back from the Philippines to
the house of where Im talking to. And also the server can save a lot of
bandwidth and memory resources. Can you help me how to do that? Are there
any settings that I can do to do that? Are there any settings for kurento?
Than You So much.

Here is my applicationContext.xml settings















On Wed, Oct 28, 2020 at 8:55 AM Maxim Solodovnik (Jira) 



> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2020-10-28 Thread Dennis Aguilar (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222167#comment-17222167
 ] 

Dennis Aguilar commented on OPENMEETINGS-2500:
--

Hello Maxim,

I just tried your suggetion but it didn't work. Whiteboard works though and the 
Mp4 video that I uploaded. Do you have any other suggetions?

I hope you can add this to the upcoming version of OM to take advantage of the 
WebRTC. Audio/Video should really be the one that use peer-to-peer connection 
to be able to improve the the quality of communication. As I experience right 
now, the video and audio are very choppy and I am only testing it with my 
friend just a hundred meters away from my house. Both of our internet 
connections are good.  I think its because the data has to go from my house 
here in the Philippines to Singapore and then go back to Philippines to my 
friend's house instead of routing it directly to my friend's house.

Thank you for your time making this opensource app. Its really helpful

Thanks

> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2020-10-28 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222130#comment-17222130
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2500:


You can try to change your {{p:turnUrl="61.59.179.145:443"}} to be 
{{p:turnUrl="stun:61.59.179.145:443"}}

And don't forget to change your {{p:turnSecret}} (this is public resource )

According to your question:
OM uses "star architecture" data will always go to server

> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2020-10-28 Thread Dennis Aguilar (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222043#comment-17222043
 ] 

Dennis Aguilar commented on OPENMEETINGS-2500:
--

Hello Maxim,

Is it possible to use the TURN only Video/Audio Recording/ScreenSharing Only? I 
understand that the data have to go through the server when it is being 
recorded. But if the recording is not being used, Is it possible that it only 
use STUN or the video/audio data will just go through directly from the user to 
another user? That way we can prevent the Audio/Video Choppiness because the 
data dont have to travel to server. In my case, the video/audio data has to go 
to Singapore and back from the Philippines to the house of where Im talking to. 
And also the server can save a lot of bandwidth and memory resources. Can you 
help me how to do that? Are there any settings that I can do to do that? Are 
there any settings for kurento? Than You So much.

Here is my applicationContext.xml settings

 

       



 

 

 

 

> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2500) No Video and Audio when stun-only was Set in the turnserver.conf

2020-10-27 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17221878#comment-17221878
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2500:


TURN/STUN is necessary for Camera/Microphone/Sharing only
what do you have in applicationContext.xml?

> No Video and Audio when stun-only was Set in the turnserver.conf
> 
>
> Key: OPENMEETINGS-2500
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2500
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.1
> Environment: CentOS 8 / 8 Gigabyte Memory / 8 Virtual Cores
>Reporter: Dennis Aguilar
>Assignee: Maxim Solodovnik
>Priority: Major
>  Labels: performance
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> There's no video and audio when I set the stun-only on the coturn settings. I 
> was testing if the data will really go directly from the user to another 
> user. Im doing this to save bandwidth and also to reduce the chance of 
> audio/video choppiness. However, the whiteboard works and I can see what I 
> write in the whiteboard on the other end including the Mp4 video. Please help 
> on how i can fix this. Below are my errors and turnserver.conf settings. 
> Thank You.
>  
> Here are the errors that I encoutered:
> -
> 6: session 002001: realm  user <>: incoming packet 
> BINDING processed, success
> 9: session 002001: usage: realm=, username=<>, 
> rp=1, rb=20, sp=1, sb=108
> 9: session 002001: peer usage: realm=, username=<>, 
> rp=0, rb=0, sp=0, sb=0
> 9: session 002001: closed (2nd stage), user <> realm 
>  origin <>, local 61.59.179.145:443, remote 
> 112.205.225.2:50003, reason: allocation watchdog determined stale session 
> state
> 48: handle_udp_packet: New UDP endpoint: local addr 51.79.199.115:443, remote 
> addr 112.205.225.2:61227
> 48: session 006001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_udp_packet: New UDP endpoint: local addr 61.59.179.145:443, remote 
> addr 112.205.225.2:61226
> 48: session 004001: realm  user <>: incoming packet 
> BINDING processed, success
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 48: handle_turn_command: STUN method 0x3 ignored
> 49: handle_turn_command: STUN method 0x3 ignored
> 50: handle_turn_command: STUN method 0x3 ignored
> ---
>  
> And Here's My Turnserver.conf settings:
> listening-port=443
> alt-listening-port=80
> realm=MyDomain.com
> verbose
> fingerprint
> user=MyUsername:MyPassword
> use-auth-secret
> static-auth-secret=3aae1a4c281d5a1064c3c9eef7f17d27cea24c5fe23e630ceaeb9d864131d012
> cert=/etc/letsencrypt/live/MyDomain.com/fullchain.pem
> pkey=/etc/letsencrypt/live/MyDomain.com/privkey.pem
> stale-nonce=7200
> no-cli
> no-tcp
> no-tls
> no-dtls
> stun-only
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)