Giter Club home page Giter Club logo

peertalk-simple's People

Contributors

itinance avatar kirankunigiri 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  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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peertalk-simple's Issues

Not working properly with java client

Tried to run with Java client but always received '?bplist?'string. Tried sending number and string from iOS app to java but received string is same.

Computer and iOS Device not connecting even though "Connected: true" shows up in logs

I am trying to send some data using Peertalk Simple example project though the devices are not connecting. When I run the program "Connected: true" shows up in both of their logs when they should be connected and "Connected: false" shows up when they are not, but in both cases, none of the other connection code is executed and I am unable to send messages, I have checked and the value for peerChanel is both are nil, I have copied the connection code from the example project and do not know what is wrong, any help would be appreciated.

Setup not working with PTManager.swift

Hi, I tried to do as told in the guide and just copy the PTManager.swift from Source folder, but it was giving me a lot of errors, then I tried to copy the whole structure together with the peertalk folder and helper.swift and PeertalkSimple-Bridging-Header.h and it is still giving me a lot of errors, I am very new to swift and I presume that the guide is for a bit more advanced people than me and unfortunately I am stuck and I didn't find any other guides on the internet about peertalk-simple so I thought I'd ask at the source. I'd appreciate any help that you could give me. Thanks
screenshot

also PS: I am trying to make an app for my own needs that would send the iPhone camera feed over to the mac as a second webcam. There is a bunch of such apps in the AppStore for around โ‚ฌ20 in my location which is a bit pricey if I do say so myself so I thought I might try and make one of my own while learning new skills... could I transfer a video stream over USB with peertalk/peertalk-simple? Is it technically possible to send video files?

Sending CMSampleBuffer causes error in Broadcast Extension.

I have been working on sending CMSampleBuffer data out of a broadcast extension and this has been causing me trouble, sending strings though peertalk in the extension is working, but when I send CMSampleBuffers is causes an error. Here is my code:

ptManager.sendObject(object: sampleBuffer, type 102)

That does not work but when I do this:

ptManager.sendObject(object: "test", type 102)

it does work, what is going on here?

how to get port number?

What if you don't want to have to communicate with your MacBook pro? You shouldn't have to communicate with your MacBook pro to use this. How do you just get the port number of a usb device once it is attached?

crash when sending a struct

I'm encountering a crash when sending a two-dimensional array wrapped up in a struct. So this works for me:

// sending
var Traj: [[Int]] =  ....
ptManager.sendObject(object: Traj, type: PTType.number.rawValue)

 // receiving
 let Traj = data.convert() as! [[Int]]

but when I attempt to do

// sending
struct Trial{
    let header: String
    let payload: [[Int]]
}
let trial = Trial(header: "hello", payload: Traj)
 ptManager.sendObject(object: trial, type: PTType.number.rawValue)

// receiving
struct Trial{
    let header: String
    let payload: [[Int]]
}    
let trial = data.convert() as! Trial

I get a crash when sending. Am I doing something wrong, or is there a bug?

fatal error: unexpectedly found nil while unwrapping an Optional value

Hello, When I ran the macOS part it works fine but there're crash on iOS app.

fatal error: unexpectedly found nil while unwrapping an Optional value
2017-05-22 22:22:31.299171-0700 PTSimpleiOS[1794:523791] fatal error: unexpectedly found nil while unwrapping an Optional value
(lldb)
screen shot 2017-05-22 at 10 23 22 pm
screen shot 2017-05-22 at 10 24 45 pm

Not working with App Sandbox Enable

I developed a OSX application that listening the USB devices that connected from OSX and application runs fine before submit to app store. At the time of submission to app store I enabled the "App Sandbox" and enabled USB in App Sandbox. But after enable this application is not able to get the list of USB connected devices.

So now please suggest the solution for this. or suggest any option to get the devices list which is connected from osx using USB.

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.