Skip to content

EEkebin/P2PCam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2PCam

Intended to use/view a camera from an external computers camera

Contents

  1. Introduction

  2. Usage

  3. Credits

  4. License

  5. Disclaimers


Introduction

The purpose and focus of this project is to provide an open source, easy to use, and minimalist solution to having no webcam on a computer, but having a laptop webcam available externally.

This project uses a server/client system, where the server is sending the video data to a client, as soon as it connects to it via a socket. The client then displays it within a Windows desktop application.

Usage

  1. Clone the repository on a computer with a webcam, eg. a laptop, and the client without a webcam. Click here to download the repository as a zip file.

    git clone https://github.com/EEkebin/P2PCam
  2. Navigate to the directory.

    cd ./P2PCam/
  3. Install the required dependent python packages, given in requirements.txt.

    pip install -r ./requirements.txt
  4. Check IP Address of computer with a webcam.

    ipconfig
  5. In client.py, change host_ip to the IP Address of the computer with a webcam.

  6. If you need a different port to use, change it to such in both server.py and client.py.

  7. Run the server.py on the computer with a webcam.

    python ./server.py
  8. Run the client.py on the computer without a webcam.

    python ./client.py
  9. Use Open Broadcaster Software (OBS) to start a Virtual Camera with a Window Capture to capture the window that is displaying the webcam playback.

  10. Success.

Credits

EEkebin

License

P2PCam is licensed under the GNU General Public License v3.0.

Disclaimers

This project, P2PCam, and/or its contributors are not sponsored by or affiliated with any of the packages or technologies used in this project.

This project, P2PCam, and/or its contributors are not sponsored by or affiliated with Open Broadcaster Software (OBS) or any of its affiliates.

This project, P2PCam, and/or its contributors are not responsible for the actions of end users. All liabilities and responsibilities lie with the end user for the misuse(s) of P2PCam and/or any other products and/or services.

About

Intended to use/view a camera from an external computers camera

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages