I have the next class, which is used to transmit RTP via audio or video files in Java.
So far so good.
What I want is to modify the UnicastRtp class to enable the transfer the screen, that is, you can use a medialocator like this:
MediaLocator new ("screen://0,0,1280,800/25")
I searched a lot on Internet and think the solution is to change the way you create and configure the processor.
In order to transmit the contents of the screen, it must be supported in StreamPantalla and DataSourcePantalla classes.
I developed a program that is able to display content in a player from an area of the screen (using the same StreamPantalla and DataSourcePantalla classes ), so I know they work well.
Now what I need is change the UnicastRtp class to be able to configure a processor for transmitting the contents of the screen.
Would appreciate any help or clues.
Thank you very much for the help.
Greetings!