Pxy

Infrastructure

streaming proxy server

SHOW HN2020

Pxy

A Go server that proxies websocket livestreams to RTMP servers

github.com

#rtmp#websocket#live streaming#ffmpeg#go

133points
31comments
#460of 3,028 in 2020
Top 16%of 2020 by points

How HN took it

CuriousMostly questions and neutral comments

4 positive, 7 neutral or asking, 0 mixed, 3 critical, out of 14 comments about the project. Thread score +0.01.

Idea: 3 for, 1 againstExecution: 0 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Simple, lightweight way to go from browser to RTMP

    From 2 comments
    • Awesome to see this on the front page! I’ve been chatting with the OP for a few days and this is based on a Node.js PoC I wrote for a blog post on the state of broadcasting live…
      mmcclure on HN
    • Cool project! I've done similar things with Kurento acting as a WebRTC peer to proxy WebRTC --> RTMP before but this is a lot more lightweight. One thing I'd love to see at some…
      iameli on HN
  • Good name

    From 1 comment
    • When we first started replacing our Erlang router for Heroku Private Spaces with a go-based one, the name of the POC was ‘pxy’. Very big fan of the name. Yours seems fun too. <3
      amerine on HN

Objections

  • Uses FFmpeg via shell, limiting stream monitoring and separate audio/video input

    From 1 comment
    • I see you are invoking Ffmpeg via the shell. I also tried steaming to Youtube from Go and had to resort to the same solution. It's a shame there isn't a usable library for…
      alufers on HN
  • Browser MediaRecorder video quality varies across browsers

    From 1 comment
    • Awesome to see this on the front page! I’ve been chatting with the OP for a few days and this is based on a Node.js PoC I wrote for a blog post on the state of broadcasting live…
      mmcclure on HN

Requests

  • Support SRT listener mode

    From 1 comment
  • Reverse direction: RTMP to websockets

    From 1 comment
    • I think the inverse of this (RTMP to Websockets) would be more interesting.
      Linkd on HN

Questions

  • What video sources send websocket streams to this proxy

    From 1 comment
    • What kind of video sources provide output via websockets to be proxied to RTMP? OBS and other streaming video tools usually support RTMP themselves and browsers only support…
      difosfor on HN
  • Can it serve a Raspberry Pi camera

    From 1 comment
    • Can this be used as a web front end for say a raspberry pi camera ?
      taf2 on HN

Alternatives named

  • RTSPtoWSMP4f and RTSPtoWebRTC

    From 1 comment
    • In the same genre of Go video streaming adapter servers. Here are a couple neat projects which stream from RTSP (as used by eg security cameras) to either fragmented .mp4 files…
      scottlamb on HN
  • Kurento

    From 1 comment
    • Cool project! I've done similar things with Kurento acting as a WebRTC peer to proxy WebRTC --> RTMP before but this is a lot more lightweight. One thing I'd love to see at some…
      iameli on HN
  • Axis media-stream-player-js

    From 1 comment
    • A similar thing is used by Axis security cameras but with RTSP. The frontend bits are open source here: https://github.com/AxisCommunications/media-stream-player-js
      SahAssar on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/22919845)