# Start and Stop Recordings

**URL:** <https://openvidu.discourse.group/t/start-and-stop-recordings/3118>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [June 9, 2021, 12:22pm UTC](https://openvidu.discourse.group/t/start-and-stop-recordings/3118 "2021-06-09T12:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![polecat](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/polecat/32/1523_2.png) [@polecat](https://openvidu.discourse.group/u/polecat)\
**Post date:** [June 9, 2021, 12:22pm UTC](https://openvidu.discourse.group/t/start-and-stop-recordings/3118/1 "2021-06-09T12:22:03Z")

</div>

Hi,  
I developed a OpenVidu CE server to test this product.  
Now I can make a video call but I can’t start a recording.  
The server is based on Debian 10 and the OpenVidu application running on docker  
I’m interested on Compose recording and the documentation tell that is the right product.  
In the .env file (docker file) I setup the variables:  
OPENVIDU\_RECORDING=true OPENVIDU\_RECORDING\_DEBUG=true OPENVIDU\_RECORDING\_PATH=/opt/openvidu/recordings

The recordings didn’t start.  
Can any one help me to understand how starting a video recording?  
Is it possible have some example on php or js  
thanks

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [June 9, 2021, 2:28pm UTC](https://openvidu.discourse.group/t/start-and-stop-recordings/3118/2 "2021-06-09T14:28:29Z")

</div>

Check our examples

Java → [OpenVidu Docs](https://docs.openvidu.io/en/2.18.0/tutorials/openvidu-recording-java/)

Node → [OpenVidu Docs](https://docs.openvidu.io/en/2.18.0/tutorials/openvidu-recording-node/)

---

<div class="post-metadata">

**Author:** ![polecat](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/polecat/32/1523_2.png) [@polecat](https://openvidu.discourse.group/u/polecat)\
**Post date:** [June 10, 2021, 10:16am UTC](https://openvidu.discourse.group/t/start-and-stop-recordings/3118/3 "2021-06-10T10:16:45Z")

</div>

Thank you for replay  
I tried to use Node tutorial but when try to open session the web page don’t make me login in the session and from console i receive this error:  
App listening on port 5000  
Getting a token | {sessionName}={SessionB}  
New session SessionB  
(node:6614) Warning: Setting the NODE\_TLS\_REJECT\_UNAUTHORIZED environment variable to ‘0’ makes TLS connections and HTTPS requests insecure by disabling certificate verification.  
at getAllowUnauthorized (node:internal/options:17:13)  
at Object.connect (node:\_tls\_wrap:1593:29)  
at Agent.createConnection (node:https:147:22)  
at Agent.createSocket (node:\_http\_agent:341:26)  
at Agent.addRequest (node:\_http\_agent:292:10)  
at new ClientRequest (node:\_http\_client:305:16)  
at Object.request (node:https:357:10)  
at RedirectableRequest.\_performRequest (/openvidu-tutorials/openvidu-recording-node/node\_modules/follow-redirects/index.js:265:24)  
at new RedirectableRequest (/openvidu-tutorials/openvidu-recording-node/node\_modules/follow-redirects/index.js:61:8)  
at Object.request (/openvidu-tutorials/openvidu-recording-node/node\_modules/follow-redirects/index.js:456:14)

Could you please give me some help
