mhmiles / opencastswift Goto Github PK
View Code? Open in Web Editor NEWAn open source implementation of the Google Cast SDK written in Swift
License: MIT License
An open source implementation of the Google Cast SDK written in Swift
License: MIT License
I'm Getting a nw_resolver_start_query_timer_block_invoke [C1] Query fired: did not receive both families in time for 8c3a638c-89a9-b15b-a9e1-6826acf9ee64.local.:8009
Error in Xcode when trying to connect to a chromecast using the sample app provided. Currently testing on a mac running MacOS 10.15.4 and xcode version 11.4.1 (11E503a). Anyone have a solution for this?
Hello,
I want to cast website to smart TV. for example I want to load "www.google.com" in my iPhone and cast it to TV. How can I do that ?
What I will have to change in below code ?
client.launch(appId: CastAppIdentifier.defaultMediaPlayer) { (result) in
switch result {
case .success(let app):
let media = CastMedia(title: "TEST CAST", url: URL(string: "http://traffic.libsyn.com/billburr/MMPC_8-1-16.mp3")!, contentType: "audio/mp3")
self.client.load(media: media, with: app) { result in
switch result {
case .success(let status):
print(status)
case .failure(let error):
print(error)
}
}
case .failure(let error):
print(error)
}
}
How do I integrate it into my project? Thanks!
Does it support cocoapods?
I have an app that I need to launch in Chromecast,
after client.launch(appID: <some string>)
it says "No channel attached for namespace : ".
Can you help me out with this?
any idea why and app on ios 14 doesn't work ?
Using the demo app, I get "Started scanning", but nothing else... scanner.isScanning
returns false
There is no prompt for the LocalNetwork permissions....
The default media player works fine with MP4 URLs, but if I directly try to launch the YouTube app with client.launch(appId: "YouTube")
, the result
object is always a failure, stating:
launch("Unable to get launched app instance")
Did YouTube break it completely, or am I doing something silly?
I've been planning to remove the GoogleCast dependency for a long time and this repo seems to be exactly what I'm looking for but the last commit is from three years ago. Is anyone using it for production apps and has had any problems with changes to the Cast protocol being incompatible with the current state of this framework?
Also, maybe it's possible to drop all dependencies but swift-protobuf and add support for spm.
In case someone is interested I could take a look at spm support.
It would be great if there were a few pointers in the Readme on how to get a project with OpenCastSwift up and running.
Is the preferred way to use Carthage?
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.