GithubHelp home page GithubHelp logo

fake_camera_js's Introduction

Sony Cameras Stream Receiver

How to receive the sony cameras stream directly locally in your computer.

The software creates a rtmp server and shows the streams in the address command line

You can consume the stream with any software that supports rtmp connecting to:

rtmp://127.0.0.1/<channel_number>/broadcaster/live<live_number>

channel_number: you can find the instructions to find the channel_number below

live_number: The application will write this once the camera starts streaming

eg:

2018-11-3 23:06:02 5092 [INFO] [rtmp publish] New stream. id=... streamPath=/<channel_number>/broadcaster/live2744 streamId=1

Run the application

npm i
sudo node ./index.js --web.channel_number=<channel_number> --dns.external_ip=<external_ip>

Prerequisites

Channel number

Ustream channel number should be passed when starting the software with --web.channel_number=<channel_number>

To get the channel number visit https://www.ustream.tv/dashboard/manage-show/ and, after login, you'll see the channel number at the end of the url:

eg. https://www.ustream.tv/dashboard/manage-show/12345678

DNS spoofing

You need to redirect all request to api.ustream.tv to your computer, the module can do the job for you but it needs help.

  1. use the --dns.external_ip=<address> command line option (address should be the IP of your computer in the local network)
  2. set your router to use your local computer as dns server

Persist configuration

The configuration can be persisted creating a .scsrrc file in the local directory containing:

{
    "web": {
        "channel_number": <channel_number>
    },
    "dns": {
        "external_ip": "external_ip"
    }
}

test

fake_camera_js's People

Contributors

trucka312 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.