-
Notifications
You must be signed in to change notification settings - Fork 22
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 #458 from THEOplayer/release/v8.10.0
Release/v8.10.0
Showing
8 changed files
with
275 additions
and
214 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
371 changes: 190 additions & 181 deletions
371
example/ios/ReactNativeTHEOplayer.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
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
26 changes: 26 additions & 0 deletions
26
ios/theolive/THEOplayerRCTSourceDescriptionBuilder+Theolive.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,26 @@ | ||
// THEOplayerRCTSourceDescriptionBuilder.swift | ||
|
||
import Foundation | ||
import THEOplayerSDK | ||
import UIKit | ||
|
||
#if canImport(THEOplayerTHEOliveIntegration) | ||
import THEOplayerTHEOliveIntegration | ||
#endif | ||
|
||
extension THEOplayerRCTSourceDescriptionBuilder { | ||
|
||
/** | ||
Builds a THEOplayer SourceDescription that can be passed as a source for the THEOplayer. | ||
- returns: a THEOlive TypedSource. | ||
*/ | ||
static func buildTHEOliveDescription(_ theoliveData: [String:Any]) -> TypedSource? { | ||
#if canImport(THEOplayerTHEOliveIntegration) | ||
if let src = theoliveData[SD_PROP_SRC] as? String { | ||
//let headers = typedSourceData[SD_PROP_HEADERS] as? [String:String] | ||
return TheoLiveSource(channelId: src) | ||
} | ||
#endif | ||
return nil | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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