send live audio and video across a local network

haf

Member
Licensed User
Longtime User
Please see if anyone can help me
I need to make an application in android in which to send live audio and video across a local network (tcpip)
 

abdulla

Member
Licensed User
Longtime User
sending live audio from mic through network

That is good , i am also trying to send live audio from mic through the network using tcp socket, part of push to talk application for android , is there is any available examples for sending live audio from microphone cross network , if there is it will be much appreciated.

Abdulla
 
Upvote 0

abdulla

Member
Licensed User
Longtime User
Thanks Erel for pointing out about AudioRecord library for capturing the audio from microphone and network for sending it through SOCKET . but actually i found out that not using a combination of RandomAccessFile lib and Socket Library to send tcp packet through write and receiving that packet through an event that it fires , i found one of the project that ties Ayncstreams to Socket Library and AudioRecord.

The only problem around is that AudioRecord Function itself from android only Supports pcm 8 and 16 bit which produces audio data too large requires 11400 bit/ sec bandwidth , only for CD Quality Not Network I mean 3g Cellular or even wifi network my interest is in 3g network. all the code i found on the net that uses Audiotrack ( Android java programmers) they use Jspeex Codec library which requires 4.5 bit/sec Unfortunate jSpeek is not available as library in te b4a library .

the other Option is to use android Media recorder function , it offers as an option AMR Codec . b ut its problem you can not save the audio byte in buffer and then use SOCKT to send it through , you can only tie the socket instance directly to it and use socket send . you or we can play with it to send text and audio bytes at the same time.

the strange thing that after more than a year i have familiar with some android commands but i was never able to get familiar with android java itself , the truth is that android java is so complicated to learn that is for me may be its easier for others, i got frustrated , then i shifted to windows mobile for this project . but now i believe i put my effort back to Android thanks to your efforts for making BASIC4ANDROID , it really helps. i think alot of people who give up android programming because of java might head back to it using B4A.

Abdulla
 
Upvote 0

abdulla

Member
Licensed User
Longtime User
Sorry for typing errors , in the phrase "but actually i found out that not using a combination of RandomAccessFile lib " i meant i found that using a combination...."

the project i am taking about is ARTEST.ZIP that came with AudioRecord Library in one of the postings, i am still surfing the forum reading trying to find bit and pieces, of codes and libraries to manage this project.

By the way is there is programmers i mean Paid programmers could get this project done if i provide the specifications. ?
 
Upvote 0

abdulla

Member
Licensed User
Longtime User
This attached file is the java Jspeex audio codec jar file library for java
I got it from this link

http://http://troja.ath.cx/~zond/talkative/


the creating library video shows how to create library from java source, But how to create it out of JAR that i don't know, i believe it involve converting to java source then adding B4A syntax, since i am not java expert it will take while to do it, if any body can do it , it will be appreciated.
 

Attachments

  • jspeex.zip
    102 KB · Views: 343
Upvote 0

BETORRR

New Member
Licensed User
Longtime User
Hi
I need to send audio across phone.
I have one sound file and I need to play it and send the audio by the phone
Some idea?

Thanks again
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…