Giter Site home page Giter Site logo

connect-sdk-ios-api-sampler's People

Contributors

eunikolsky avatar henrylevak avatar iadnan avatar iheart2code avatar oleksii-frolov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

connect-sdk-ios-api-sampler's Issues

iPad screen support

Currently, only iPhones are supported. We can update the storyboard to use AutoLayout to at least stretch the contents to the whole iPad screen.

Discovered devices are not updating after TV / Wi-Fi is toggled Off and back On

Launch iOS ConnectSDK Sampler app with wifi connection, all the available devices are listed on picker view. There are 2 scenarios as follows:
Scenario-1: Power off the TV or turn off Wi-Fi, listed devices are not refreshing based on the connectivity in between TV & app.
Scenario-2: Connect to the listed device, iOS app allows to do all the controls like display photos, remote control actions etc. Now power off the TV or turn off Wi-Fi, still app is allowing to do all actions. App should navigate back to disconnected screen.

In both scenarios, ConnectSDK listeners / delegate methods are not getting called to refresh the app.

Issue: ConnectSDK delegate methods are not firing actively upon disconnection of device or loosing the device connectivity with TV. I observed few times it is calling didLoseDevice delegate method upon powering off TV.

  • (void)discoveryManager:(DiscoveryManager *)manager didLoseDevice:(ConnectableDevice *)device

Please confirm that the ConnectableDeviceDelegate method (below one) is getting called while already connected device get lost the connectivity:

  • (void) connectableDeviceDisconnected:(ConnectableDevice *)device withError:(NSError *)error

Attached the screenshots of the issue. Please have a look.

Tested with latest iOS connectSDK Sampler app with:
iOS SDK - 15.2.1,
Device - iPhone XS Max.

Kindly fix this issue. Thanks.

ConnectSDK-iOS-Sampler-App-Connected-Wifi-Off
ConnectSDK-iOS-Sampler-App-Devices-Discovered-Wifi-Off
ConnectSDK-iOS-Sampler-App-Devices-Discovered-Wifi-On

How to show(cast) local mobile photo gallery image on TV in iOS

I Have seen that code is displaying live url images on TV correctly but i can not cast my local gallery image that is available in iphone only on TV.

The code i have seen for display photo https://github.com/ConnectSDK/Simple-Photo-Share-iOS

but this code is working for live URL images. How can i display my mobile photo gallery image on tv using this SDK in iPhone. Please give me some hint or reference so that i can proceed further.

Thank you.

Does not play youtube video it will lunch youtube player and stay.

[self.device.launcher launchYouTube:@"dQw4w9WgXcQ" success:^(LaunchSession *launchSession{
NSLog(@"youtube opened with data: %@", launchSession);
if ([self.device hasCapability:kLauncherAppClose]) {
_youtubeSession = launchSession;
[_youtubeButton setSelected:YES];
}
} failure:^(NSError *error){
NSLog(@"youtube fail, %@", error);
}];

App never plays youtube video... I am using ChromeCast it will connect and launch youtube app but never play video.
Please suggest me there is issue sample app or I need to change anything, I added webAppId also but no use.

Thanks

Timer/interval in MediaViewController not being purged properly

The sampler app implements an interval in MediaViewController.m -- and this timer looks like it isn't getting purged properly when a new instance of media is loaded.

So, what seems to be happening, is that this timer keep firing off events unexpectedly.

If I launch a(nother) audio file while one is currently playing, a 1-second interval seems to interrupt the load of the audio and prevent the webapp from moving forward. However, if I click "close" in the Sampler app to truncate the websocket session, then tap the "audio" button to launch new audio, it seems to be fine (the old timer gets purged).

This is reproducible in a locally running instance of webOS second-screen-service, though the latency is hidden in TV mode.

Undefined symbols for architecture armv7 error without CocoaPods

According to official documents to perform a manual installation. I got the following error:

Undefined symbols for architecture armv7:
"OBJC_METACLASS$_GCKCastChannel", referenced from:
OBJC_METACLASS$_CastServiceChannel in libConnectSDK.a(CastServiceChannel.o)
"OBJC_CLASS$_GCKCastChannel", referenced from:
OBJC_CLASS$_CastServiceChannel in libConnectSDK.a(CastServiceChannel.o)
"OBJC_CLASS$_DiscoveryController", referenced from:
objc-class-ref in libConnectSDK.a(FireTVDiscoveryProvider.o)
"OBJC_CLASS$_BFExecutor", referenced from:
objc-class-ref in libConnectSDK.a(FireTVCapabilityMixin.o)
"OBJC_CLASS$_GCKDeviceScanner", referenced from:
objc-class-ref in libConnectSDK.a(CastDiscoveryProvider.o)
"_kGCKMediaDefaultReceiverApplicationID", referenced from:
-[CastService castWebAppId] in libConnectSDK.a(CastService.o)
"_kGCKMetadataKeySubtitle", referenced from:

I confirm GoogleCast.framework, AmazonFling.framework and Bolts.framework have put inside Connect SDK module. The "Build Phases" with "Link Binary with Libraries" has correct setting. The "Other Linker Flags" add -ObjC.

I fully according to instructions on the manual to do, but it did have errors. Was I missing something?

This is my project. (https://drive.google.com/file/d/0B-96ynJ1excZQUVtT25USXVXVVU/view?usp=sharing)
How can I fix it, thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.