yuanrongxi / revolver

A C++ network service framework
Mozilla Public License 2.0
142 stars 95 forks source link

How to use revolver to send 1080p h264 #3

Closed BeatlemaniaInChina closed 6 years ago

BeatlemaniaInChina commented 6 years ago

Recently we got a project with a need of streaming 1080p h264 through 4G . For the reason of less latency ,we choose UDP/RUDP as the transportation protocol. Very grateful to see your realization of RUDP which is very suitable for our case. We successfully compiled the project and get rudpsend, rudprecv executable bin but pitifully we dont know how to use or test it, for example sending a local file to server. Would you please give us a guide ? Thanks!

wonktnodi commented 6 years ago

the sample uses the dummy data for testing, u can replace it with data from file for testing

BeatlemaniaInChina commented 6 years ago

Thank you ! Do you mean the bin/sample/sampled? After reviewing the test/sample code, I didnt find any clue about how to use it. Would you please show your testing steps below , thank you again!

wonktnodi commented 6 years ago

pls see the demo project rudp_sender/rudp_receiver, check the function RUDPConnection::send_packet, we use dummy data for sending here