1

I found out about OpenWebRTC and was wondering if there was a way to implement it in the suckless surf browser. Does anyone know if this is possible and how I would go about it?

skink
  • 5,133
  • 6
  • 37
  • 58
Chain
  • 11
  • 1

1 Answers1

2

I wouldn't use OpenWebRTC, development has stopped and you will probably hit bugs. WebRTC has had some pretty big changes since development has stopped (PlanB -> Unified Plan) and mDNS candidates.

GStreamer itself now has webrtcbin. There are also WebRTC implementations (webrtc.org, aiortc, pion) that can do media!

I would build the WebRTC integration out of process. You could write some IPC and let a 'WebRTC implementation' talk over a socket and exchange SDPs back and forth. I don't know surf's code that well to know how possible that is though.

Sean DuBois
  • 3,972
  • 1
  • 11
  • 22