Considerable lag in SimConnect_BeginVideoStream

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
shouvik1984
Posts: 17
Joined: Mon Apr 20, 2020 8:46 am

Considerable lag in SimConnect_BeginVideoStream

Post by shouvik1984 »

Hi All,

I see severe lag in the view that is opened with SimConnect_BeginVideoStream. The window resolution is 1152*768 and the frame rate is limited to 30fps in Display Settings. The lag is ~1s between the view window and vlc window

I am using the following sdp setting

Code: Select all

v=0
o=-0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
m=video 49000 RTP/AVP 96
c=IN IP4 127.0.0.1
a=rtpmap:96 H264/90000
a=fmtp:96 packetization - mode = 1
and the output settings are

Code: Select all

SIMCONNECT_DATA_VIDEO_STREAM_INFO settings = { "127.0.0.1", //Source
						"127.0.0.1", //Destination
						49000, //Port
						1152, //Width
						768, //Height
						30, //FPS
						36000000, //BPS
						0 };//.H264 encoding

I also referred this Thread but no solution out of it.
Best Regards
Shouvik Das

P3Dv5.3 Windows 10 x64 i7-10850H Quadro RTX3000 32GB DDR 2933MHz
Post Reply