mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Create peer connection for remote streams
This commit is contained in:
@ -10,4 +10,9 @@ class CallConfig {
|
||||
const CallConfig({
|
||||
@required this.iceServers,
|
||||
}) : assert(iceServers != null);
|
||||
|
||||
/// Turn this call configuration into the right for the WebRTC plugin
|
||||
Map<String, dynamic> get pluginConfig => {
|
||||
"iceServers": iceServers.map((f) => {"url": f}).toList()
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user