使用shairport_mmap 播放音频时 有时刚开始播放有点杂音,大家有遇到没 ?

使用shairport_mmap 播放音频时 有时刚开始播放有点杂音,大家有遇到没 ?

@小孩吃糖 请使用最新代码编译,或者拿wiki中的最新固件来测试。以前的代码好像是avahi服务启动顺序有问题,导致airplay的内网发现工作不正常。

请教shairport_mmap怎么编译进固件的,一直出现错误。

@郭大路 !!1514538702529-14a8efcf30b69df217acc04ed2950bc.png 这个怎么弄,我检测不到Airport,请问你弄好了吗

都试了,也不行,非常诡异,可能人品不行,回头找一些其他人的iphone手机再试一下

@郭大路 建议以下思路查下:
1.是否同一个网段内,即同一个局域网
2.把防火墙关闭掉看看

root@Widora:/# shairport -a AirPort -p 5002 -m avahi -o alsa -vv
Starting Shairport V0.1.6-26-gcbdfea8
Bound to address ::
Bound to address 0.0.0.0
avahi: avahi_register
Listening for connections.
看起来一切正常,ipad mini就是找不到airplay设备。

我现在用得好(。・∀・)ノ゙嗨。我使用过好几个版本的shairport都可以,IOS好几个版本也可以。你看看,打开shairport调试,好像是命令行运行加参数 -vv即可,看看有什么异常没

这两天继续倒腾airplay功能,重新下载widora代码进行编译,
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
在sound里选择shairport-sync,去掉shairport_mmap,编译试一下看看。
<*> shairport-sync… iPhone/iTunes compatible audio player
< > shairport_mmap… S
编译下载,修改/etc/config/shairport-sync文件,启动服务,然无卵用。ipad上依然检测不到该设备。

在openwrt设备上执行opkg install shairport-sync和opkg install shairport,仍然没能在ipad上发现airplay设备

再次尝试git clone https://github.com/mikebrady/shairport-sync 用最新的3.0版本的代码,修改makefile后进行编译,烧录,还是找不到airplay的设备,从进程和端口来看,shairport-sync运行正常:
root@Widora:/# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 1505/shairport-sync
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1090/uhttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1356/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1012/dropbear
tcp 0 0 :::5000 :::* LISTEN 1505/shairport-sync
tcp 0 0 :::80 :::* LISTEN 1090/uhttpd
tcp 0 0 :::53 :::* LISTEN 1356/dnsmasq
通信应该试没有问题的,试过widora作为router/repeater和client,并使得手机/平板和widora设备都处在同一个网段中
到底什么原因,导致找不到airplay设备?????是否平板和手机的问题???iOS被我升级到最新版本了。
郁闷啊!暂时放弃倒腾这个了,希望有缘人能告诉我问题在哪里?

我都死活连不上airport,打开disable,重启shairport服务,iphone和ipad mini试了 AP/ROUTER/repeater三种模式和widora的板子保证通信正常,但是就是找不到airplay的设备,iOS 10.2系统,不知道怎么回事。(PS:从网站上下载的0506和0517的16M的固件)