Thursday, October 24, 2019

Episode 95: WebRTC with Sean DuBois


We are sponsored by audible! http://www.audibletrial.com/programmingthrowdown

We are on Patreon! https://www.patreon.com/programmingthrowdown

T-Shirts! http://www.cafepress.com/programmingthrowdown/13590693

Join us on Discord! https://discord.gg/r4V2zpC

WebRTC with Sean DuBois

  • Making changes to a language itself
  • How do people connect using WebRTC?
  • What is WebRTC?
  • What are options for using WebRTC in your app?
  • NAT traversal
  • WebRTC security and identification
  • The challenges of WebRTC
  • Dealing with latency and packet loss
  • Sending data reliably
  • How did Sean get into WebRTC?
  • Tips for getting a job in coding
  • How to contribute to Pion
Pion project: https://github.com/pion/webrtc
Pion Twitter: https://twitter.com/_pion/



63 comments:

  1. Regarding your wish to tie a Twitter identity to the DTLS authentication step, I think you could in principle do that using TLS-SRP:

    https://en.wikipedia.org/wiki/TLS-SRP

    SRP is a fascinating protocol for establishing *bidirectionally* that two peers in an exchange know a given secret (like a password) without either side revealing it to the other and without either side having to hold the secret in durable storage. Think zero-knowledge proofs meets hashed-and-salted passwords.

    The reason you can use SRP for this is that one of the things that falls out of the math is a random session key. (This means SRP is one of a class of algorithms called a password-authenticated key exchange, PAKE.) TLS-SRP uses that session key as its encryption key.

    Getting all of this to work over DTLS instead of TLS/TCP and then getting Twitter to support TLS-SRP over DTLS for proof of identity is an exercise left to the reader. :)

    Another difficulty is that there are several flavors of SRP, and each implementation you find online tends to speak only a subset of them, often just one. You end up needing to dig pretty far into the math to figure out which particular flavor a given library on GitHub uses so you can figure out whether it will speak to some other library, as when your client and server are written in different programming languages. (e.g. C++ back-end with JS front-end.) If one library pads the password out with nulls to 256 bits prior to doing a given math step and the other doesn't, for example, you'll never get the two libraries to agree to the knowledge proof.

    This site helps with all of that:

    http://srp.stanford.edu/index.html

    Incidentally, if you've ever wondered why so many web sites these days are asking for the user name / email separately from the password when we were all trained to ask for both at once and then on login failure give a vague error that doesn't reveal which lookup failed, the user name or the password, use of SRP is one possible reason: SRP uses two message exchanges, one carrying the user name, the other carrying the secret knowledge verification, so it *has* to either verify the existence of the user first or at least pretend to do so.

    ReplyDelete
    Replies
    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

      Delete
  2. Regarding multicast, there's an important detail that didn't come up in the conversation, which is that consumer-grade network switches don't do anything special with it, so that multicast is basically the same thing as broadcast on most small LANs.

    Then on professional-grade networking gear, there's a handful of technologies for doing intelligent things with IGMP, the protocol that manages multicast IP groups, but they're usually disabled by default, and when blindly enabled, often don't do everything you want it to do until you configure the services to match your local needs.

    The bottom line is that very few networks are properly configured for the most efficient use of IGMP and/or multicast, even at the high end.

    The worst of them all is the Internet, which basically drops multicast at the border, which is a shame, because the protocol was created to allow Internet-wide efficient transmission of shared data streams. It could have allowed us to get to a Tivo over the Internet world, where my DVR announces at 7pm on Sundays that it wants to receive 224.1.2.3, which my cable Internet company maps to NBC, so it gets a copy of the live NBC feed at that moment until it stops responding to IGMP query packets which basically ask, "Do you still want to receive this?" An hour later, when the show is done streaming, my DVR could send an IGMP group-leave packet, causing my ISP to stop sending me this traffic.

    Instead, multicast is usually blocked at the Internet border gateways, so we're all having to pull redundant copies of each TV show on demand from Netflix, Prime, etc., which is why TV and movies are now the majority of the traffic on the Internet, and these companies are having to do back-room deals with the likes of Comcast to get VoD servers embedded in their regional data centers.

    It could have all been multicast, but no....this is why we can't have nice things. :(

    ReplyDelete
  3. Wow! What an excellent article!!! It is very helpful for me. I’ve learnt a lot of things from this post, thank you. If anyone wants to learn more you can also visit https://sisayed360.blogspot.com/

    ReplyDelete
  4. I’d should seek advice from you here. Which isn’t something It’s my job to do! I enjoy reading a post that may get people to believe. Also, thanks for permitting me to comment! https://royalcbd.com/faq/

    ReplyDelete
  5. I really enjoy reading and also appreciate your work.
    data science course

    ReplyDelete
  6. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data analytics course
    big data analytics malaysia
    big data course

    ReplyDelete
  7. Nice post, keep it up.
    Hope you are well in the current situation.
    seo malaysia

    ReplyDelete
  8. Good article! Check out
    https://www.tnect.com.my/website-design/
    https://www.maxis-broadband.com/

    ReplyDelete
  9. 먹튀검증 These are in fact impressive ideas in on the topic of blogging.
    You have touched some nice things here.

    ReplyDelete
  10. 토토사이트추천 Pretty! This has been an incredibly wonderful article. Many thanks for providing this info


    ReplyDelete
  11. 온라인카지노 These are genuinely enormous ideas in regarding blogging .

    ReplyDelete
  12. Yes! Finally someone writes about web store. bookmarked! 온라인카지노

    ReplyDelete
  13. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Training in Chennai

    ReplyDelete
  14. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    cyber security training in bangalore

    ReplyDelete
  15. While looking for articles on these topics, I came across this article on the site here. As I read your article, I felt like an expert in this field. I have several articles on these topics posted on my site. Could you please visit my homepage? 우리카지노

    ReplyDelete
  16. We absolutely love your blog and find almost all of your post’s to be just what I’m looking for. Does one offer guest writers to write content for you personally? I wouldn’t mind publishing a post or elaborating on a number of the subjects you write with regards to here. ufa slot

    ReplyDelete
  17. I saw your article well. You seem to enjoy 바카라검증사이트 for some reason. We can help you enjoy more fun. Welcome anytime :-)

    ReplyDelete
  18. I feel like I'm becoming a genius because there are so many good writings in the world.토토사이트추천

    ReplyDelete
  19. What a perfect place to be.먹튀검증업체 I'm glad I got a lot of information.

    ReplyDelete
  20. First of all, thank you for your post. Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^ 토토사이트

    ReplyDelete
  21. ou need to be a part of a contest for one of the highest quality sites on the 토토사이트. I most certainly will recommend this site!

    ReplyDelete
  22. When I read an article on this topic, 먹튀검증커뮤니티 the first thought was profound and difficult, and I wondered if others could understand.. My site has a discussion board for articles and photos similar to this topic. Could you please visit me when you have time to discuss this topic?

    ReplyDelete
  23. OnePlus become once the most significant phone organization inside the world. How times change. In 2020 however it's considering a to be as a financial limit to mid-go Android player, with two or three premium handsets tossed certain great measure.
    OnePlus Points of Interest and Downsides
    OnePlus is among the chief genius creators of phones which they serve an overall commercial center conveying close by OnePlus Mobile Price in BD a broad assortment of devices

    ReplyDelete
  24. RUNNER two is among the most professional producers of bicycles and they serve a worldwide market conveying close by Runner Bike Price in BD an enormous variety of contraptions going from fine models. A part of the experts Samsung phones has incorporated the going with.

    ReplyDelete
  25. We dismembered everything on this site basically the best Knowledge, Best Vivo Mobile Price in Bangladesh of the models that you wouldn't find on some other site. You can without a genuinely stunning stretch eccent

    ReplyDelete
  26. Want to buy a mobile phone but don’t know which one should you buy? If you want so; then you are most welcome in this article because we are ready to give you the best possible information about the Vivo Mobile Price in BD. The most recent updated transportable value in BD, likewise as Vivo smartphone reviews in Bangladesh 2020. We tend to give the foremost engaging mobile news publisher in Bangladesh in 2020 an agency unfold mobile news in a sense. Try to be with us for getting lots of valuable information about the Vivo Mobile Price in Bangladesh. In our beloved site, we have gathered all the information about the Vivo mobile price.

    ReplyDelete
  27. Excellent read, I just passed this onto a friend who was doing a little research on that. And he actually bought me lunch as I found it for him smile Therefore let me rephrase that: Thank you for lunch. 먹튀신고

    ReplyDelete

  28. Thanks for sharing this.,
    Leanpitch provides crash course in Brain hacks using NLP everyone can use it wisely.

    Brain hacks with NLP

    NLP training

    ReplyDelete
  29. Thanks for sharing this.,
    Leanpitch provides crash course in Brain hacks using NLP everyone can use it wisely.
    NLP training

    NLP crash course

    ReplyDelete
  30. I have read your blog, it is very helpful for me. I want to say thank you to you. I have bookmarked your website to read more news articles from you.
    Do check
    Paypal Login
    gemini login

    ReplyDelete
  31. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts. 스포츠토토사이트

    ReplyDelete
  32. What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up.
    data scientist training in malaysia

    ReplyDelete
  33. Microsoft Office Specialist Malaysia RE2 Learning Solutions (Asia) Sdn Bhd was founded in 2016. The company is one of a leader in the field of professional IT training in Malaysia. Over the years, RE2 (Asia) has helped thousands of young learners, companies, government departments and agencies to improve and develop their IT skills.

    ReplyDelete
  34. Established in 2002, RE2 International Computer School Malaysia was one of the first schools in Malaysia with a well-developed ICT curriculum for Primary School and Secondary school students. Our curriculum was heavily based on the national curriculums of The United States of America and United Kingdom.

    ReplyDelete
  35. Apple Swift Developer Certification RE2 Learning Solutions (Asia) Sdn Bhd was founded in 2016. The company is one of a leader in the field of professional IT training in Malaysia. Over the years, RE2 (Asia) has helped thousands of young learners, companies, government departments and agencies to improve and develop their IT skills.

    ReplyDelete
  36. joint supplements singapore Duplex® strives to be your trusted healthcare brand, a brand that will never settle for less than the best. We firmly believe your health matters. At Duplex®, we pledge to make your well being our priority. Our aim is to deliver effective, yet affordable healthcare simply because we believe good health makes living more meaningful. We are your trusted ally on the journey to attain a healthy mind, body and spirit.

    ReplyDelete
  37. broccoli sprout malaysia Duplex® strives to be your trusted healthcare brand, a brand that will never settle for less than the best. We firmly believe your health matters. At Duplex®, we pledge to make your well being our priority. Our aim is to deliver effective, yet affordable healthcare simply because we believe good health makes living more meaningful. We are your trusted ally on the journey to attain a healthy mind, body and spirit.

    ReplyDelete
  38. Web Design Malaysia Rebrand specialise in website design, e-commerce solutions, digital marketing, branding strategy and much more. We strongly believe that having a high-quality website doesn't necessarily need to cost a huge sum of money. Hence, we are a group of professionals that came together with a goal in mind: to deliver excellent web designs that provide value to our customers that range from startups to enterprises and large organisations.

    ReplyDelete
  39. Exactly what i was looking for. Very well described thanks. Looking forward to return
    again. If you want to watch Bigg boss 15 visit here all hd episodes for free.
    bigg boss 15 full episode
    bigg boss 15 watch online
    bigg boss 15 mx player

    ReplyDelete
  40. This post is very simple to read and appreciate without leaving any details out. Great work!
    data scientist certification malaysia

    ReplyDelete
  41. I've been searching for hours on this topic and finally found your post. , I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site? 먹튀검증커뮤니티

    ReplyDelete
  42. Someone necessarily help to make severely articles I might state. That is the first time I frequented your web page and up to now? I surprised with the analysis you made to create this actual publish extraordinary. Fantastic process 안전놀이터

    ReplyDelete
  43. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data scientist course

    ReplyDelete
  44. I had a lot of fun at this Olympics, but something was missing. I hope there's an audience next time.안전토토사이트

    ReplyDelete
  45. It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. 메이저토토사이트

    ReplyDelete
  46. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future. 토토사이트추천

    ReplyDelete
  47. Bigg boss season 15 is going to start at the end of September. Before this it will
    be telecasted on OTT. Visit us to watch BB15 OTT and Colors Tv complete episodes free.
    bigg boss 15 full episode
    bigg boss 15 today episode

    ReplyDelete
  48. While looking for articles on these topics, I came across this article on the site here. As I read your article, I felt like an expert in this field. I have several articles on these topics posted on my site. Could you please visit my homepage? 메이저놀이터순위


    ReplyDelete
  49. Captivating post. I Have Been contemplating about this issue, so an obligation of appreciation is all together to post. Completely cool post.It 's greatly extraordinarily OK and Useful post.Thanks 사설토토사이트

    ReplyDelete
  50. Prepare for ServiceNow CIS-PPM exam with our preparation material with full confidence. We offer you 100% real Certified Implementation Specialist – Project Portfolio Management Exam ServiceNow CIS-PPM exam dumps for your better results. Prepare4Test’s CIS-PPM pdf dumps are verified by ServiceNow Gurus.

    ReplyDelete
  51. 100% Pass Guarantee is offered by us after Certified Implementation Specialist – Discovery Exam CIS-Discovery exam preparation, with Prepare4Test’s exam dumps. You can pass the CIS-Discovery exam in the first go with good marks, and it will be easy for you to attempt all CIS-Discovery questions.

    ReplyDelete
  52. Nice to be visiting your blog again. it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college. and it has same topic with your article. Thanks. great share
    일본야동
    Feel free to visit my blog :일본야동

    ReplyDelete
  53. I was impressed by your writing. Your writing is impressive. I want to write like you.토토사이트 I hope you can read my post and let me know what to modify. My writing is in I would like you to visit my blog.

    ReplyDelete
  54. I finally found what I was looking for! I'm so happy. 안전한놀이터 Your article is what I've been looking for for a long time. I'm happy to find you like this. Could you visit my website if you have time? I'm sure you'll find a post of interest that you'll find interesting.

    ReplyDelete
  55. Decent data, profitable and phenomenal outline, as offer well done with smart thoughts and ideas, bunches of extraordinary data and motivation, both of which I require, on account of offer such an accommodating data here 토토사이트

    ReplyDelete
  56. What a nice post! I'm so happy to read this. 카지노사이트검증 What you wrote was very helpful to me. Thank you. Actually, I run a site similar to you. If you have time, could you visit my site? Please leave your comments after reading what I wrote. If you do so, I will actively reflect your opinion. I think it will be a great help to run my site. Have a good day.


    ReplyDelete