mkaraki / sonycam-ustream-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sony Camera Ustream Server

Alternative Stream server for Ustream supported Sony's ActionCam.

Tested on FDR-X1000V

How to use

Note

If you haven't configured Ustream before, see the supported camera list to check if your camera is supported by Sony-PMCA-RE.

Configure Wi-Fi connection

See your camera's manual to configure Wi-Fi connection.

Configure Ustream with Sony-PMCA-RE

  1. Download steam.cfg
  2. Download PMCA Console
  3. Run pmca-console stream -w stream.cfg (replace pmca-console to your downloaded binary name)

Build DNS Resolver

Use your favorite resolver.

Override api.ustream.tv to your computer's IP Address.

If your router's proxy-dns supports override, you can use that.

Configure DHCP server to advertise fake DNS server

Configure your DHCP server to advertise a DNS server that can override Ustream domain.

Write nginx config

Please check the sample file for configuration.

Here a is sample config for YouTube Live

push rtmp://a.rtmp.youtube.com/live2/your-stream-key-here;

Run nginx Container

If you are using docker on the amd64 architecture, you can use a prebuild image. If not, build an image in the nginx directory.

You have to expose 80/tcp and 1935/tcp. You also have to bind /etc/nginx/rtmp_application_settings.conf to your local configuration file.

Start stream from the camera

After that, you can start streaming from your camera.

About


Languages

Language:Dockerfile 100.0%