Giter Club home page Giter Club logo

univoice-sample's Introduction

UniVoice Sample

This repo contains a simple group voice chat application using UniVoice. To learn more about UniVoice

UniVoice requires three key components:

  • An audio input implementation
  • An audio output implementation
  • A network implementation

This project uses the "official" implementations:

Demo APK: Demo APKs under github releases.

Screen 1 Screen 1

univoice-sample's People

Contributors

adrenak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

univoice-sample's Issues

SELF HOST

Hi,
Could you give me more information regarding this line of code ?
new UniVoiceAirPeerNetwork("ws://167.71.17.13:11000").
I was wondering how I could host the signalingServer on my own server instead of using this.
Thanks

sample univoice : not able to join a chat

should i create a server in Airsignal or some other make this work ?
below mentioned how we proceed : download and run "GroupVoicecallsample" scene on 2 machines (on same network)
u ser able to create room because it shows your peer ID is 0 and while trying to join with same name it fails . with an exception.
"System.Exception: Could not join chatroom"

join method "System.Exception: ConnectionFailed"

image
hello, i'm created airsignal server on my own vps and using this repository for testing and learning about univoice unity package.
host method success carefully but join method showing connection failed exception
this is the log of airsignal server:

(2024-01-21T20:49:23.470Z)[91.192.81.21:49976]INC: [NetEventType: (NewConnection), id: (1), Data: (123)]
(2024-01-21T20:49:23.470Z)[109.125.182.92:16522]OUT: [NetEventType: (NewConnection), id: (16384)]
(2024-01-21T20:49:23.471Z)[91.192.81.21:49976]OUT: [NetEventType: (NewConnection), id: (1)]
(2024-01-21T20:49:23.922Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: (1374634504)]
(2024-01-21T20:49:23.923Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: (1374634504)]
(2024-01-21T20:49:24.269Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 7952620394246846192 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:mseQ\r\na=ice-pwd:NypqjCfUMhtgR8hJhtqQmN4E\r\na=fingerprint:sha-256 22:85:71:F0:75:E0:DD:0C:7A:97:1B:CA:02:0D:75:A6:5E:1C:1C:78:23:48:3A:15:20:1C:BA:62:0A:76:6F:43\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"}
)]
(2024-01-21T20:49:24.269Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 7952620394246846192 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:mseQ\r\na=ice-pwd:NypqjCfUMhtgR8hJhtqQmN4E\r\na=fingerprint:sha-256 22:85:71:F0:75:E0:DD:0C:7A:97:1B:CA:02:0D:75:A6:5E:1C:1C:78:23:48:3A:15:20:1C:BA:62:0A:76:6F:43\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"}
)]
(2024-01-21T20:49:24.270Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:4062063367 1 udp 2122260223 172.19.0.1 37439 typ host generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.270Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:4062063367 1 udp 2122260223 172.19.0.1 37439 typ host generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.271Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:186199869 1 udp 2122194687 192.168.1.101 39112 typ host generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.271Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:186199869 1 udp 2122194687 192.168.1.101 39112 typ host generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.523Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3164461047 1 tcp 1518280447 172.19.0.1 42055 typ host tcptype passive generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.523Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3164461047 1 tcp 1518280447 172.19.0.1 42055 typ host tcptype passive generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.524Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:1167774669 1 tcp 1518214911 192.168.1.101 44857 typ host tcptype passive generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.524Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:1167774669 1 tcp 1518214911 192.168.1.101 44857 typ host tcptype passive generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:24.648Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 7747518371174733181 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:3kCX\r\na=ice-pwd:eZlLUP1+BgmW+TGzxDmAIcVp\r\na=fingerprint:sha-256 12:4E:B9:59:10:F3:09:14:5D:58:1D:F5:9E:B8:E6:B3:C2:55:52:63:B7:60:31:51:F1:34:01:2A:AB:B5:C8:3B\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"}
)]
(2024-01-21T20:49:24.649Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 7747518371174733181 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:3kCX\r\na=ice-pwd:eZlLUP1+BgmW+TGzxDmAIcVp\r\na=fingerprint:sha-256 12:4E:B9:59:10:F3:09:14:5D:58:1D:F5:9E:B8:E6:B3:C2:55:52:63:B7:60:31:51:F1:34:01:2A:AB:B5:C8:3B\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"}
)]
(2024-01-21T20:49:25.517Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3013953624 1 udp 2122260223 192.168.1.100 38884 typ host generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:25.518Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3013953624 1 udp 2122260223 192.168.1.100 38884 typ host generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:25.518Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:4247172264 1 tcp 1518280447 192.168.1.100 44697 typ host tcptype passive generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}
)]
(2024-01-21T20:49:25.518Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:4247172264 1 tcp 1518280447 192.168.1.100 44697 typ host tcptype passive generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}

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.