-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
public func setOnEncodingChangedListener(listener: ((_ trackContext: MembraneRTC.TrackContext) -> Void)?) { | ||
trackContext.setOnEncodingChangedListener(listener: listener) |
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'm not entirely sure what to do here, since in my opinion this should take function that takes JellyfishTrackContext as a parameter such that end user won't have to worry about witch context to use, but idk how to write this since this function can do everything in the meantime.
import struct JellyfishClientSdk.Config | ||
import protocol JellyfishClientSdk.JellyfishClientListener | ||
import class JellyfishClientSdk.JellyfishClientSdk | ||
import struct JellyfishClientSdk.Peer | ||
import class JellyfishClientSdk.TrackContext |
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.
Afaik if you want to import one class (TrackContext here) specifically from one library every other thing has to be also included line by line...
import UIKit | ||
|
||
import class MembraneRTC.MembraneRTC |
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.
do we need that? public private(set) var client: MembraneRTC?
seems unused
No description provided.