philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.52k stars 218 forks source link

Huawei sound cannot play music #407

Closed woann closed 2 years ago

woann commented 2 years ago

In this environment, Huawei sound can be connected normally, but there is no sound. When the volume is adjusted, the sound will give a response prompt tone, but the music cannot be played.

philippe44 commented 2 years ago

RTFM

woann commented 2 years ago

what?

philippe44 commented 2 years ago

Read the README about firewalls

dengguibao commented 2 years ago

In this environment, Huawei sound can be connected normally, but there is no sound. When the volume is adjusted, the sound will give a response prompt tone, but the music cannot be played.

your problem solved ? i have same problem

dengguibao commented 2 years ago

Read the README about firewalls

have the same problem

env: windows, firewall disable logs:

[19:15:30.460] rtsp_thread:335 got RTSP connection 1352 [19:15:30.641] handle_rtsp:383 [024EEBC0]: challenge YKt0ZuAg65iPnKAx4qiL6A== [19:15:30.729] handle_rtsp:376 [024EEBC0]: received ANNOUNCE

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 4

[19:15:30.753] handle_rtsp:376 [024EEBC0]: received SETUP [19:15:30.753] hairtunes_init:402 [02519DC0]: UDP port-0 59284 [19:15:30.753] hairtunes_init:402 [02519DC0]: UDP port-1 59285 [19:15:30.753] hairtunes_init:402 [02519DC0]: UDP port-2 59286 [19:15:30.753] hairtunes_init:420 [02519DC0]: HTTP listening port 61800

RTSP/1.0 200 OK Transport: RTP/AVP/UDP;unicast;mode=record;control_port=59285;timing_port=59286;server_port=59284 Session: DEADBEEF Audio-Jack-Status: connected; type=analog CSeq: 5

[19:15:30.777] handle_rtsp:376 [024EEBC0]: received RECORD [19:15:30.777] hairtunes_record:527 [02519DC0]: record 0 0

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 6

[19:15:30.793] handle_rtsp:376 [024EEBC0]: received SET_PARAMETER [19:15:30.793] handle_rtsp:543 [024EEBC0]: SET PARAMETER volume -20.000000 [19:15:30.793] CtrlSetVolume:244 [7FE30010]: uPNP volume 33 (cookie 00000021) [19:15:30.801] HandleRAOP:363 [7FE30010]: Volume[0..100] 33

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 7

[19:15:30.801] rtp_thread_func:762 [02519DC0]: 1st sync packet received [19:15:30.833] flac_init:218 [02519DC0]: Using FLAC-0 (02583D20) [19:15:30.833] buffer_put_packet:646 [02519DC0]: fill [level:1] [W:9870 R:9870] [19:15:30.833] handle_rtsp:376 [024EEBC0]: received FLUSH [19:15:30.833] hairtunes_flush:493 [02519DC0]: FLUSH ignored as same as RECORD (9870 - 688174007) [19:15:30.848] hairtunes_flush:509 [02519DC0]: flush 9870 688174007

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 8

[19:15:31.346] search_remote_cb:624 [024EEBC0]: found ActiveRemote for D91196FD3E4177AB at 192.168.0.9:50810 [19:15:32.572] AVTSetURI:90 [7FE30010]: uPNP setURI http://192.168.0.8:61800/stream-2.flc (cookie 00000022) [19:15:32.572] AVTPlay:150 [7FE30010]: uPNP play (cookie 00000023) [19:15:32.709] http_thread_func:1084 [02519DC0]: got HTTP connection 1272 (silent frames 0) [19:15:32.716] handle_http:1259 [02519DC0]: received GET HTTP/1.1 Host: 192.168.0.8:61800 Accept: / Connection: Upgrade, HTTP2-Settings Upgrade: h2c HTTP2-Settings: AAMAAABkAAQCAAAAAAIAAAAA

[19:15:32.716] handle_http:1303 [02519DC0]: responding: HTTP/1.0 200 OK Server: HairTunes Content-Type: audio/flac Connection: close

[19:15:32.716] _buffer_get_frame:986 [02519DC0]: drain [level:234 gap:-113] [W:10104 R:9870] [R:12 S:0 F:0] [19:15:32.740] http_thread_func:1103 HTTP close 1272 [19:15:32.754] http_thread_func:1084 [02519DC0]: got HTTP connection 1332 (silent frames 0) [19:15:32.756] handle_http:1259 [02519DC0]: received GET HTTP/1.1 Host: 192.168.0.8:61800 Accept: / Connection: Upgrade, HTTP2-Settings Upgrade: h2c HTTP2-Settings: AAMAAABkAAQCAAAAAAIAAAAA

[19:15:32.758] handle_http:1303 [02519DC0]: responding: HTTP/1.0 200 OK Server: HairTunes Content-Type: audio/flac Connection: close

[19:15:32.938] handle_rtsp:376 [024EEBC0]: received SET_PARAMETER

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 9

[19:15:32.966] handle_rtsp:376 [024EEBC0]: received SET_PARAMETER

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 11

[19:15:32.979] handle_rtsp:376 [024EEBC0]: received SET_PARAMETER [19:15:32.979] handle_rtsp:560 [024EEBC0]: received metadata artist: 丫蛋蛋(马启涵) album: 道 title: 道

RTSP/1.0 200 OK Audio-Jack-Status: connected; type=analog CSeq: 12

[19:15:34.810] buffer_put_packet:646 [02519DC0]: fill [level:3] [W:10369 R:10367] [19:15:34.934] _buffer_get_frame:986 [02519DC0]: drain [level:1 gap:1755] [W:10383 R:10382] [R:15 S:0 F:0] [19:15:36.092] raop_notify:304 [024EEBC0]: sending airplay remote GET /ctrl-int/1/stop HTTP/1.0 Active-Remote: 2817802142 Connection: close

<== received ==> HTTP/1.1 200 OK Date: Fri, 01 Apr 2022 11:15:35 GMT Content-Length: 0

[19:15:36.092] ActionHandler:535 [7FE30010]: uPNP stopped [19:15:38.897] buffer_put_packet:646 [02519DC0]: fill [level:1] [W:10879 R:10879] [19:15:39.025] _buffer_get_frame:986 [02519DC0]: drain [level:1 gap:1762] [W:10895 R:10894] [R:19 S:0 F:0] [19:15:40.983] http_thread_func:1103 HTTP close 1332 [19:15:42.963] buffer_put_packet:646 [02519DC0]: fill [level:251] [W:11388 R:11138] [19:15:47.061] buffer_put_packet:646 [02519DC0]: fill [level:755] [W:11892 R:11138] [19:15:50.946] buffer_put_packet:646 [02519DC0]: fill [level:1254] [W:12391 R:11138] [19:15:55.038] buffer_put_packet:646 [02519DC0]: fill [level:1766] [W:12903 R:11138]

woann commented 2 years ago

@dengguibao no, I give up