Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUIC and flutter #10

Closed
ghost opened this issue Jun 17, 2018 · 11 comments
Closed

QUIC and flutter #10

ghost opened this issue Jun 17, 2018 · 11 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2018

Adding something for the roadmap.

QUIC is a good modern alternative to webrtc that is 100% written in golang.
It what Google used for their Allo video calling app.

https://github.com/lucas-clemente/quic-go

Flutter is a way to build mobile apps GUI.
It has the ability to interoperable between flutter ( dart ) and golang using its platform channels. It's quite easy.

https://www.google.de/url?sa=t&source=web&rct=j&url=https://sites.google.com/a/athaydes.com/renato-athaydes/posts/buildingamobilefrontendforagoapplicationusingflutter&ved=2ahUKEwiv6Jyjq9vbAhVOL1AKHfFoClQQFjAAegQIABAB&usg=AOvVaw3SDogyzDpC13gcMYbgLe0f

So you could use it for P2P data and video !

Just putting here because I reckon it's very doable with all the other bits already in this GitHub org like stun and turn.

Would be happy to team up on this

@ghost
Copy link
Author

ghost commented Jun 17, 2018

Almost forgot this gem !!?

go-libp2p-quic-transport

@ghost
Copy link
Author

ghost commented Jun 17, 2018

@Sean-Der
Copy link
Member

@gedw99 thanks for sharing this stuff! I know nothing about QUIC, but will do a deep dive this weekend :)

@ghost
Copy link
Author

ghost commented Jun 19, 2018 via email

@BennettJames
Copy link

I am not a QUIC expert, but from my understanding it is not a replacement for WebRTC. There is a proposed protocol to use QUIC with WebRTC, but that's specific to multiplexing QUIC with other types of WebRTC. Rather than replace WebRTC, QUIC would act as the means of transit for certain types of data alongside WebRTC. Abstractly speaking, it seems that something like QUIC could eventually be used for a wholesale replacement for the transport layer in WebRTC, but I think it'd need better primitives for unreliable data. There are some proposals for that, but they are not adopted.

Again, I am not deeply knowledgeable of QUIC and it's current direction with respect to WebRTC, but I believe it's not quite right to think of it as a replacement, and too soon to think of it as a full-scale transit layer substitute. I would speculate that it would be interesting to eventually try to integrate the QUIC-extensions proposed to WebRTC for this project, but it may be premature to do so: both QUIC itself and the WebRTC integration for it have not been finalized.

@ghost
Copy link
Author

ghost commented Jun 24, 2018

Google's messaging platform for text and video is 100% based on QUIC.
YouTube is all QUIC.
40% of all internet mobile traffic is UDP. Mostly because of YouTube and Netflix apparently.

So yes it replaces the transport channel.
It's UDP with the TCP congestion control backend in.

So if you want video conferencing then you just transcode and stream onto this transport.
It's exactly what you do with data except it's video frames.
Use whatever codec you want.

Am just saying that it can easily replace QUIC and be careful because allot of the opinions are biased due to the webrtc versus Google versus Microsoft war over this standard.

I see QUIC as a huge opportuniy to break out of this decades old webrtc legacy code. It's horrible stuff down in the weeds.

@ghost
Copy link
Author

ghost commented Jun 24, 2018

It's going through standards WG at the moment

https://github.com/quicwg

@ghost
Copy link
Author

ghost commented Jun 24, 2018

https://github.com/libp2p/go-libp2p-quic-transport

Probably the best example of the usefulness and practicality of QUIC.

You can see the multiplexing aspects in the code and issues

@ghost
Copy link
Author

ghost commented Jun 24, 2018

https://github.com/libp2p/go-libp2p-quic-transport

Probably the best example of the usefulness and practicality of QUIC.

Unfortunately no example code though. But you can backtrack the to the original author to see examples using cli

You can see the multiplexing aspects in the code and issues

@Sean-Der
Copy link
Member

Sean-Der commented Jul 4, 2018

Added to roadmap! I think it would be great if we could play with this in pion-WebRTC. Hopefully we can get to a point where it is easier to prototype things here then other implementations of WebRTC.

@Sean-Der Sean-Der closed this as completed Jul 4, 2018
@gedw99
Copy link

gedw99 commented Aug 5, 2019

Hey @Sean-Der
thanks for adding https://github.com/pion/quic

aggresss added a commit to aggresss/pion-webrtc that referenced this issue Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants