简体   繁体   English

如何使用套接字编程在两个Android手机之间创建实时音频流?

[英]how to create live audio streaming between two android mobiles using socket programming..?

I am trying to develop an android app that will allow audio streaming between two android mobiles kind of audio conferencing by using socket programming. 我正在尝试开发一个Android应用程序,允许通过使用套接字编程在两个Android移动设备类型的音频会议之间的音频流。 what should i use for audio data transfer? 我应该用什么音频数据传输? i am using api 10 我正在使用api 10

if you want to link inside a LAN then there is hope; 如果你想在局域网内部进行链接,那么就有希望; however, if you want to connect through the internet then forget about it, NAT s and CGN s and the likes won't let you (well, unless you'll provide a third-party relay server for your app). 但是,如果你想通过互联网连接然后忘记它, NATCGN和喜欢不会让你(好吧,除非你为你的应用程序提供第三方中继服务器)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM