ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.3k stars 636 forks source link

Make Flutter SDK compatible with other SDKs #6383

Open mustafaboleken opened 5 months ago

mustafaboleken commented 5 months ago

Currently, Flutter SDK connects automatically and we cannot make much configuration when we publish or play. We need to make it work like JavaScript SDK.

MaZZly commented 1 week ago

@mustafaboleken there were some changes to https://github.com/ant-media/WebRTC-Flutter-SDK/pull/51 last month, does that mean that this one is done, or are there things still pending here?

mustafaboleken commented 1 week ago

Hi MaZZly,

There are still some pending things but that pull request is not backward compatible. So, we discard it and start proceeding in a different way. You can take a look at the sample project in https://github.com/ant-media/WebRTC-Flutter-SDK/pull/62/files

What we done as a first step is now instead of auto publish/play you can choice manually starting publish/play. In the manual approach, we expose all the fields/configurations in the SDK. So, from now on you can set things like mainStreamId or maintrack that youwanted to play like JS SDK