connectsdk / connect-sdk-ios-api-sampler Goto Github PK
View Code? Open in Web Editor NEWiOS API Sampler
License: Creative Commons Zero v1.0 Universal
iOS API Sampler
License: Creative Commons Zero v1.0 Universal
The slider should be disabled in that case.
@henrylevak : Launch app, use mouse. Put app in background for a while, relaunch app - mouse doesn't work (other functions like media, app list work)
Workaround: kill the app and relaunch to reconnect.
It is discovered in simulator, but it is not discovered in iphone.
Do you need any other settings?
Currently, only iPhones are supported. We can update the storyboard to use AutoLayout to at least stretch the contents to the whole iPad screen.
Getting a number of errors in ObjC. Can someone share Connect-SDK-iOS-Swift-Sampler!
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.
Please confirm that the ConnectableDeviceDelegate method (below one) is getting called while already connected device get lost the connectivity:
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.
Any chance we could get something nice looking designed for the sampler apps? Maybe some launch screens, too?
Launch netflix and watch a move. Switch to the "Control" tab in the sampler app - notice the mouse appears on the tv and the playback bar is visible. I think we are firing some command by accident.
Steps to reproduce:
1)Play media on sampler.
2) Media is played on the second screen device
3) Play media again .
The media player closes and does not play the media
On Netcast 3, sending new photo/video while one is already displaying can sometimes break. Sending a stop between each photo/video doesn't work fast enough, may cause TV to become unresponsive.
On TV->launch Home->use controls on device to navigate and launch '3D World'
Workaround: kill the app
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.
You can check the current SDK and sampler app version in the settings. It would be more useful to include some extra information there, such as git commit hash and build time. Eg, SDK Version
: 1.5.0 (abc123de; Wed Feb 4 16:10:19 PST 2015)
. This will help with debugging and troubleshooting.
Sample config: http://www.egeek.me/2013/02/09/xcode-insert-git-build-info-into-ios-app/
[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
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.
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.
STEPS:
1.Launch web app
2.put app to background by tapping on home button on device
3.tap on Sampler app to launch
4.tap on 'Send text to web app' or 'Send JSON to web app' link
RESULT:
Doesnot send text/JSON to webOS TV
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.