-
git clone https://github.com/USAMAWIZARD/webrtc-from-scrach.git
-
Run the following command to build the program:
make
Before running the RTP stream, start the receiver with the following command:
GST_DEBUG=3 gst-launch-1.0 -v udpsrc port=5001 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
Once the receiver is started, run your program with the following command:
./webrtc
limitations ipv4 no turn support will fail on symitric nat