coreplanetKD Posted September 21, 2022 Share Posted September 21, 2022 During development with flutter, I ran into the following problem: Does anyone know the cause? I am using flutter 3.0.2, ant_media_flutter 0.0.8 Link to comment Share on other sites More sharing options...
0 mustafaboleken Posted September 21, 2022 Share Posted September 21, 2022 Hi @coreplanetKD Do you have SSL on your ant media server instance? 1 Link to comment Share on other sites More sharing options...
0 coreplanetKD Posted September 22, 2022 Author Share Posted September 22, 2022 Yes, Has anyone succeeded in building an app with the current flutter sdk and running it as a peer? Link to comment Share on other sites More sharing options...
0 coreplanetKD Posted September 22, 2022 Author Share Posted September 22, 2022 I tried peer communication with the latest Flutter SDK, but there seems to be a problem. I changed the Flutter Webrtc version to 0.9.7 and ran it. My server uses SSL, is there anything else I need to set up when integrating in Flutter? Link to comment Share on other sites More sharing options...
0 Burak Posted September 22, 2022 Share Posted September 22, 2022 Hi @coreplanetKD, I want to ask this just to be sure. Did you follow this guide? https://resources.antmedia.io/docs/flutter-sdk 1 Link to comment Share on other sites More sharing options...
0 coreplanetKD Posted September 23, 2022 Author Share Posted September 23, 2022 (edited) Yes, @Burak, @mustafaboleken I think I followed the guide exactly. Even though I built the latest version of the example in the first place, the error occurs My url applied ssl with wss. Is ssl not handled in Flutter? Can I get a ws:// sample without ssl applied for testing? Edited September 23, 2022 by coreplanetKD Link to comment Share on other sites More sharing options...
0 coreplanetKD Posted September 23, 2022 Author Share Posted September 23, 2022 Hi @Burak @mustafaboleken oh... I just tested with ws:// sample and the connection was successful. It seems the Flutter SDK doesn't support urls starting with wss. Where do I go to request an amendment? Link to comment Share on other sites More sharing options...
0 coreplanetKD Posted September 23, 2022 Author Share Posted September 23, 2022 I just confirmed that wss:// url doesn't work in latest build of flutter. Seeing that ws:// works, it seems that the Flutter SDK does not support wss. Can someone provide a modified repo? Also, the latest Flutter sdk version 0.0.8 does not have a dependency on flutter_webrtc. Link to comment Share on other sites More sharing options...
0 mustafaboleken Posted September 23, 2022 Share Posted September 23, 2022 Hi @coreplanetKD It looks like there is a problem with SSL. You can open an issue on GitHub issues and also follow the status on that page. https://github.com/ant-media/Ant-Media-Server/issues Link to comment Share on other sites More sharing options...
0 Burak Posted September 23, 2022 Share Posted September 23, 2022 Hi @coreplanetKD, You use 5443 port for wss and 5080 for ws connection. Did you use 5443 with wss? Link to comment Share on other sites More sharing options...
Question
coreplanetKD
During development with flutter, I ran into the following problem:
Does anyone know the cause?
I am using flutter 3.0.2, ant_media_flutter 0.0.8
Link to comment
Share on other sites
Top Posters For This Question
6
2
2
Popular Days
Sep 23
5
Sep 22
3
Sep 21
2
Top Posters For This Question
coreplanetKD 6 posts
Burak 2 posts
mustafaboleken 2 posts
Popular Days
Sep 23 2022
5 posts
Sep 22 2022
3 posts
Sep 21 2022
2 posts
9 answers to this question
Recommended Posts