diff --git a/src/PluginMediaStream.swift b/src/PluginMediaStream.swift index 20288ffe..dc60f303 100644 --- a/src/PluginMediaStream.swift +++ b/src/PluginMediaStream.swift @@ -17,7 +17,7 @@ class PluginMediaStream : NSObject { NSLog("PluginMediaStream#init()") self.rtcMediaStream = rtcMediaStream - self.id = rtcMediaStream.streamId + self.id = rtcMediaStream.streamId + "-" + UUID().uuidString for track: RTCMediaStreamTrack in (self.rtcMediaStream.audioTracks as Array) { let pluginMediaStreamTrack = PluginMediaStreamTrack(rtcMediaStreamTrack: track, streamId: id)