-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zryte
authored and
Zryte
committed
Oct 25, 2024
1 parent
7e15ef1
commit 962175a
Showing
15 changed files
with
156 additions
and
158 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
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
25 changes: 25 additions & 0 deletions
25
UpstraUIKit/AmityUIKit4/AmityUIKit4/Social/Behaviours/AmityLivestreamBehavior.swift
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,25 @@ | ||
// | ||
// AmityLivestreamBehavior.swift | ||
// AmityUIKit4 | ||
// | ||
// Created by Manuchet Rungraksa on 22/10/2567 BE. | ||
// | ||
|
||
import AmitySDK | ||
import SwiftUI | ||
|
||
open class AmityLivestreamBehavior { | ||
|
||
public init() {} | ||
|
||
open func createRecordedPlayer(stream: AmityStream, client: AmityClient) -> any View { | ||
print("To present recorded stream, please override \(AmityLivestreamBehavior.self).\(#function), see https://docs.amity.co for more details.") | ||
return EmptyView() | ||
} | ||
|
||
open func createLivestreamPlayer(stream: AmityStream, client: AmityClient, isPlaying: Bool) -> any View { | ||
print("To present live stream, please override \(AmityLivestreamBehavior.self).\(#function), see https://docs.amity.co for more details.") | ||
return EmptyView() | ||
} | ||
|
||
} |
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
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
41 changes: 0 additions & 41 deletions
41
UpstraUIKit/AmityUIKit4/AmityUIKit4/Social/Pages/Livestream/RecordedStreamPlayerView.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.