8000 RTCPeerConnection does not have RTCPeerConnectionState · Issue #355 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

RTCPeerConnection does not have RTCPeerConnectionState #355

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

Closed
animeshjain opened this issue Sep 22, 2020 · 1 comment · Fixed by #359
Closed

RTCPeerConnection does not have RTCPeerConnectionState #355

animeshjain opened this issue Sep 22, 2020 · 1 comment · Fixed by #359
Labels
🚀enhancement New feature or request

Comments

@animeshjain
Copy link
animeshjain commented Sep 22, 2020

Is your feature request related to a problem? Please describe.
I am using flutter_webrtc: 0.3.3. Currently it seems there is no way to get the RTCPeerConnectionState. It is expected in the RTCPeerConnection class, and should have an event handler such as onConnectionState or something like that.

Describe the solution you'd like
I checked the Android implementation, and it seems the org.webrtc.PeerConnection class does have a method called connectionState. And it seems an event handler could be implemented in PeerConnectionObserver class.

Describe alternatives you've considered
Could not find any particular alternative. It seems the iceConnectionState is a bit of a proxy to the connectionState, but not really the same thing.

Would like to know if this is simply an oversight, or is there some other reason for it? I can add the implementation in Android I feel, shouldn't be too hard. Will have to check what is the status on iOS.

@cloudwebrtc cloudwebrtc added the 🚀enhancement New feature or request label Sep 22, 2020
@cloudwebrtc
Copy link
Member

@wer-mathurin wer-mathurin linked a pull request Oct 13, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0