Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PayalUmraliya opened this issue Jan 13, 2020 · 10 comments
Open

Comments

@PayalUmraliya
Copy link

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.

@San-Jeevan
Copy link

San-Jeevan commented Feb 28, 2020

We did this on our ios app.

you have to host a embedded http server on your device and copy the images to its folder.
We used GCDWebServer

http://192.168.101.3/yourimage.png

then cast the url

@ElauchPU
Copy link

ElauchPU commented May 9, 2020

Is your app is approved by apple ?

@San-Jeevan
Copy link

Is your app is approved by apple ?

https://apps.apple.com/us/app/streambeam/id1179607280

@San-Jeevan
Copy link

i can make the source open if u guys want? there are some password and credentials that i need to remove first

@ElauchPU
Copy link

ElauchPU commented May 9, 2020

Can you give some reference of using GCDWebServer?

@ElauchPU
Copy link

ElauchPU commented May 9, 2020

I also seen that the app using this SDK is not eligible in apple, is it true ?

@San-Jeevan
Copy link

what you mean by eligable? i havent updated my app on appstore for years.

@ElauchPU
Copy link

ElauchPU commented May 9, 2020

i can make the source open if u guys want? there are some password and credentials that i need to remove first

Yes Please it would be really helpful for me

@ElauchPU
Copy link

ElauchPU commented May 9, 2020

what you mean by eligable? i havent updated my app on appstore for years.

I have told this by reading this thread. So that i have a doubt about it.

ConnectSDK/Connect-SDK-iOS#212 (comment)

@San-Jeevan
Copy link

i can make the source open if u guys want? there are some password and credentials that i need to remove first

Yes Please it would be really helpful for me

ok here it is. its 5 years old, so i dont u will be able to compile. but most important is how the local webserver + casting is done. the app does whole alot more, such as casting live video from your phone to chromecast so focus on this file LocalMediaController.swift
https://github.com/San-Jeevan/StreamBeamOldSource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants