Coder Social home page Coder Social logo

mirsamantajbakhsh / liveradio Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.04 MB

Broadcast from your Android device. Live Radio is a audio streaming library based on CoolMicApp (default IceCast Android Client), for making the life easy.

Home Page: https://mstajbakhsh.ir/broadcast-yourself-through-android/

License: MIT License

Java 0.48% Makefile 3.41% C 51.99% Objective-C 43.25% C++ 0.87%
android android-library audio-streaming live live-audio livestream

liveradio's People

Contributors

mirsamantajbakhsh avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

geminird

liveradio's Issues

Implementation

Hi,

I was trying to add the library to my app, but Android Studio gives me the following error: Failed to resolve: ir.mstajbakhsh.android:LiveAudio:1.0.0

This is what my gradle looks like:

dependencies {
    implementation 'ir.mstajbakhsh.android:LiveAudio:1.0.0'
}

pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
        jcenter()
    }
}

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
}

I'm not sure what is wrong here

Issues in compiling on Android Studio 3.6

I tried compiling it on android studio 3.6, win10 64 bit and found following issues. Also fixed them and logging here to support the community.

  1. liblame\machine.h:43:9: error: redeclaration of 'strchr' must have the 'overloadable' attribute
    Fix:
# ifndef HAVE_STRCHR
# // define strchr index // <---- uncomment this.
#  define strchr index
#  define strrchr rindex
# endif
  1. id3tag.c:833: error: undefined reference to 'index'
    Fix:
    In jni/Application.mk, add this:
    APP_CFLAGS += -DSTDC_HEADERS

  2. sock.c:686:5: error: 'memcpy' will always overflow - destination buffer has size 12, but size argument is 16
    Fix:
    On this line add -4 at end of sizeof. I know it's not a fix but it went through after this. If someone know the solution of #3, please mention in comments.
    memcpy(&server.sin_addr, &sin.sin_addr, sizeof(struct sockaddr_in)-4);

when two apps need record audio at the same time,how to solve the problem.

hello, thank you, the libs worked very good!
i have another problem, like title desc. my app first running, audio streaming, then another app need use mic (like WhatsApp, WeChart etc.), the system notify app cant record audio.
i need my app and another app can be use mic at the same time, how to solve problem.

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.