Giter Site home page Giter Site logo

edonv / obswiftsocket Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 427 KB

A Swift library for communicating with obs-websocket. https://github.com/obsproject/obs-websocket

Home Page: https://swiftpackageindex.com/edonv/OBSwiftSocket/documentation

License: MIT License

Swift 100.00%
ios obs streaming swift websocket

obswiftsocket's Introduction

Hi there!

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

My name is Edon! Iโ€™m a freelance iOS developer, tech consultant, audio/video engineer/editor, Airtable aficionado, and Twitch streamer.

For details on the types of projects I have worked on, currently am working on, and will work on, see here!

obswiftsocket's People

Contributors

edonv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

obswiftsocket's Issues

SWIFT TASK CONTINUATION MISUSE thrown by library

I have a getAllScenes function, which calls the library's sendRequest function.

func getAllScenes() {
    Task {
        let response = try? await session.sendRequest(OBSRequests.GetSceneList())
        print("Scenes = ", response)
    }
}

It works perfectly, except sometimes the function doesn't return anything. It breaks in-between without any crash and when I checked the logs, it shows:

SWIFT TASK CONTINUATION MISUSE: firstValue leaked its continuation!
2023-05-13 16:35:14.339216-0700 StreamDeck[63058:7288398] SWIFT TASK CONTINUATION MISUSE: firstValue leaked its continuation!

I believe it should be caused by the WSPublisher library used by OBSwiftSocket. Can you please look into this and fix soon, as it gets difficult to predict if the function is going to work or break in-between. Thanks in advance!

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.