<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: John Doe</title>
    <description>The latest articles on DEV Community by John Doe (@uzupachi_999).</description>
    <link>https://dev.to/uzupachi_999</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F449716%2F0b1f040a-a7f2-4e8d-8514-ef771bc97d56.jpg</url>
      <title>DEV Community: John Doe</title>
      <link>https://dev.to/uzupachi_999</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uzupachi_999"/>
    <language>en</language>
    <item>
      <title>Google Meet visitor and recorder</title>
      <dc:creator>John Doe</dc:creator>
      <pubDate>Fri, 02 Jun 2023 14:13:50 +0000</pubDate>
      <link>https://dev.to/uzupachi_999/google-meet-visitor-is-released-9cb</link>
      <guid>https://dev.to/uzupachi_999/google-meet-visitor-is-released-9cb</guid>
      <description>&lt;h1&gt;
  
  
  What it does
&lt;/h1&gt;

&lt;p&gt;If you have ever concern to record or just visit some google meet call - here is your helper!&lt;br&gt;
The main purpose of the google-meet-visitor is just to visit calls in google meet. The main feature is that you can record calls. It will automate all the user actions, i.e join a call, mute the browser micro and cam, submit that you are in the call, etc.&lt;/p&gt;

&lt;h1&gt;
  
  
  Usage
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone git@github.com:KR1470R/google-meet-visitor.git
npm ci
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Configuration
&lt;/h2&gt;

&lt;p&gt;All the config parameters are stored in the .env file in root of the project.&lt;br&gt;
Variables with asterisk* are important, you won't be able to run the program without them!&lt;/p&gt;
&lt;h3&gt;
  
  
  Explanation of variables:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;USER_DATA_DIR&lt;/em&gt;&lt;/strong&gt;* - specify the path to your google chrome profile directory. [See here][5.1].&lt;br&gt;
&lt;strong&gt;&lt;em&gt;TARGET_CALL_LINK&lt;/em&gt;&lt;/strong&gt;* - link to your google meet call.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;CALL_TIMER_MINUTES&lt;/em&gt;&lt;/strong&gt;* - how many minutes the visitor must stay at call&lt;br&gt;
&lt;strong&gt;&lt;em&gt;OUTPUT_RECORD_TAB&lt;/em&gt;&lt;/strong&gt; - custom path to folder for output records. By default is &lt;code&gt;dist/records/&lt;/code&gt; in the root.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;WIDTH_PX&lt;/em&gt;&lt;/strong&gt; - width of browser window. By default 1000.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;HEIGHT_PX&lt;/em&gt;&lt;/strong&gt; - height of browser window. By default 800.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;MINIMIZED&lt;/em&gt;&lt;/strong&gt; - true or false. If true, the window of the browser will be minimized and if false - maximized. By default false.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;MUTE&lt;/em&gt;&lt;/strong&gt; - true or false. If true, the browser will be totally muted. By default false.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;RECORD_TAB&lt;/em&gt;&lt;/strong&gt; - true or false. If true, the visitor will record the call. By default false.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;ASK_JOIN_WAIT_MIN&lt;/em&gt;&lt;/strong&gt; - how many minutes await for host of call accept your "ask to join" request(default 10).&lt;br&gt;
&lt;strong&gt;&lt;em&gt;IGNORE_ERRORS&lt;/em&gt;&lt;/strong&gt; - skip printing errors(aka "some element not found", etc) - true/false(default false, recomended for debuging).&lt;br&gt;
&lt;strong&gt;&lt;em&gt;GMEET_MIC_MUTE&lt;/em&gt;&lt;/strong&gt; - mute gmeet micro, by default false.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;GMEET_CAM_MUTE&lt;/em&gt;&lt;/strong&gt; - mute gmeet webcam, by default false.&lt;/p&gt;
&lt;h3&gt;
  
  
  Configuration by CLI arguments
&lt;/h3&gt;

&lt;p&gt;You also can specify your link to call, user profile path and other config parameters by directly specifying such command-line arguments.&lt;br&gt;
⚠️Note that command-line arguments will override parameters you specified in .env file!⚠️&lt;/p&gt;
&lt;h5&gt;
  
  
  List of arguments that overrides .env variables:
&lt;/h5&gt;

&lt;p&gt;&lt;code&gt;--user-data-dir=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt;  &lt;code&gt;--u=&lt;/code&gt;  overrides &lt;strong&gt;&lt;em&gt;USER_DATA_DIR&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--target-call-link=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt;  &lt;code&gt;--t=&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;TARGET_CALL_LINK&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--call-timer-minutes=&lt;/code&gt;&lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--timer=&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;CALL_TIMER_MINUTES&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--output-record-tab=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--o&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;OUTPUT_RECORD_TAB&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--minimized&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;MINIMIZED&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--mute&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;MUTE&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--record-tab&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--r&lt;/code&gt; - overrides &lt;strong&gt;&lt;em&gt;RECORD_TAB&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--width=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--w=&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;WIDTH_PX&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--height=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--h=&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;HEIGHT_PX&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--ask-to-join-wait=&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--ask-min=&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;ASK_JOIN_WAIT_MIN&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--ignore-errors&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--i&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;IGNORE_ERRORS&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--gmeet-mic-mute&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--gmm&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;GMEET_MIC_MUTE&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;--gmeet-cam-mute&lt;/code&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;code&gt;--gcm&lt;/code&gt; overrides &lt;strong&gt;&lt;em&gt;GMEET_CAM_MUTE&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  Example usage in CLI:
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run start -- --u="path/to/user-data-dir/" --t="https://meet.google.com/..." --timer="50" --o="/path/to/output/folder/" --minimized --mute --r --w=1000 --h=800 --ask-min=123 --i
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;⚠️Do not forget specify &lt;code&gt;--&lt;/code&gt; after &lt;code&gt;npm run start&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run
&lt;/h2&gt;

&lt;p&gt;‼️Before running the visitor, ensure that you have signed in your account.‼️&lt;br&gt;
⚠️It might ask you to login again to ensure that it's you, otherwise visitor will recognize it and give you 5 minutes for login.&lt;br&gt;
Just go to the root directory of the google-meet-visitor and type the command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run make # build the program, run after every changes you made in the project.
npm run start # run the visitor, you have not build the project every time if you have already build it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;✅To stop the program before he finishes work, click &lt;code&gt;Ctrl+C&lt;/code&gt; - the visitor will save a video(if recording) and stop immediately!&lt;/p&gt;

&lt;h1&gt;
  
  
  Contribution
&lt;/h1&gt;

&lt;p&gt;More information you can find on the &lt;a href="https://github.com/KR1470R" rel="noopener noreferrer"&gt;Github repository&lt;/a&gt;&lt;br&gt;
If you have interested in this idea, i would be very glad for your contributions. Any questions, issues and suggestions will welcome!&lt;br&gt;
Thanks for your time and attention.&lt;/p&gt;

</description>
      <category>googlemeet</category>
      <category>node</category>
      <category>recorder</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
