[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jorge Alberto Londoño Giraldo updated OPENMEETINGS-2193:
--------------------------------------------------------
    Description: 
The video is not recorded, but it does not show problems.
 I could solve this problem with the following documentation, basically it is 
necessary to install and configure coturn according to this Kurento guide:

[https://doc-kurento.readthedocs.io/en/6.6.2/faq.html]
 How do I…
 …install Kurento Media Server in an Amazon EC2 instance?

 

On Ubuntu 16.04 (Xenial), this TURN server can be installed directly from the 
package repositories:
sudo apt-get install coturn
However, Ubuntu 14.04 (Trusty) lacks this package, but it can be downloaded and 
installed manually from the Debian repositories:
 # Download the file {{coturn_<...>_amd64.deb}} from any of the mirrors listed 
here: [https://packages.debian.org/jessie-backports/amd64/coturn/download]

 # Install it, together with all dependencies.
sudo apt-get update sudo apt-get install gdebi-core sudo gdebi coturn*.deb
 # Edit the file {{/etc/turnserver.conf}} and configure the TURN server.

 ** For Amazon EC2 or similar, the Local and External IPs should be configured 
via the {{relay-ip}} and {{external-ip}} parameters, respectively.
 ** Enable the options needed for WebRTC:
 *** {{fingerprint}}
 *** {{lt-cred-mech}}
 *** {{realm=kurento.org}}
 ** Create a user and a password in the system, which will be used by the 
long-term credentials mechanism. As an example, the user “kurento” and password 
“kurentopw” are used. Add them in the configuration file: 
{{user=kurento:kurentopw}}.
 ** Optionally, debug log messages can be prevented to be printed on the 
standard output, enabling the option {{no-stdout-log}}.
 ** Other parameters can be tuned as needed. For more information, check the 
coturn help pages:
 *** [https://github.com/coturn/coturn/wiki/turnserver]
 *** [https://github.com/coturn/coturn/wiki/CoturnConfig]
 # Edit the file {{/etc/default/coturn}} and uncomment 
{{TURNSERVER_ENABLED=1}}, so the TURN server run automatically as a system 
service daemon.

 # Configure KMS and point it to where the TURN server is listening for 
connections. Edit the file 
{{/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini}} and set the 
{{turnURL}} parameter:
turnURL=kurento:kurentopw@<PublicIp>:3478

The following ports should be open in the firewall:
 * 3478 TCP & UDP
 * 49152 - 65535 UDP: As per [*RFC 
5766*|https://tools.ietf.org/html/rfc5766.html], these are the ports that the 
TURN server will use to exchange media. These ports can be changed using the 
{{min-port}} and {{max-port}} parameters on the TURN server.

Note

While the RFC specifies the ports used by TURN, if you are using STUN you will 
need to open all UDP ports, as those ports are not constrained.

6. The last thing to do, is to start the {{coturn}} server and the media server:
sudo service coturn start \ && sudo service kurento-media-server-6.0 restart

  was:
The video is not recorded, but it does not show problems.
I could solve this problem with the following documentation, basically it is 
necessary to install and configure coturn according to this Kurento guide:

[https://doc-kurento.readthedocs.io/en/6.6.2/faq.html]
How do I…
…install Kurento Media Server in an Amazon EC2 instance?


> The video is not recorded...install Kurento Media Server in an Amazon EC2 
> instance
> ----------------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-2193
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2193
>             Project: Openmeetings
>          Issue Type: Test
>          Components: Audio/Video, Recordings
>    Affects Versions: 5.0.0-M2, 5.0.0-M3
>         Environment: AWS Lightsail instance, Ubuntu 18.04 
>            Reporter: Jorge Alberto Londoño Giraldo
>            Assignee: Maxim Solodovnik
>            Priority: Major
>
> The video is not recorded, but it does not show problems.
>  I could solve this problem with the following documentation, basically it is 
> necessary to install and configure coturn according to this Kurento guide:
> [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html]
>  How do I…
>  …install Kurento Media Server in an Amazon EC2 instance?
>  
> On Ubuntu 16.04 (Xenial), this TURN server can be installed directly from the 
> package repositories:
> sudo apt-get install coturn
> However, Ubuntu 14.04 (Trusty) lacks this package, but it can be downloaded 
> and installed manually from the Debian repositories:
>  # Download the file {{coturn_<...>_amd64.deb}} from any of the mirrors 
> listed here: 
> [https://packages.debian.org/jessie-backports/amd64/coturn/download]
>  # Install it, together with all dependencies.
> sudo apt-get update sudo apt-get install gdebi-core sudo gdebi coturn*.deb
>  # Edit the file {{/etc/turnserver.conf}} and configure the TURN server.
>  ** For Amazon EC2 or similar, the Local and External IPs should be 
> configured via the {{relay-ip}} and {{external-ip}} parameters, respectively.
>  ** Enable the options needed for WebRTC:
>  *** {{fingerprint}}
>  *** {{lt-cred-mech}}
>  *** {{realm=kurento.org}}
>  ** Create a user and a password in the system, which will be used by the 
> long-term credentials mechanism. As an example, the user “kurento” and 
> password “kurentopw” are used. Add them in the configuration file: 
> {{user=kurento:kurentopw}}.
>  ** Optionally, debug log messages can be prevented to be printed on the 
> standard output, enabling the option {{no-stdout-log}}.
>  ** Other parameters can be tuned as needed. For more information, check the 
> coturn help pages:
>  *** [https://github.com/coturn/coturn/wiki/turnserver]
>  *** [https://github.com/coturn/coturn/wiki/CoturnConfig]
>  # Edit the file {{/etc/default/coturn}} and uncomment 
> {{TURNSERVER_ENABLED=1}}, so the TURN server run automatically as a system 
> service daemon.
>  # Configure KMS and point it to where the TURN server is listening for 
> connections. Edit the file 
> {{/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini}} and set the 
> {{turnURL}} parameter:
> turnURL=kurento:kurentopw@<PublicIp>:3478
> The following ports should be open in the firewall:
>  * 3478 TCP & UDP
>  * 49152 - 65535 UDP: As per [*RFC 
> 5766*|https://tools.ietf.org/html/rfc5766.html], these are the ports that the 
> TURN server will use to exchange media. These ports can be changed using the 
> {{min-port}} and {{max-port}} parameters on the TURN server.
> Note
> While the RFC specifies the ports used by TURN, if you are using STUN you 
> will need to open all UDP ports, as those ports are not constrained.
> 6. The last thing to do, is to start the {{coturn}} server and the media 
> server:
> sudo service coturn start \ && sudo service kurento-media-server-6.0 restart



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

Reply via email to