Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

[EX-107] Remove Endpoint concept #8

Merged
merged 5 commits into from
Aug 1, 2023
Merged

[EX-107] Remove Endpoint concept #8

merged 5 commits into from
Aug 1, 2023

Conversation

skyman503
Copy link
Contributor

No description provided.

Comment on lines 29 to 30
public func setOnEncodingChangedListener(listener: ((_ trackContext: MembraneRTC.TrackContext) -> Void)?) {
trackContext.setOnEncodingChangedListener(listener: listener)
Copy link
Contributor Author

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.

Comment on lines 12 to 16
import struct JellyfishClientSdk.Config
import protocol JellyfishClientSdk.JellyfishClientListener
import class JellyfishClientSdk.JellyfishClientSdk
import struct JellyfishClientSdk.Peer
import class JellyfishClientSdk.TrackContext
Copy link
Contributor Author

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...

@skyman503 skyman503 changed the title Add jellyfishtrackcontext [EX-107] Remove Endpoint concept Jul 31, 2023
@skyman503 skyman503 marked this pull request as ready for review July 31, 2023 09:03
@skyman503 skyman503 requested a review from graszka22 July 31, 2023 09:03
import UIKit

import class MembraneRTC.MembraneRTC
Copy link
Contributor

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

@skyman503 skyman503 merged commit 65fda74 into main Aug 1, 2023
@skyman503 skyman503 deleted the skyman503/ex-107 branch August 1, 2023 09:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants