Register    Login    Forum    Search    FAQ

Board index » Bug Report




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
 Post Posted: Sun Jun 23, 2013 5:28 am 
 

Joined: Sun Jun 23, 2013 5:09 am
Posts: 2
Hello, fist of all: great open source project, great potential.

I am trying to test the upload requirements for a real time desktop interaction with a windowed game running. But first, just remote desktop. The router is setup to forward ports 5884 TCP and 5885 UDP, and windows firewall is disabled.
The client connects, successfully establishes protocol dialog but them goes into 'no frames received' on the playing session phase. I have no clue of what can be.
Server configuration is the:
server.desktop.conf
Client configuration is the:
client.rel.conf

Server intializes with:
ga-server-periodic config\server.desktop.conf
log is quite long but i can post it if required.

Client initializes with:
C:\Riot Games\gaminganywhere-0.7.2\bin>ga-client config\client.rel.conf rtsp://111.111.111.111:8554/desktop
(replaced ip here for obvious reasons)
client log is:
C:\Riot Games\gaminganywhere-0.7.2\bin>ga-client config\client.rel.conf rtsp://111.111.111.111:8554/desktop
# [2352] 1371932613.085543 # include: config\common\controller.conf
# [2352] 1371932613.086543 # include: config\common\video-x264.conf
# [2352] 1371932613.086543 # include: config\common\audio-lame.conf
*** Relative mouse mode enabled.
# [2352] 1371932613.087543 # RTSP[config]: using 'udp' for RTP flows.
# [2352] 1371932613.087543 # RTSP[config]: controller port = 8555
# [2352] 1371932613.087543 # RTSP[config]: controller via 'udp' protocol.
# [2352] 1371932613.087543 # RTSP[config]: video-encoder = libx264 (libx264 H.26
4 / AVC / MPEG-4 AVC / MPEG-4 part 10)
# [2352] 1371932613.087543 # RTSP[config]: video-decoder = h264 (H.264 / AVC / M
PEG-4 AVC / MPEG-4 part 10)
# [2352] 1371932613.088543 # RTSP[config]: audio-encoder = libmp3lame (libmp3lam
e MP3 (MPEG audio layer 3))
# [2352] 1371932613.088543 # RTSP[config]: audio-decoder = mp3 (MP3 (MPEG audio
layer 3))
Remote server @ 111.111.111.111:8554
# [2352] 1371932613.107544 controller queue: initialized size=32736 (744 units)
watchdog: launched, waiting for audio/video frames ...
# [2352] 1371932613.109544 controller socket: socket address [111.111.111.111:8555]
# [2352] 1371932613.109544 controller client-thread started: tid=4060.
Opening connection to 111.111.111.111, port 8554...
...remote connection opened
Sending request: DESCRIBE rtsp://111.111.111.111:8554/desktop RTSP/1.0
CSeq: 2
User-Agent: RTSP Client (LIVE555 Streaming Media v2013.04.30)
Accept: application/sdp


Received 17 new bytes of response data.
Received 510 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Sat, 22 Jun 2013 20:23:31 GMT
Content-Base: rtsp://111.111.111.111:8554/desktop/
Content-Type: application/sdp
Content-Length: 361

v=0
o=- 0 0 IN IP4 127.0.0.1
s=Real-Time Desktop
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 54.63.104
m=video 0 RTP/AVP 96
b=AS:4000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAILaAVgYefhAAAAMAEAAAAwM
I8YMq,aM48gA==; profile-level-id=42C020
a=control:streamid=0
m=audio 0 RTP/AVP 14
b=AS:128
a=control:streamid=1

[URL:"rtsp://111.111.111.111:8554/desktop/"]: Got a SDP description:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=Real-Time Desktop
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 54.63.104
m=video 0 RTP/AVP 96
b=AS:4000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAILaAVgYefhAAAAMAEAAAAwM
I8YMq,aM48gA==; profile-level-id=42C020
a=control:streamid=0
m=audio 0 RTP/AVP 14
b=AS:128
a=control:streamid=1

video decoder(0): codec h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
video decoder(0) initialized (client port 60910)
[URL:"rtsp://111.111.111.111:8554/desktop/"]: Initiated the "video/H264" subsession
(client ports 60910-60911)
Sending request: SETUP rtsp://111.111.111.111:8554/desktop/streamid=0 RTSP/1.0
CSeq: 3
User-Agent: RTSP Client (LIVE555 Streaming Media v2013.04.30)
Transport: RTP/AVP;unicast;client_port=60910-60911


Received 17 new bytes of response data.
Received 147 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Sat, 22 Jun 2013 20:23:31 GMT
Session: 48230029
Transport: RTP/AVP/UDP;unicast;client_port=60910-60911;server_port=62104-62105

[URL:"rtsp://111.111.111.111:8554/desktop/"]: Set up the "video/H264" subsession (c
lient ports 60910-60911)
[URL:"rtsp://111.111.111.111:8554/desktop/"]: Created a data sink for the "video/H2
64" subsession
audio decoder: codec mp3 (MP3 (MPEG audio layer 3))
audio decoder initialized.
[URL:"rtsp://111.111.111.111:8554/desktop/"]: Initiated the "audio/MPA" subsession
(client ports 60912-60913)
Sending request: SETUP rtsp://111.111.111.111:8554/desktop/streamid=1 RTSP/1.0
CSeq: 4
User-Agent: RTSP Client (LIVE555 Streaming Media v2013.04.30)
Transport: RTP/AVP;unicast;client_port=60912-60913
Session: 48230029


Received 17 new bytes of response data.
Received 147 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Sat, 22 Jun 2013 20:23:32 GMT
Session: 48230029
Transport: RTP/AVP/UDP;unicast;client_port=60912-60913;server_port=62106-62107

[URL:"rtsp://111.111.111.111:8554/desktop/"]: Set up the "audio/MPA" subsession (cl
ient ports 60912-60913)
[URL:"rtsp://111.111.111.111:8554/desktop/"]: Created a data sink for the "audio/MP
A" subsession
Sending request: PLAY rtsp://111.111.111.111:8554/desktop/ RTSP/1.0
CSeq: 5
User-Agent: RTSP Client (LIVE555 Streaming Media v2013.04.30)
Session: 48230029
Range: npt=0.000-


Received 17 new bytes of response data.
watchdog: initialized, but no frames received ...
Received 67 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Sat, 22 Jun 2013 20:23:32 GMT
Session: 48230029


[URL:"rtsp://111.111.111.111:8554/desktop/"]: Started playing session...
watchdog: initialized, but no frames received ...
watchdog: initialized, but no frames received ...

(...)


I never get to see a graphic window on the client side.
Any ideia? If not, well, here is the test :)


Last edited by roderick on Mon Jun 24, 2013 6:07 pm, edited 1 time in total.

Top 
 Profile  
 
 Post Posted: Mon Jun 24, 2013 11:47 am 
 

Joined: Tue Jun 04, 2013 2:07 pm
Posts: 301
Hi,

If your server is placed in a protected network, open only port 8554 and 8555 is not enough when the audio and video frames are delivered using UDP, where ports are negotiated by the RTSP protocol. You have two solutions to solve the issue:

1) Choose to deliver audio and video data via a TCP connection. You can enable this option by modify the configuration:

proto = tcp

2) Make your routers understand RTSP and allow the ports negotiated in the RTSP protocol.

Hope that helps.

Chun-Ying


Top 
 Profile  
 
 Post Posted: Mon Jun 24, 2013 6:20 pm 
 

Joined: Sun Jun 23, 2013 5:09 am
Posts: 2
Thank you for your reply.
Changing the protocol to tcp solved the issue. From the documentation it sounded that port 8554 was TCP only, but in the core config file it was indeed UDP.

I changed both the server and the client config to TCP and I got the image back. Was great!

I did not have time to test it properly but the image response time looked quite acceptable at 1Mbps upload bandwidth in my home server. I had to tone down the fps to 15 and the bitrate 10 times lower. Ill get back to you with better numbers is I get the chance (im at work right now :) ).

Just a few quick suggestions:
- The should be a way to control the UDP ports RTSP negotiates so routers can be properly configured. TCP is great but a lossy protocol is indeed ideal in this scenarios (a few pixels do not make much difference, fps rate does)
- There is no mouse pointer visible on desktop screen. In most games the pointer is graphics based but still this can make things hard when debug time comes.

I hope I can get some free time in the future. I would love to look over the code and try to implement an adaptive bitrate encoder, so when bandwidth lowers the image would degrade gracefully to try to keep the fps at an acceptable rate.


Top 
 Profile  
 
 Post Posted: Wed Jun 26, 2013 10:44 am 
 

Joined: Tue Jun 04, 2013 2:07 pm
Posts: 301
Hi roderick,

Yes, port 8554 is TCP only. RTSP in GA always connects with a TCP connection (default at port 8554), so the configuration "proto" is used to choose whether "RTP" packets is sent using UDP ports (randomly chosen) or sent with the RTSP/TCP connection.

For the requests, we will try to implement capturing mouse pointers, but for negotiating UDP ports, we will placed it in wish lists but give it a lower priority.

Thanks for the feedbacks.

Chun-Ying


Top 
 Profile  
 
 Post Posted: Mon Sep 09, 2013 9:58 pm 
 

Joined: Mon Sep 09, 2013 9:52 pm
Posts: 1
roderick wrote:
I changed both the server and the client config to TCP and I got the image back. Was great!


How did you change the client proto settings ?
It still connect throught udp according to the log :

Code:
# [3064] 1378733276.432282 # RTSP[config]: using 'udp' for RTP flows.


Thanks


Top 
 Profile  
 
 Post Posted: Sun Sep 15, 2013 9:22 pm 
 

Joined: Tue Jun 04, 2013 2:07 pm
Posts: 301
Hi,

You will need to add

proto = udp

in client configurations.


Top 
 Profile  
 
 Post Posted: Mon Dec 15, 2014 7:20 pm 
 

Joined: Mon Dec 15, 2014 7:12 pm
Posts: 1
Alright, sounds good.hmmmmmmmmmmm thats great good to be see..................!

_________________
Sign up with 70-412 exam dump ccna for getting incredible online testking courses test-king.org - JN0-343 dumps and artinstitutesmiami We also provide best www.tabor.edu and selftestengine with guaranteed success in Florida Institute of Technology


Top 
 Profile  
 
 Post Posted: Thu Jan 28, 2016 11:33 am 
 

Joined: Wed Sep 30, 2015 4:03 pm
Posts: 6
How did you change the client proto settings ?
ทางเข้า gclub


Top 
 Profile  
 
 Post Posted: Fri Apr 08, 2016 10:38 am 
 

Joined: Thu Apr 07, 2016 10:39 am
Posts: 11
thats great good to be see!
แทงบอลออนไลน์รูปแบบใหม่ บนเว็บไซด์คาสิโนมาตรฐานสากล สมัครทันที รับโบนัสให้สำหรับผู้ที่เริ่มต้น คลิก
แทงบอลออนไลน์


Top 
 Profile  
 
 Post Posted: Sat Apr 22, 2017 1:32 pm 
 

Joined: Tue Mar 21, 2017 1:00 pm
Posts: 11
Thanks for the good information.












ทางเข้า m8bet


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

Board index » Bug Report


 
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 post attachments in this forum

Search for: