Skip to content

Commit

Permalink
Merge branch 'develop' into release/0.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliza Sapir committed Apr 19, 2017
2 parents 6436f2a + 785e68d commit 2f0e824
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Classes/Providers/OTT/Services/OTTAssetService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class OTTAssetService {
request
.setBody(key: "id", value: JSON(assetId))
.setBody(key: "ks", value: JSON(ks))
.setBody(key: "type", value: JSON(type.rawValue))
.setBody(key: "assetReferenceType", value: JSON(type.rawValue))
.setBody(key: "type", value: JSON(type.asString))
.setBody(key: "assetReferenceType", value: JSON(type.asString))
.setBody(key: "with", value: JSON([["type": "files", "objectType": "KalturaCatalogWithHolder"]]))
return request
} else {
Expand All @@ -32,7 +32,7 @@ class OTTAssetService {
request
.setBody(key: "assetId", value: JSON(assetId))
.setBody(key: "ks", value: JSON(ks))
.setBody(key: "assetType", value: JSON(type.rawValue))
.setBody(key: "assetType", value: JSON(type.asString))
.setBody(key: "contextDataParams", value: JSON(playbackContextOptions.toDictionary()))
return request
} else {
Expand All @@ -51,7 +51,7 @@ struct PlaybackContextOptions {
func toDictionary() -> [String: Any] {

var dict: [String: Any] = [:]
dict["context"] = playbackContextType.rawValue
dict["context"] = playbackContextType.asString
dict["mediaProtocols"] = protocls
if let fileIds = self.assetFileIds {
dict["assetFileIds"] = fileIds.joined(separator: ",")
Expand Down
2 changes: 1 addition & 1 deletion PlayKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ s.subspec 'GoogleCastAddon' do |ssp|
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}"/**',
'LIBRARY_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}"/**'
}
ssp.dependency 'google-cast-sdk'
ssp.dependency 'google-cast-sdk', '3.3.0'
ssp.dependency 'PlayKit/Core'
end

Expand Down

0 comments on commit 2f0e824

Please sign in to comment.