-
Notifications
You must be signed in to change notification settings - Fork 4
Karkakol/add simulcast config to endpoints #55
Conversation
* Bump release-it * Add allow-warnings to pod trunk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also most of the comments from android side apply here
.idea/membrane-webrtc-ios.iml
Outdated
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="WEB_MODULE" version="4"> | ||
<component name="NewModuleRootManager"> | ||
<content url="file://$MODULE_DIR$"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need to gitignore this stuff too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -30,12 +30,12 @@ public protocol ReceivableEvent { | |||
var type: ReceivableEventType { get } | |||
} | |||
|
|||
internal struct ReceivableEventBase: Decodable { | |||
public struct ReceivableEventBase: Decodable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why public? it was intentionally internal
in order to not expose this to the user and to generate docs nicely
this also applies to the other places
@@ -3,49 +3,59 @@ public struct Endpoint: Codable { | |||
public let type: String | |||
public let metadata: Metadata | |||
public let trackIdToMetadata: [String: Metadata]? | |||
public let tracks: [String: TracksAddedEvent.Data.TrackData]? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't it be easier if we had no ?
here? it can be always an empty array if there are no tracks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will ask if tracks can be null to JF backend devs
No description provided.