Skip to content

Encode h264 data to RTP packets and Streaming through network(UDP)

Notifications You must be signed in to change notification settings

tinydigger/RTPH264Streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION:
    This is a project for RTP streaming with H264 payload. It provides rtp encoder and decoder libraries, which can be used as a rtp sender and receiver.
    Test app is also available for understanding how to use rtp libraries.
COMPILE:
    Run 'make' in root dir. RTP lib and test app will be generated in target folder.

USAGE EXAMPLE:
    1. Use gstreamer as receiver: gst-launch-1.0 udpsrc port=5004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! avdec_h264 ! autovideosink

    2. Run 'rtpencoder test.264 127.0.0.1 5004' as sender. It will parse a local h264 file encode it to RTP package and send to localhost's port 5004.

About

Encode h264 data to RTP packets and Streaming through network(UDP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published