Questions tagged [rtp]

The Real-time Transport Protocol (RTP) defines a standardized packet format for delivering audio and video over IP networks.

RTP, the real-time transport protocol. RTP provides end-to-end network transport functions suitable for applications transmitting real-time data, such as audio, video or simulation data, over multicast or unicast network services. RTP does not address resource reservation and does not guarantee quality-of-service for real-time services. The data transport is augmented by a control protocol (RTCP) to allow monitoring of the data delivery in a manner scalable to large multicast networks, and to provide minimal control and identification functionality. RTP and RTCP are designed to be independent of the underlying transport and network layers. The protocol supports the use of RTP-level translators and mixers.

More information at Wikipedia Page on RTP

1433 questions
169
votes
10 answers

Streaming via RTSP or RTP in HTML5

I'm building a web app that should play back an RTSP/RTP stream from a server http://lscube.org/projects/feng. Does the HTML5 video/audio tag support the rtsp or rtp? If not, what would the easiest solution be? Perhaps drop down to a VLC plugin or…
Elben Shira
  • 2,086
  • 3
  • 14
  • 13
78
votes
8 answers

What is the difference between RTP or RTSP in a streaming server?

I'm thinking about developing a streaming server and I have the following question, do over RTSP (example url: rtsp://192.168.0.184/myvideo.mpg) or RTP (example url: rtp://192.168.0.184). As I have understood, an RTSP server is mainly used for…
Lobo
  • 4,001
  • 8
  • 37
  • 67
45
votes
4 answers

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

Long Story: There is an H264/MPEG-4 Source I can able to connect this source with RTSP protocol. I can able to get raw UDP packets with RTP protocol. Then send those raw UDP packets to a Decoder[h264/mpeg-4] [DS Source Filter] But those "raw" UDP…
Novalis
  • 2,265
  • 6
  • 39
  • 63
37
votes
10 answers

Why Does RTP use UDP instead of TCP?

I wanted to know why UDP is used in RTP rather than TCP ?. Major VoIP Tools used only UDP as i hacked some of the VoIP OSS.
Priyanka Mishra
  • 10,400
  • 18
  • 62
  • 75
37
votes
2 answers

Best C++ RTP/RTSP library

I'm looking for a RTP/RTSP library in C++. I found pjsip but it is more C-style. I'm looking for more OO library.
cubesoft
  • 3,448
  • 7
  • 49
  • 91
37
votes
2 answers

Convert video Input Stream to RTMP

I want to stream video recording from my android phone to network media server. The first problem is that when setting MediaRecorder output to socket, the stream is missing some mdat size headers. This can be fixed by preprocessing that stream…
Marko
  • 30,263
  • 18
  • 74
  • 108
34
votes
5 answers

MediaCodec and Camera: colorspaces don't match

I have been trying to get H264 encoding to work with input captured by the camera on an Android tablet using the new low-level MediaCodec. I have gone through some difficulties with this, since the MediaCodecAPI is poorly documented, but I've gotten…
gleerman
  • 1,793
  • 4
  • 24
  • 38
33
votes
3 answers

Can I use WebRTC to receive a standard RTP video stream?

I have two computers on the same network. One of them transmits a movie (H264) with RTP protocol. Is it possible to create a simple javascript app to receive this stream on the second computer and display in a video tag? So far my impression of…
Pal Szasz
  • 2,954
  • 3
  • 20
  • 18
28
votes
6 answers

Detect MPEG4/H264 I-Frame (IDR) in RTP stream

I need to detect MPEG4 I-Frame in RTP packet. I know how to remove RTP header and get the MPEG4 frame in it, but I can't figure out how to identify the I-Frame. Does it have a specific signature/header?
Cipi
  • 11,055
  • 9
  • 47
  • 60
22
votes
1 answer

RTMP vs RTSP/RTP: Which to choose for an interactive livestream?

If you are trying to develop an interactive livestream application, you rely on ultra low (real-time) latency. For example for a video conference or a remote laboratory. The two protocols, which should be suitable for this circumstances are: RTSP,…
Joey
  • 809
  • 1
  • 10
  • 24
22
votes
2 answers

Receiving RTP stream - AudioStream, AudioGroup

I would like to listen an RTP audio stream, however the voice has little gaps in it - not continues. What may be the solution? Am I missing something on Receiver(android) side or Streamer(ffmpeg) side? I'm using ffmpeg to stream RTP audio, ffmpeg…
totten
  • 2,769
  • 3
  • 27
  • 41
21
votes
3 answers

H.264 conversion with FFmpeg (from a RTP stream)

Environment: I have an IP Camera, which is capable of streaming it's data over RTP in a H.264 encoded format. This raw stream is recorded from the ethernet. With that data I have to work. Goal: In the end I want to have a *.mp4 file, which I can…
Toby
  • 3,815
  • 14
  • 51
  • 67
20
votes
2 answers

RTP Packets are not being sent or received using mjsip

I am working on a softphone project using mjsip sip stack. Mjsip only supports g711 or PCMA/PCMU codec. I have added G729 to my project. When I build the project it shows no error. But when the phones get connected it the call gets established there…
S. M. Shahinul Islam
  • 2,780
  • 4
  • 36
  • 68
19
votes
1 answer

Why JMF is not working on Audio streaming with Mjsip?

I am using Mjsip to create a softphone. In the code there is three type option for audio straming. Using JMF (Java Media Framework) Using Java Audio Using RAT (Robust Audio Tool) I am not using the RAT. Its value is been made false by myself. This…
S. M. Shahinul Islam
  • 2,780
  • 4
  • 36
  • 68
19
votes
1 answer

Saving JPEG file coming from Network Camera RTP Stream

I had a RTP Stream socket, receiving a JPEG Stream, from a samsung network camera. I dont know much about how JPEG format works, but i do know that this incoming JFIF or JPEG stream is giving me the JPEG…
ideerge
  • 410
  • 4
  • 13
1
2 3
95 96