Hi,

you get H264 data in RdpgfxClientContext->SurfaceCommand with codecId RDPGFX_CODECID_AVC420, RDPGFX_CODECID_AVC444 and RDPGFX_CODECID_AVC444v2 depending how your server is configured.

Please read the instructions for your server RDP software on how to configure it to send H264 data (that might be limited depending on RDP server version)

Client side you can only announce what you support, it is up to the server to choose what it will use, so no guarantee that you get H264 even if you announce it client side.

All control is server side, so you can not configure anything in FreeRDP here, sorry.


regards

Armin

On 31.08.20 03:06, 宋柯彤 via FreeRDP-devel wrote:
hi:
 I'm using freerdp source code now.
I want to get h264 data and add some control myself. but I have some question 
now, can you help me
here are my questions:


1. I want to get h264 data from freerdp,
I found that when I set avc444, I can get h264 in function 
gdi_SurfaceCommand_AVC444 in file gdi.c .
But when I set type avc420, it didn't run into gdi_SurfaceCommand_AVC420 but 
gdi_SurfaceCommand_RemoteFX, how can I get h264 in this function?


2.I notice that the frame rate of h264 is not sure, can I control it by set 
some param? and how about bitrate, frame type such as I frame or P frame?
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to