有沒有人使用iOS的三星/ Tizen SDK。 https://github.com/SamsungDForum/SmartViewSDKCastVideoSmartView SDK三星/ Tizen - 內部服務器錯誤500
我一直在使用它,它工作完美。從昨天開始,當我嘗試連接到我的電視。它會產生這個錯誤。我已經從他們的git門戶下載了幾個示例代碼,每個都有相同的問題。有人可以幫助嗎?謝謝。
可選(錯誤域= HTTP請求代碼= 500 「內部服務器錯誤」 的UserInfo = {NSLocalizedDescription =內部服務器錯誤}) 可選( 「內部服務器錯誤」)
func launchApplicationTv(service:Service, completionHandler: (isTVConnected:Bool) ->())
{
self.serviceSearch.stop()
self.serviceSearch.stopUsingBLE()
self.stoplisteningForNotifications()
let appID = kSAMSUNG_APPID
let channelID = kSAMSUNG_CHANNELID
print("input: createApplication:(appId):\(appID) channelURI: \(channelID) args: %@")
self.samsung_app = service.createApplication(kSAMSUNG_APPID, channelURI: kSAMSUNG_CHANNELID, args: nil)
self.samsung_app.delegate = self;
self.samsung_app.connectionTimeout = 100.0
let dict:NSDictionary = ["name":kiOS_DEVICE]
self.samsung_app.start({ (success,error) -> Void in
if success
{
self.samsung_app.connect((dict as! [String : String]), completionHandler: ({ (ChannelClient,error) -> Void in
print("Connected")
self.connectedService = service;
completionHandler(isTVConnected: true)
}))
}
else
{
completionHandler(isTVConnected: false)
print("Couldn't Connect")
dispatch_async(dispatch_get_main_queue(),
{
self.showError()
})
self.terminateConnection()
}
})
}