tcpvideo-streamingrtmpsdnopenflow

Is it possible to compress the rtmp vedio streaming on the transit nodes of a networking?


I want to do some labtory work using a network like this: enter image description here

I want to transmit rtmp video streaming packets from the "server" node to the "client" node. The rtmp packets will be transmitted through node1 or node2 or node3 between the server node and the client node.

Is it possible that I compress the rtmp video streaming on node1/node2/node3? If it is possible, how? Do I have to capture the rtmp packets one node1/node2/node3 and then compress them and then resend the packets out from node1/node2/node3 to the client? Can I just do the compress work on lower layers (network layer/ data-link layer) of the network?

I am really curious about this. I will be really grateful if anybody can help!!


Solution

  • You can use ffmpeg which keeps two tcp connection instead of using one rtmp connection.