serezhka / java-airplay Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
In java-airplay-server-examples was an example with jmuxer. Would be nice if it could be added again
it is not necessarily。
Is it because the iPhone uses other protocols to replace the screen projection when playing music?
If you decide to simply not support such an old operating system it would be fully understandable.
I tried the pre compileed jar file as well as compiling from source.
When I try to mirror the screen the App crashes.
https://gist.github.com/tcptps/2d615e4937d217fc2e3680255aca8494
If you need more info let me know.
rtsp.getEncryptedAESKey() is null
Hello, may I ask how to send this to the RTMP fluid server after receiving the stream?
Hi i am using windows 10 and
I tried to use your code
I have downloaded gstreamer for windows from:
https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c
C:\gstreamer
And run your code
Your codes runs fine , on iphone it connects to the server you have written.
But it doesnt display anything on my windows.
Just i see logs.
My Path:
C:\Users\Administrator\java-airplay>echo %PATH%
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp;D:\Tools\cudnn-windows-x86_64-8.9.0.131_cuda11-archive\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files\Git\cmd;C:\Program Files\IDM Computer Solutions\UltraFTP;D:\Tools\apache-maven-3.9.0\bin;C:\ProgramData\chocolatey\bin;D:\Tools\bin;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\dotnet;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\gnupg\bin;D:\Tools\cmake-3.26.3-windows-x86_64\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\eSpeak\command_line;C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.3.0;;C:\Program Files\IDM Computer Solutions\UltraCompare;C:\Program Files\Docker\Docker\resources\bin;C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts;C:\Users\Administrator\AppData\Local\Programs\Python\Python311;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator.dotnet\tools;C:\gstreamer\1.0\msvc_x86_64\bin;C:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0
My Java version 19 ( For SIMD )
Here is my logs:
C:\Users\Administrator\java-airplay>gradlew bootRun
Task :player:app:bootRun
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v3.0.0)
2023-05-04T17:59:22.403+03:00 INFO 20000 --- [ main] c.github.serezhka.airplay.app.PlayerApp : Starting PlayerApp using Java 19.0.1 with PID 20000 (C:\Users\Administrator\java-airplay\player\app\build\classes\java\main started by Administrator in C:\Users\Administrator\java-airplay\player\app)
2023-05-04T17:59:22.404+03:00 DEBUG 20000 --- [ main] c.github.serezhka.airplay.app.PlayerApp : Running with Spring Boot v3.0.0, Spring v6.0.2
2023-05-04T17:59:22.404+03:00 INFO 20000 --- [ main] c.github.serezhka.airplay.app.PlayerApp : No active profile set, falling back to 1 default profile: "default"
0:00:00.010099000 20000 000001AA3DBD2EA0 WARN GST_PLUGIN_LOADING gstplugin.c:875:_priv_gst_plugin_load_file_for_registry: module_open failed: The specified module could not be found.
This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.
You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.
There are also some third-party GUIs to list and debug DLL dependencies recursively.
(BasicPipeline:20000): GStreamer-WARNING **: 17:59:22.767: Failed to load plugin 'C:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0\gstassrender.dll': The specified module could not be found.
This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.
You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.
There are also some third-party GUIs to list and debug DLL dependencies recursively.
0:00:00.043396000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:570:gst_parse_element_make: no element "avdec_h264"
0:00:00.043909000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no sink [source=@000001AA3DC1E070]
0:00:00.044725000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no source [sink=@000001AA3DBF6030]
2023-05-04T17:59:22.820+03:00 WARN 20000 --- [ main] org.freedesktop.gstreamer.Gst : no element "avdec_h264"
0:00:00.080233000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:570:gst_parse_element_make: no element "avdec_alac"
0:00:00.080358000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no sink [source=@000001AA3DC77F40]
0:00:00.080812000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no source [sink=@000001AA3D298450]
2023-05-04T17:59:22.838+03:00 WARN 20000 --- [ main] org.freedesktop.gstreamer.Gst : no element "avdec_alac"
0:00:00.085326000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:570:gst_parse_element_make: no element "avdec_aac"
0:00:00.085438000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no sink [source=@000001AA3DC78A60]
0:00:00.085543000 20000 000001AA3DBD2EA0 ERROR GST_PIPELINE gst/parse/grammar.y:1262:priv_gst_parse_yyparse: link has no source [sink=@000001AA3D295BA0]
2023-05-04T17:59:22.843+03:00 WARN 20000 --- [ main] org.freedesktop.gstreamer.Gst : no element "avdec_aac"
2023-05-04T17:59:23.015+03:00 INFO 20000 --- [ Thread-2] c.g.s.a.server.internal.ControlServer : AirPlay control server listening on port: 57554
2023-05-04T17:59:27.787+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : srzhka._airplay._tcp.local service is registered on address 192.168.1.13, port 57554
2023-05-04T17:59:27.787+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : D8BBC17478B8@srzhka._raop._tcp.local service is registered on address 192.168.1.13, port 57554
2023-05-04T17:59:32.484+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : srzhka._airplay._tcp.local service is registered on address 172.24.112.1, port 57554
2023-05-04T17:59:32.484+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : 00155D70B013@srzhka._raop._tcp.local service is registered on address 172.24.112.1, port 57554
2023-05-04T17:59:32.528+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : srzhka._airplay._tcp.local service is registered on address 172.21.144.1, port 57554
2023-05-04T17:59:32.528+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : 00155DB8C89C@srzhka._raop._tcp.local service is registered on address 172.21.144.1, port 57554
2023-05-04T17:59:37.137+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : srzhka._airplay._tcp.local service is registered on address 172.25.112.1, port 57554
2023-05-04T17:59:37.138+03:00 INFO 20000 --- [ main] c.g.serezhka.airplay.lib.AirPlayBonjour : 00155DBEB4FF@srzhka._raop._tcp.local service is registered on address 172.25.112.1, port 57554
2023-05-04T17:59:37.291+03:00 INFO 20000 --- [ main] dorkbox.systemTray.SystemTray : Successfully loaded
2023-05-04T17:59:37.331+03:00 INFO 20000 --- [ main] c.github.serezhka.airplay.app.PlayerApp : Started PlayerApp in 15.173 seconds (process running for 15.378)
2023-05-04T17:59:39.269+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] REGISTERED
2023-05-04T17:59:39.269+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] ACTIVE
2023-05-04T17:59:39.281+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 70, cap: 70, components=1))
GET /info RTSP/1.0
X-Apple-ProtocolVersion: 1
Content-Length: 70
Content-Type: application/x-apple-binary-plist
CSeq: 0
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 70B
2023-05-04T17:59:39.286+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 685, cap: 1024))
RTSP/1.0 200 OK
cseq: 0
server: AirTunes/220.68
content-length: 685, 685B
2023-05-04T17:59:39.288+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.289+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.329+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 32, cap: 32, components=1))
POST /pair-setup RTSP/1.0
Content-Length: 32
Content-Type: application/octet-stream
CSeq: 1
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 32B
2023-05-04T17:59:39.346+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 32, cap: 64))
RTSP/1.0 200 OK
cseq: 1
server: AirTunes/220.68
content-length: 32, 32B
2023-05-04T17:59:39.346+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.347+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.399+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 68, cap: 68, components=1))
POST /pair-verify RTSP/1.0
X-Apple-PD: 1
X-Apple-AbsoluteTime: 704905179
Content-Length: 68
Content-Type: application/octet-stream
CSeq: 2
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 68B
2023-05-04T17:59:39.411+03:00 INFO 20000 --- [ntLoopGroup-3-1] c.g.s.airplay.lib.internal.Pairing : Shared secret: 823945bb98452bb0fd7393493bb7e7c7406232b18dd8964d1f15d9dca402605a
2023-05-04T17:59:39.421+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 96, cap: 128))
RTSP/1.0 200 OK
cseq: 2
server: AirTunes/220.68
content-length: 96, 96B
2023-05-04T17:59:39.421+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.421+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.438+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 68, cap: 68, components=1))
POST /pair-verify RTSP/1.0
X-Apple-PD: 1
X-Apple-AbsoluteTime: 704905179
Content-Length: 68
Content-Type: application/octet-stream
CSeq: 3
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 68B
2023-05-04T17:59:39.440+03:00 INFO 20000 --- [ntLoopGroup-3-1] c.g.s.airplay.lib.internal.Pairing : Pair verified: true
2023-05-04T17:59:39.440+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE, DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))
RTSP/1.0 200 OK
cseq: 3
server: AirTunes/220.68
content-length: 0, 0B
2023-05-04T17:59:39.441+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.441+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.449+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 16, cap: 16, components=1))
POST /fp-setup RTSP/1.0
X-Apple-ET: 32
Content-Length: 16
Content-Type: application/octet-stream
CSeq: 4
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 16B
2023-05-04T17:59:39.450+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 142, cap: 256))
RTSP/1.0 200 OK
cseq: 4
server: AirTunes/220.68
content-length: 142, 142B
2023-05-04T17:59:39.450+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.450+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.485+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 164, cap: 164, components=1))
POST /fp-setup RTSP/1.0
X-Apple-ET: 32
Content-Length: 164
Content-Type: application/octet-stream
CSeq: 5
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 164B
2023-05-04T17:59:39.485+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 32, cap: 64))
RTSP/1.0 200 OK
cseq: 5
server: AirTunes/220.68
content-length: 32, 32B
2023-05-04T17:59:39.485+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.485+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.495+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 623, cap: 623, components=2))
SETUP rtsp://192.168.1.13/17339896640998492791 RTSP/1.0
Content-Length: 623
Content-Type: application/x-apple-binary-plist
CSeq: 6
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 623B
2023-05-04T17:59:39.497+03:00 INFO 20000 --- [ntLoopGroup-3-1] c.g.serezhka.airplay.lib.internal.RTSP : Encrypted AES key: 46504c59010201000000003c0000000043983d19d9e344c8171f95f7460c8ae5000000106c00a2bbe4d16fd842f3fefdb2fbbde51d324c0c7f426077155cb4bf5145371fdaa4633a, iv: b895c1a8498c4643d66fe4a9cda6cbf1
2023-05-04T17:59:39.497+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE, DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))
RTSP/1.0 200 OK
cseq: 6
server: AirTunes/220.68
content-length: 0, 0B
2023-05-04T17:59:39.497+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.497+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.503+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /info RTSP/1.0
X-Apple-ProtocolVersion: 1
CSeq: 7
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1
content-length: 0, 0B
2023-05-04T17:59:39.504+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 685, cap: 1024))
RTSP/1.0 200 OK
cseq: 7
server: AirTunes/220.68
content-length: 685, 685B
2023-05-04T17:59:39.504+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.504+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.539+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 8, cap: 8, components=1))
GET_PARAMETER rtsp://192.168.1.13/17339896640998492791 RTSP/1.0
Content-Length: 8
Content-Type: text/parameters
CSeq: 8
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 8B
2023-05-04T17:59:39.540+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE: DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 18, cap: 64))
RTSP/1.0 200 OK
cseq: 8
server: AirTunes/220.68
content-length: 18, 18B
2023-05-04T17:59:39.540+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.540+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.546+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
RECORD rtsp://192.168.1.13/17339896640998492791 RTSP/1.0
CSeq: 9
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1
content-length: 0, 0B
2023-05-04T17:59:39.547+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE, DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))
RTSP/1.0 200 OK
cseq: 9
server: AirTunes/220.68
Audio-Latency: 11025
Audio-Jack-Status: connected; type=analog
content-length: 0, 0B
2023-05-04T17:59:39.547+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.547+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.595+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 20, cap: 20, components=1))
SET_PARAMETER rtsp://192.168.1.13/17339896640998492791 RTSP/1.0
Content-Length: 20
Content-Type: text/parameters
CSeq: 10
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 20B
2023-05-04T17:59:39.595+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] WRITE, DefaultFullHttpResponse(decodeResult: success, version: RTSP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))
RTSP/1.0 200 OK
cseq: 10
server: AirTunes/220.68
Audio-Jack-Status: connected; type=analog
content-length: 0, 0B
2023-05-04T17:59:39.596+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] FLUSH
2023-05-04T17:59:39.596+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ COMPLETE
2023-05-04T17:59:39.610+03:00 INFO 20000 --- [ntLoopGroup-3-1] i.netty.handler.logging.LoggingHandler : [id: 0x9016578b, L:/192.168.1.13:57554 - R:/192.168.1.11:50039] READ: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: RTSP/1.0, content: CompositeByteBuf(ridx: 0, widx: 204, cap: 204, components=1))
SETUP rtsp://192.168.1.13/17339896640998492791 RTSP/1.0
Content-Length: 204
Content-Type: application/x-apple-binary-plist
CSeq: 11
DACP-ID: BC2B944F2E68C1CA
Active-Remote: 4279546557
User-Agent: AirPlay/680.23.1, 204B
2023-05-04T17:59:39.610+03:00 DEBUG 20000 --- [ntLoopGroup-3-1] c.g.serezhka.airplay.lib.internal.RTSP : RTSP SETUP streams:
Hi,
Does it have the capability of casting it to a browser, or any plans to cast to a browser.
Thanks.
Can this project implement iOS screen projection to android
to (e.g)
@Override
public void onVideo(byte[] bytes) {
try {
videoFileChannel.write(ByteBuffer.wrap(bytes));
} catch (IOException e) {
e.printStackTrace();
}
}
@Override
public void onVideoSrcDisconnect() {
}
@Override
public void onAudio(byte[] bytes) {
try {
audioFileChannel.write(ByteBuffer.wrap(bytes));
} catch (IOException e) {
e.printStackTrace();
}
}
I think it would be great to have the ability to export video and audio streams together.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.