Skip to content

Instantly share code, notes, and snippets.

@jottr
Created July 5, 2023 10:29
Show Gist options
  • Save jottr/747154a93102b839adeea269942a72b8 to your computer and use it in GitHub Desktop.
Save jottr/747154a93102b839adeea269942a72b8 to your computer and use it in GitHub Desktop.
./aircast-macos-arm64-static -d all=info -l aircast.log
[12:25:42.538599] main:914 Starting aircast version: v1.1.7 (May 20 2023 @ 06:21:57)
[12:25:42.539377] main:921 no config file, using defaults
[12:25:42.539461] Start:681 Binding to 192.168.99.221
[12:25:42.539680] bind_socket:636 socket binding 3 on port 58530
[12:25:42.539743] Start:706 Starting pico HTTP server on port 58530
[12:25:44.832027] AddCastDevice:646 [0x118008000]: adding renderer (Living Room speaker) with mac XXXXXXXXXXXX
[12:25:44.836313] bind_socket:636 socket binding 8 on port 58533
[12:25:44.836418] AddCastDevice:646 [0x1180089b0]: adding renderer (SHIELD) with mac YYYYYYYYYYYY
[12:25:44.836493] bind_socket:636 socket binding 9 on port 58534
[12:25:59.517733] rtsp_thread:338 got RTSP connection 10
[12:26:23.739012] DeleteCastDevice:379 [0x118008000]: Cast device stopped
[12:26:23.750297] DeleteCastDevice:379 [0x1180089b0]: Cast device stopped
/t/AirConnect/bin master* 42s ❯ ./aircast-macos-arm64-static -d all=info -l aircast.log
[12:26:34.598781] main:914 Starting aircast version: v1.1.7 (May 20 2023 @ 06:21:57)
[12:26:34.599066] main:921 no config file, using defaults
[12:26:34.599099] Start:681 Binding to 192.168.99.221
[12:26:34.599181] bind_socket:636 socket binding 3 on port 58561
[12:26:34.599196] Start:706 Starting pico HTTP server on port 58561
[12:26:35.034273] AddCastDevice:646 [0x148028000]: adding renderer (SHIELD) with mac CCCC7BD4F04B
[12:26:35.037745] bind_socket:636 socket binding 8 on port 58562
[12:26:35.037971] AddCastDevice:646 [0x1480289b0]: adding renderer (Living Room speaker) with mac CCCC969AEA09
[12:26:35.038398] bind_socket:636 socket binding 9 on port 58563
[12:26:41.470112] rtsp_thread:338 got RTSP connection 10
[12:26:41.829265] handle_rtsp:385 [0x136804080]: challenge 7uIocrgS1HoIvvW3ww22Ww==
[12:26:41.833799] handle_rtsp:379 [0x136804080]: received ANNOUNCE
[12:26:41.838081] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 4
[12:26:41.839008] handle_rtsp:379 [0x136804080]: received SETUP
[12:26:41.839104] bind_socket:636 socket binding 12 on port 60492
[12:26:41.839110] raopst_init:378 [0x148008000]: UDP port-0 60492
[12:26:41.839131] bind_socket:636 socket binding 13 on port 57561
[12:26:41.839134] raopst_init:378 [0x148008000]: UDP port-1 57561
[12:26:41.839154] bind_socket:636 socket binding 14 on port 56099
[12:26:41.839157] raopst_init:378 [0x148008000]: UDP port-2 56099
[12:26:41.839184] bind_socket:636 socket binding 15 on port 58571
[12:26:41.839193] raopst_init:396 [0x148008000]: HTTP listening port 58571
[12:26:41.839241] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;unicast;mode=record;control_port=57561;timing_port=56099;server_port=60492
Session: DEADBEEF
Audio-Jack-Status: connected; type=analog
CSeq: 5
[12:26:41.839886] handle_rtsp:379 [0x136804080]: received RECORD
[12:26:41.839894] raopst_record:502 [0x148008000]: record 0 0
[12:26:41.839898] raop_cb:182 [0x1480289b0]: Stream
[12:26:41.839911] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 6
[12:26:41.840881] handle_rtsp:379 [0x136804080]: received SET_PARAMETER
[12:26:41.840904] handle_rtsp:546 [0x136804080]: SET PARAMETER volume -20.000000
[12:26:41.840910] CastSetDeviceVolume:375 [0x1480289b0]: Queuing SET_VOLUME
[12:26:41.840913] raop_cb:232 [0x1480289b0]: Volume[0..1] 0.3333
[12:26:41.840941] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 7
[12:26:41.841400] rtp_thread_func:738 [0x148008000]: 1st sync packet received
[12:26:41.857116] flac_init:195 [0x148008000]: Using FLAC-0 (0x6000011a80a0)
[12:26:41.857168] buffer_put_packet:620 [0x148008000]: fill [level:1] [W:61799 R:61799]
[12:26:41.857193] raop_cb:205 [0x1480289b0]: Play
[12:26:41.857353] handle_rtsp:379 [0x136804080]: received FLUSH
[12:26:41.857362] raopst_flush:470 [0x148008000]: FLUSH ignored as same as RECORD (61799 - 4094617207)
[12:26:41.857364] raopst_flush:486 [0x148008000]: flush 61799 4094617207
[12:26:41.857384] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 8
[12:26:41.900657] CastConnect:239 [0x1480289b0]: SSL connection opened [0x13600aa00]
[12:26:41.900850] CastLoad:177 [0x1480289b0]: Queuing LOAD
[12:26:41.900858] CastPlay:264 [0x1480289b0]: Queuing PLAY
[12:26:41.900863] CastSetDeviceVolume:375 [0x1480289b0]: Queuing SET_VOLUME
[12:26:41.979466] search_remote_cb:637 [0x136804080]: found ActiveRemote for 727F14D37EA6673D at 192.168.99.221:58567
[12:26:42.029512] CastSocketThread:631 [0x1480289b0]: Launching receiver 1
[12:26:42.845394] handle_rtsp:379 [0x136804080]: received SET_PARAMETER
[12:26:42.845464] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 9
[12:26:42.846562] handle_rtsp:379 [0x136804080]: received SET_PARAMETER
[12:26:42.846609] CastPlay:264 [0x1480289b0]: Queuing PLAY
[12:26:42.846615] handle_rtsp:565 [0x136804080]: received metadata
artist:
album:
title:
[12:26:42.846669] handle_rtsp:592 [0x136804080]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 10
[12:26:43.710821] CastSocketThread:659 [0x1480289b0]: Receiver launched
[12:26:43.710996] ProcessQueue:448 [0x1480289b0]: Processing VOLUME (id:3)
[12:26:43.735305] ProcessQueue:485 [0x1480289b0]: Processing LOAD (id:4)
[12:26:44.150100] http_thread_func:1060 [0x148008000]: got HTTP connection 17 (silent frames 0)
[12:26:44.152499] handle_http:1236 [0x148008000]: received GET HTTP/1.1
Host: 192.168.99.221:58571
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.225 Safari/537.36 CrKey/1.56.500000
Range: bytes=0-
Accept-Encoding: identity;q=1, *;q=0
Accept: */*
CAST-DEVICE-CAPABILITIES: {"bluetooth_supported":true,"display_supported":false,"hi_res_audio_supported":true,"remote_control_input_supported":false,"touch_input_supported":false}
Accept-Language: en-US,en;q=0.9
[12:26:44.152556] handle_http:1281 [0x148008000]: responding: HTTP/1.0 200 OK
Server: HairTunes
Content-Type: audio/flac
Connection: close
[12:26:44.152562] _buffer_get_frame:961 [0x148008000]: drain [level:285 gap:-553] [W:62084 R:61799] [R:0 S:0 F:0]
[12:26:44.329638] CastSocketThread:673 [0x1480289b0]: Media session id 1
[12:26:44.386525] ProcessQueue:455 [0x1480289b0]: Processing PLAY (id:6)
[12:26:44.506879] ProcessQueue:448 [0x1480289b0]: Processing VOLUME (id:8)
[12:26:44.506978] MRThread:292 [0x1480289b0]: Cast playing
[12:26:45.521357] ProcessQueue:455 [0x1480289b0]: Processing PLAY (id:9)
aircast-macos-arm64-static(45023,0x16fa43000) malloc: Heap corruption detected, free list is damaged at 0x6000030ac320
*** Incorrect guard value: 0
aircast-macos-arm64-static(45023,0x16fa43000) malloc: *** set a breakpoint in malloc_error_break to debug
[1] 45023 abort ./aircast-macos-arm64-static -d all=info -l aircast.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment