 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Jun 20, 2007 1:14 pm Post subject: PS3 Remote Play |
|
|
For remote play over the Internet, the PSP opens five HTTP connections to the PS3 on port 9293. I've posted dumps of a short session here:
http://ps3.jim.sh/remoteplay/
The five connections are session, ctrl, video, audio, and pad. For example, the first is:
| Code: | GET /sce/premo/session HTTP/1.1
User-Agent: premo/1.0.0 libhttp/1.0.0
Accept: */*;q=0.01
Accept-Encoding:
Accept-Charset: iso-8859-1;q=0.01
Host: 18.95.2.5:9293
PREMO-PSPID: EGVdxcfAdNjw/eJ2d0GFcA==
PREMO-Version: 0.1
PREMO-Mode: PREMO
PREMO-Platform-Info: PSP
PREMO-Pad-Info: PSP-Pad
PREMO-UserName: amltcA==
PREMO-Trans: capable
PREMO-SIGNIN-ID: amltQGp0YW4uY29t
Connection: Keep-Alive
HTTP/1.1 200 OK
SessionID: 0000003898193939
Connection: close
Pragma: no-cache
Content-Length: 0
PREMO-Version: 0.1
PREMO-Video-Codec: M4V
PREMO-Video-Resolution: 480x272
PREMO-Video-Bitrate: 384000-1024000
PREMO-Video-ClockFrequency: 90000
PREMO-Video-Framerate: 30
PREMO-PS3-Nickname: cHMzLmppbQ==
PREMO-Audio-Codec: AT3
PREMO-Audio-SamplingRate: 48000
PREMO-Audio-Channels: 2
PREMO-Audio-Bitrate: 144000
PREMO-Audio-ClockFrequency: 90000
PREMO-Pad-Complete: on
PREMO-Trans-Mode: peer
PREMO-Nonce: M82JAIf9cAIC2JcrZzv9tg==
|
The audio, video, and pad data appears encrypted. If there is more interest in figuring out these protocols (so that we can create our own remote play clients and servers), I think the next step would be to reverse the remote play functions in the PSP firmware to figure out what's up with the authentication, encryption, and data format. Anyone bored enough to give it a look? :) |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Nov 08, 2007 4:38 pm Post subject: |
|
|
For remote play auto-start, the PS3 wakes whenever it sees an ARP request for the IP address that it was using when it turned off. The PSN attempts to connect to it via TCP and that triggers the ARP from your firewall or whatever.
The PS3 still sends a DHCP release before powering off, so it's possible for some other device to grab the address instead. In that case the PS3 would wake on seeing an ARP to that other device, but then it just fetches a new DHCP lease, and it turns back off automatically when the remote play connection doesn't start for a minute or two.
As for turning off the PS3, that seems to be controlled by the PS3 itself, because it just displays a "Turn off the system?" prompt over the normal remote play graphical connection.
Still waiting for some bored PSP hacker to actually reverse the PSN sign-in and the remote play protocol... :P |
|
| Back to top |
|
 |
Warren
Joined: 24 Jan 2004 Posts: 173 Location: San Diego, CA
|
Posted: Wed Nov 14, 2007 10:00 pm Post subject: |
|
|
| I'm very interested in this stuff but don't have time to look into it atm. |
|
| Back to top |
|
 |
Creighton
Joined: 10 Jan 2008 Posts: 1
|
Posted: Thu Jan 10, 2008 8:16 am Post subject: |
|
|
Sorry to bump this, but I'm trying to spark some interest in hacking the remote play as well.
It would be great to create a java or flash app that can handle remote play the same as the psp can, only on a computer or other handhelds. I recently did a dump of the HTTP transactions as well, and have the same findings as jimparis does above.
I'm in no way very technical at all about any of this, but what I can tell is that the ps3 is sending video and audio separately (obviously). The audio's format is AT3, which correct me if I'm wrong, but only the PSP has the capability/drivers to playback.
Has there been any progress on this? _________________ PSN: Creighton |
|
| Back to top |
|
 |
digihoe
Joined: 14 May 2005 Posts: 108
|
Posted: Thu Jan 10, 2008 8:50 am Post subject: |
|
|
There are drivers under Windows to playback AT3, pure AT3 that is.. None of the new ones, AT3+ or AT3+ rev 2...
Best regards! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|