![]() |
MediaX v1.1.2 [7554dd3]
Video streaming for military vehicles
|
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams. More...
#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <array>#include <chrono>#include <mutex>#include <string>#include <thread>#include <vector>#include <netdb.h>#include <netinet/in.h>#include <sys/socket.h>#include <sys/types.h>#include "rtp/rtp_payloader.h"#include "rtp/rtp_types.h"

Go to the source code of this file.
Data Structures | |
| class | mediax::rtp::uncompressed::RtpUncompressedPayloader |
| Manage an RTP stream. More... | |
Namespaces | |
| namespace | mediax |
| The Astute Systems (MediaX) library for video streaming. | |
| namespace | mediax::rtp |
| The Real Time Protocol (RTP) namespace. | |
| namespace | mediax::rtp::uncompressed |
| The Astute Systems media streaming namespace. | |
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
Example RTP packet from wireshark Real-Time Transport Protocol 10.. .... = Version: RFC 1889 Version (2) ..0. .... = Padding: False ...0 .... = Extension: False .... 0000 = Contributing source identifiers count: 0 0... .... = Marker: False Payload type: DynamicRTP-Type-96 (96) Sequence number: 34513 Timestamp: 2999318601 Synchronization Source identifier: 0xdccae7a8 (3704285096) Payload: 000003c000a08000019e00a2000029292929f06e29292929...
gst-launch-1.0 videotestsrc num_buffers ! video/x-raw, format=UYVY, framerate=25/1, width=640, height=480 ! queue ! rtpvrawpay ! udpsink host=127.0.0.1 port=5004
gst-launch-1.0 udpsrc port=5004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)480, height=(string)480, payload=(int)96" ! queue ! rtpvrawdepay ! queue ! xvimagesink sync=false