GithubHelp home page GithubHelp logo

Comments (8)

makamekm avatar makamekm commented on June 18, 2024 2

This app still does not work 😄

from airplayer.

ncortines avatar ncortines commented on June 18, 2024

hmm.. I should have mentioned I'm trying to stream to kodi..


==> /storage/.kodi/temp/kodi.log <==
12:44:11 240348.109375 T:1809122368  NOTICE: Thread GUIDialogCache start, auto delete: true
12:44:11 240348.125000 T:1967890432   ERROR: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)
12:44:11 240348.203125 T:1967890432  NOTICE: DVDPlayer: Opening: http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)
12:44:11 240348.203125 T:1967890432 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:44:11 240348.203125 T:1809122368  NOTICE: Thread DVDPlayer start, auto delete: false
12:44:11 240348.203125 T:1809122368  NOTICE: Creating InputStream
12:44:11 240348.203125 T:1809122368   ERROR: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)
12:44:11 240348.218750 T:1809122368   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
12:44:11 240348.218750 T:1809122368   ERROR: CCurlFile::Open failed with code 0 for http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)
12:44:11 240348.218750 T:1809122368   ERROR: Open - failed to open source <http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)>
12:44:11 240348.218750 T:1809122368   ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.105.251:56690/stream.m4v|User-Agent=AppleCoreMedia%2f1.0.0.8F455%20(AppleTV%3b%20U%3b%20CPU%20OS%204_3%20like%20Mac%20OS%20X%3b%20de_de)]
12:44:11 240348.218750 T:1809122368  NOTICE: CDVDPlayer::OnExit()
12:44:11 240348.218750 T:1967890432  NOTICE: CDVDPlayer::CloseFile()
12:44:11 240348.218750 T:1967890432  NOTICE: DVDPlayer: waiting for threads to exit
12:44:11 240348.218750 T:1967890432  NOTICE: DVDPlayer: finished waiting
12:44:11 240348.218750 T:1967890432  NOTICE: CDVDPlayer::CloseFile()
12:44:11 240348.218750 T:1967890432  NOTICE: DVDPlayer: waiting for threads to exit
12:44:11 240348.218750 T:1967890432  NOTICE: DVDPlayer: finished waiting

from airplayer.

ncortines avatar ncortines commented on June 18, 2024

attaching a tcp dump

POST /reverse HTTP/1.1
User-Agent: iTunes/11.0.2
Host: OpenELEC.local:36667
Upgrade: PTTH/1.0
Connection: Upgrade
Content-Length: 0

HTTP/1.1 101 Switching Protocols
Date: Sat Nov 12 12:47:57 2016
Upgrade: PTTH/1.0
Connection: Upgrade
Content-Length: 0

POST /event HTTP/1.1
Content-Type: text/x-apple-plist+xml
Content-Length: 330
x-apple-session-id: 00000000-0000-0000-0000-000000000000

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">
<dict>
<key>category</key>
<string>video</string>
<key>sessionID</key>
<integer>30</integer>
<key>state</key>
<string>loading</string>
</dict>
</plist>
POST /event HTTP/1.1
Content-Type: text/x-apple-plist+xml
Content-Length: 330
x-apple-session-id: 00000000-0000-0000-0000-000000000000

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">
<dict>
<key>category</key>
<string>video</string>
<key>sessionID</key>
<integer>30</integer>
<key>state</key>
<string>stopped</string>
</dict>
</plist>

airplay.pcapng.zip

from airplayer.

swttt avatar swttt commented on June 18, 2024

Had the same issue, disabled the reverse http part.

Comment line 91 out in the index.js of airplayer-protocol (this._startReverse()). This will make it stop working on tvos for example tho.

from airplayer.

feross avatar feross commented on June 18, 2024

Looks like there's a missing 'error' handler on the reverse-server instance.

from airplayer.

feross avatar feross commented on June 18, 2024

I think that this is the instance that needs an 'error' handler added to it. https://github.com/watson/airplay-protocol/blob/a715752fc206ebbb8b2047573cdd81dded4970f5/index.js#L186

I haven't looked into it too deeply though, so I don't know exactly where it's appropriate to attach the handler. I bet @watson knows.

from airplayer.

rajeshkw avatar rajeshkw commented on June 18, 2024

Do we have any update here?

from airplayer.

mrenty avatar mrenty commented on June 18, 2024

@watson any progress on this? I'm working on an Electron app which uses Airplay, so if you need any help let me know 😉

from airplayer.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.