aiortc

Languages and libraries

webrtc library

SHOW HN2018

aiortc

WebRTC implementation for Python using Asyncio

github.com

#webrtc#python#asyncio#datachannel#sctp

216points
51comments
#159of 2,155 in 2018
Top 8%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

7 positive, 12 neutral or asking, 1 mixed, 3 critical, out of 23 comments about the project. Thread score +0.25.

Idea: 4 for, 0 againstExecution: 2 for, 1 againstDesign: 0 for, 1 againstPerformance: 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

  • Impressive, useful library for WebRTC outside browsers

    From 3 comments
    • This is really impressive! Seems like a great way to learn WebRTC and potentially is going to be much more portable than the reference C++ implementation.
      gfodor on HN
    • This is super cool, great work! It's the second (mostly-)language-native implementation[1] outside of a browser that I'm aware of, both started this year despite the WebRTC spec…
      shazow on HN
    • Great work! Thanks for this. Scripting WebRTC is always a hassle. And the CV integration will make things easier ;)
      ArtWomb on HN
  • Hard to implement, kudos on DTLS and SCTP work

    From 2 comments
    • Wow! This is hard to do! I got most of an ICE implementation done in Node.js then got completely hung up on DTLS. Kudos!
      ndesaulniers on HN
    • Great work! I can really appreciate the effort you likely put into re-implementing SCTP, since I'm currently working on implementing SCTP in Rust for the same reasons (WebRTC…
      simmons on HN

Objections

  • Spec compliance gaps in RTCRtpSender and simulcast parameters

    From 2 comments
    • Nice work! As a WebRTC implementer (both native and in Chrome), I applaud the work! But I can only notice quite a bit of mismatch between your APIs and the current spec. Do you…
      Orphis on HN
    • Anything related to RTCRtpSendParameters (previously RTCRtpEncodingParameters) really. For example, RTCRtpSender.getParameters is missing and the setParameters seems to be…
      Orphis on HN
  • Mixes WebRTC and ORTC APIs

    From 1 comment
    • Also, my take on this is that you should probably not mix WebRTC and ORTC APIs. Those are quite different (even if there are similarities). If you want to implement ORTC, fine,…
      Orphis on HN

Requests

  • Update API to match current WebRTC spec

    From 1 comment
    • Nice work! As a WebRTC implementer (both native and in Chrome), I applaud the work! But I can only notice quite a bit of mismatch between your APIs and the current spec. Do you…
      Orphis on HN
  • Example code for end-to-end hello world

    From 1 comment
    • Hi can the author or someone point to a hello world code using end-to-end of the above code?
      pranaysharma on HN

Questions

  • Can it handle signalling on its own?

    From 1 comment
    • OMG this is a godsend! I've wanted to do webrtc outside of a browser in python for a while now but there was no available implementations (besides the native one, and I didn't…
      znpy on HN
  • Can it be used for desktop applications?

    From 1 comment
    • OMG this is a godsend! I've wanted to do webrtc outside of a browser in python for a while now but there was no available implementations (besides the native one, and I didn't…
      znpy on HN
  • Performance limits of Python for this library?

    From 1 comment
    • Can you comment on any performance hotspots due to Python (are there any)? What wouldn't this library be suitable for?
      Dowwie on HN

Alternatives named

  • Pions WebRTC in Go

    From 2 comments
    • This is super cool, great work! It's the second (mostly-)language-native implementation[1] outside of a browser that I'm aware of, both started this year despite the WebRTC spec…
      shazow on HN
    • That's awesome simmons! I can't wait to see Rust/Python/Go/Node all talking directly to each other. I really want to see a world where P2P communication is common. It could…
      Sean-Der on HN
  • Embedding a browser such as QtWebEngine

    From 1 comment
    • Signaling is a very app-specific question, as you can use a wide range of options. If you take a look at the "apprtc" example, it's a demo which uses appr.tc's signaling. You can…
      jlaine on HN
  • rawrtc

    From 1 comment
    • I can confirm you can get data channels to work with zero SCTP extensions, I only added them afterwards! One implementation (libusrsctp-based) you might want to interop with is…
      jlaine on HN
  • OpenVidu

    From 1 comment
    • If you are trying to build e.g. Twitch or Discord, you want to have a server backend to handle processing, hide user IPs from each other for privacy etc. (the term you are…
      Immortalin 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/18166753)