-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from ant-media/refactor_conference_players
Refactor conference players and Support changing resolution of subtrack
- Loading branch information
Showing
9 changed files
with
158 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// CellView.swift | ||
// WebRTC-Sample-App | ||
// | ||
// Created by Ahmet Oguz Mermerkaya on 15.07.2024. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
import WebRTC | ||
public class CellView: UICollectionViewCell { | ||
|
||
|
||
@IBOutlet weak var playerView: RTCMTLVideoView! | ||
|
||
var videoTrack:RTCVideoTrack? | ||
|
||
public override func prepareForReuse() { | ||
videoTrack?.remove(playerView) | ||
} | ||
|
||
} |
Oops, something went wrong.