java - Does AudioStream needs to call "associate" before join even on Transmitter (Sender) side? -


i trying build poc on android device device audio streaming (no server). in approach, sender device should works server. wondering, required call audiostream.associate(remoteip,port) before audiostream.join on sender side well. if yes, should pass remote address ?

in following code, if remove associate call fails bind hostaddress

        audiogroup = new audiogroup();         audiogroup.setmode(audiogroup.mode_normal);         audiostream = new audiostream(localipaddress);         audiostream.setcodec(audiocodec.pcmu);         audiostream.setmode(rtpstream.mode_send_only);         audiostream.associate(remoteip,port);         audiostream.join(audiogroup); 

apart this, if can suggest reliable library suites device multi device great. thanks.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -