We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wanted to only run this application with audio and not with video, so I changes the _localStream from
_localStream = await LocalStream.getUserMedia( constraints: Constraints.defaults ..simulcast = false ..resolution = resolution ..codec = codec);
to
_localStream = await LocalStream.getUserMedia( constraints: Constraints( audio: true, video: false, codec: codec, ));
but this isn't working. And it's showing me this error:
I/flutter (13346): [ion-sdk-flutter] ERROR: onnegotiationneeded: e => Bad state: No element
Also, I've made some changes in the code based on this like in ion?.onTrack function
track.kind=='audio'
rather than
track.kind=='video'
I expected a black screen instead of video stream (which was there) and the audio stream to work fine (but it did not).
Instead it didn't stream any audio and showing me this:
I/org.webrtc.Logging(20179): EglRenderer: Duration: 4009 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA. D/FlutterWebRTCPlugin(20179): onConnectionChangeCONNECTED I/org.webrtc.Logging(20179): NetworkMonitorAutoDetect: capabilities changed: [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=49500Kbps LinkDnBandwidth>=49500Kbps SignalStrength: -61 AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null] I/org.webrtc.Logging(20179): EglRenderer: Duration: 4009 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
and also,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Your environment.
What did you do?
I wanted to only run this application with audio and not with video, so I changes the _localStream from
to
but this isn't working.
And it's showing me this error:
Also, I've made some changes in the code based on this like in ion?.onTrack function
rather than
What did you expect?
I expected a black screen instead of video stream (which was there) and the audio stream to work fine (but it did not).
What happened?
Instead it didn't stream any audio and showing me this:
and also,
The text was updated successfully, but these errors were encountered: