Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Issue #10

Closed
SatyanarayanaEpigon opened this issue Apr 26, 2019 · 39 comments
Closed

Connection Issue #10

SatyanarayanaEpigon opened this issue Apr 26, 2019 · 39 comments

Comments

@SatyanarayanaEpigon
Copy link

SatyanarayanaEpigon commented Apr 26, 2019

Can u explain how to connect u should usage

i am trying to connect it is saying like this

QObject::connect: signal not found in AudioStreamingLibCore
QObject::connect: signal not found in QTimer
QObject::connect: signal not found in QTcpSocket
QObject::connect: signal not found in QTcpSocket
QObject::connect: signal not found in QTcpSocket

@antonypro
Copy link
Owner

Are you writing your own code?
Have you a problem with some of the Demos?

If you're writing code, please show what you're trying to do.
If you found a problem with the library or it's Demos, please tell me.

@SatyanarayanaEpigon
Copy link
Author

SatyanarayanaEpigon commented Apr 26, 2019

what has given in our site i build library and demos with Qt 5.11 an d try to connect client and server from server i am gettings this is u r code only.

Building in windows.

@antonypro
Copy link
Owner

I'm currently working to improve this library, the code in the repository is outdated! Can you please test with my current code in the following zip file? After confirm that the problem is solved, i'll update the repository code!

AudioStreamingSDK.zip

@SatyanarayanaEpigon
Copy link
Author

SatyanarayanaEpigon commented Apr 29, 2019 via email

@SatyanarayanaEpigon
Copy link
Author

SatyanarayanaEpigon commented Apr 29, 2019 via email

@SatyanarayanaEpigon
Copy link
Author

SatyanarayanaEpigon commented Apr 30, 2019 via email

@antonypro
Copy link
Owner

Sorry for late response, but i've added a page on the Wiki explaining the default behaviour of WebServer.

@SatyanarayanaEpigon
Copy link
Author

Hi,

I am created root account in one client and connected to server and requested invitation code i got invitation code and in another client i am trying to create account from that invitation code i am getting error cannot create new user how can i create account from another client

@antonypro
Copy link
Owner

There are rules for account creation, minimum 3 and maximum 20 characters for user name and minimum 6 and maximum 128 characters for password, only lowercase letters and numbers accepted in both.

To change this behaviour you have to edit WebServer application.

@SatyanarayanaEpigon
Copy link
Author

i am giving user name as satya and password is 123456 and trying to connect it is not creating

@SatyanarayanaEpigon
Copy link
Author

IMG_20190502_132118 1
IMG_20190502_132124 1
IMG_20190502_132156 1
IMG_20190502_132218 1

these are screen shots what i am creating i am getting error

@antonypro
Copy link
Owner

Do you see any information on WebServer?

Your device have properly set OpenSsl?

@SatyanarayanaEpigon
Copy link
Author

connected wit encryption
root user logged in
root sending code
user origin root
this are printing

@antonypro
Copy link
Owner

You set the user name, password, the code, click new account and this happens?

@antonypro
Copy link
Owner

Also, the the prompt to accept the hash of the certificate appears to you?

@SatyanarayanaEpigon
Copy link
Author

setting user name password and code click create new account it is operation timed out error

@SatyanarayanaEpigon
Copy link
Author

for root user created and i am trying to create another user i cannot

@antonypro
Copy link
Owner

Please note that once time the account is created, you must type the user name, the password and click on connect to server button, valid for root user too!

@antonypro
Copy link
Owner

Have some firewall between your device and the WebServer that may be blocking the connection?

@SatyanarayanaEpigon
Copy link
Author

i am using in andriod

@SatyanarayanaEpigon
Copy link
Author

i am created account with root it is connecting properly but i am creating another client user i am getting problem

@SatyanarayanaEpigon
Copy link
Author

in another user how i want to create with which ip i have to create

@antonypro
Copy link
Owner

Are you running WebServer on Windows or Android?

@SatyanarayanaEpigon
Copy link
Author

webserver on linux and walkietalkie on andriod

@SatyanarayanaEpigon
Copy link
Author

in andriod root access should be
there

@SatyanarayanaEpigon
Copy link
Author

i want to build walkitalkie in windows which verison of openssl should use how to use with Qtmingw can u send link of openssl what u r using.

@SatyanarayanaEpigon
Copy link
Author

error during ssl handshake error no protocals avaliable in windows i am getting this error while connecting to server in andriod i solved the problem.

@SatyanarayanaEpigon
Copy link
Author

opus andriod is avaliable in new version of code that folder is not avaliable in your site it is avaliable

@antonypro
Copy link
Owner

About the Opus Codec just rename the opus-x.x folder to opus and merge it with jni/opus folder provided.

@antonypro
Copy link
Owner

The source of the OpenSsl i'm using lives here: https://www.openssl.org/source/openssl-1.0.2r.tar.gz

@antonypro
Copy link
Owner

The WebServer is made to run even on command line only environments, like Ubuntu Server, if you want to access root user in your Android device, just run the WebServer and connect to it using WalkieTalkieDemo on the same device, however i never tried do it.

@SatyanarayanaEpigon
Copy link
Author

i am trying to compile opus for andriod 1.3.1 version i am getting this error

Microsoft Windows [Version 10.0.17763.437]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\SYS>cd C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni\opus

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni\opus>C:\android-ndk-r16b\ndk-build
C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/jni/Android.mk:4: opus/Android.mk: No such file or directory
C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/jni/Android.mk:4: opus/Android.mk: No such file or directory
make: *** No rule to make target `opus/Android.mk'. Stop.

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni\opus>cd ..

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni>C:\android-ndk-r16b\ndk-build
[armeabi-v7a] "StaticLibrary ": "libcodec.a"
process_begin: CreateProcess(NULL, C:/android-ndk-r16b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar crsD C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/obj/local/armeabi-v7a/libcodec.a, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/obj/local/armeabi-v7a/libcodec.a] Error 2

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni>

@SatyanarayanaEpigon
Copy link
Author

opus version 1.3.1

@antonypro
Copy link
Owner

Successfully built here with both: android-ndk-r18b-windows-x86_64 and android-ndk-r16b-windows-x86_64. Windows 10.

Can you test in another environment?

@SatyanarayanaEpigon
Copy link
Author

can you how to compile opus for andriod

@antonypro
Copy link
Owner

Done! See here!

@SatyanarayanaEpigon
Copy link
Author

how u has given i am trying to compile i am getting this Error

Microsoft Windows [Version 10.0.17763.475]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\SYS>cd C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni>C:\android-ndk-r16b\ndk-build.cmd -j4
[armeabi-v7a] "StaticLibrary ": "libcodec.a"
process_begin: CreateProcess(NULL, C:/android-ndk-r16b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar crsD C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/obj/local/armeabi-v7a/libcodec.a, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [C:/Users/SYS/Downloads/AudioStreamingSDK_Andriod/opus-android/obj/local/armeabi-v7a/libcodec.a] Error 2
make: *** Waiting for unfinished jobs....

C:\Users\SYS\Downloads\AudioStreamingSDK_Andriod\opus-android\jni>

can u tell where i am doing mistake

@antonypro
Copy link
Owner

I don't believe there is a mistake with your set up.

It possible to be a conflict in your device with other softwares.

As last resort, try compiling in another clean machine, or in a clean virtual machine.

@antonypro
Copy link
Owner

I'm closing this issue due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants