Git Product home page Git Product logo

smartviewsdkcastvideo's People

Contributors

abhinavsood avatar code17lines avatar ho426-lee avatar monster-mj avatar rockingprafull avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartviewsdkcastvideo's Issues

CastManager missing function wakeDevice()

SmartViewSDKCastVideo/SmartViewSDKCastVideo_Android/FastCast-Demo/src/com/samsung/multiscreenplayer/controller/AppController.java

Has a call to
mCastManager.wakeDevice(mac, storedDevice.getUri(), WOW_TIMEOUT, new SimpleCallback<Service>() { @Override public void run(Service result) { smartDeviceClicked(result); wakingDialog.cancel(); mDevicesDialog.dismiss(); } });

Unfortunately the CastManager object has no such function

Library doesn't work in Xcode 12

Hey guys,

Been using your library for quite a while now.
Unfortunately, after updating to the newest Xcode, I got this error:

Module compiled with Swift 5.2.2 cannot be imported by the Swift 5.3 compiler:

Can you update the library to support latest Swift versions?

Thanks!

Support for ObjC project.

Out project use objc as primary language, but when use smart-view-sdk 3.1, some member methods of class (such as Service) cannot found. It should be due to these member methods are not marked as @objc available.

for example the class Service, lots of required methods are missing when call in objc context.

img_v3_026t_7b1267fa-cf35-4be3-b98d-b687dff0be6g

img_v3_026t_897d35d1-a733-45be-8f03-987f0d556b1g

Can you update the library to support ObjC?

Thanks!

Project didn't compile Xcode 12.2 need new version

Hey guys,

We using your library for control TV.
Unfortunately, after updating to the newest Xcode version 12.2, we got this error:

Module compiled with Swift 5.3 cannot be imported by the Swift 5.3.1 compiler:
Can you update the library to support latest Swift versions or may be using cocoa pods for compile library?

Thanks!

HTTP Request Code=500 "Internal Server Error"

I have been using it and it worked perfect for 10 days. Since 26th July when I try to connect to my TV. It generates this error. I have downloaded other sample codes from SamsungDForum git portal and each has the same issue. Can someone please assist. Thanks.

Optional(Error Domain=HTTP Request Code=500 "Internal Server Error" UserInfo={NSLocalizedDescription=Internal Server Error}) Optional("Internal Server Error")

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()
            }
        })
    }

Cannot find Smart TV

Hi

The software provided in sdk cannot find the tv (2014 model)

I testing with pod 'smart-view-sdk', "2.5.8"

But the TV is found with Samsung Smart View iOS app.

The library doesn't work well with Xcode 11 and iOS 13.

Can you please update the example to support laster version.

Sample Code Used:

class ViewController: UIViewController, ServiceSearchDelegate, ConnectionDelegate{

    private var ss:ServiceSearch!;
    override func viewDidLoad() {
         super.viewDidLoad()
            self.ss = Service.search();
            self.ss.delegate = self;
            self.ss.start(true)
    }
    
    @objc func onServiceFound(_ service: Service)
    {
        print("Samsung found");
    }
    
    @objc func onServiceLost(_ service: SmartView.Service) -> Void
    {
        print("Samsung device lost");
    }
}

iOS app Crash when tap the castbutton.

Download and run the iOS code without modification. iOS app Crash when tap the castbutton in the top-right corner. Could you fix it please. error information image attached.
screen shot 2017-04-11 at 15 23 08

Supported TV

Hi, can I use this SDK to cast to other TV like LG, Roku,..?

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.