Questions tagged [rtp]
The Real-time Transport Protocol (RTP) defines a standardized packet format for delivering audio and video over IP networks.
1,447
questions
172
votes
10
answers
580k
views
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 ...
78
votes
8
answers
148k
views
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 ...
46
votes
4
answers
52k
views
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/...
37
votes
10
answers
85k
views
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.
37
votes
2
answers
90k
views
Best C++ RTP/RTSP library [closed]
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.
37
votes
2
answers
38k
views
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. ...
35
votes
3
answers
24k
views
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 ...
34
votes
5
answers
20k
views
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 ...
29
votes
6
answers
64k
views
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/...
22
votes
1
answer
30k
views
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 ...
22
votes
2
answers
8k
views
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?...
21
votes
3
answers
17k
views
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 ...
20
votes
2
answers
2k
views
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 ...
19
votes
3
answers
90k
views
Capture RTP and SIP Traffic using tcpdump
I need to capture SIP and RTP traffic to find a problem with something. I can capture SIP messages fine but am having a problem with capturing the RTP traffic.
I've tried the following but this is ...
19
votes
2
answers
16k
views
Proper Java RTP/RTCP stack [closed]
I've been struggling to find a decent RTP stack implementation for Java. JMF or FMJ are not options here as I don't want all the bells and whistles of codecs and audio/video capture; I just need to ...
19
votes
1
answer
32k
views
Creating RTP Packets from Android Camera to Send
I'm new to Android and socket programming. I want to create an android application that transfer video live from device camera to PC. What first i do is to get a raw video data from PreviewCallback ...
19
votes
1
answer
7k
views
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 ...
19
votes
1
answer
1k
views
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 ...
18
votes
2
answers
34k
views
H.264 over RTP - Identify SPS and PPS Frames
I have a raw H.264 Stream from an IP Camera packed in RTP frames. I want to get raw H.264 data into a file so I can convert it with ffmpeg.
So when I want to write the data into my raw H.264 file I ...
18
votes
1
answer
4k
views
Camera streaming using RTP from Android to PC
I'd like to write an application for Android for camera streaming to PC (H.263, MPEG_4). I found some libraries: sipandroid, jlibrtp.
SIPandroid:
RTP packets are streamed (wireshark catches it on PC ...
17
votes
2
answers
27k
views
Receiving RTP packets after RTSP setup
I'm trying to stream RTP packets from an IP camera using Python.
I am able to send the describe, setup & play commands using RTSP protocol, however, I am unable to start streaming the actual ...
17
votes
1
answer
64k
views
Stream H.264 video over rtp using gstreamer
I am newbie with gstreamer and I am trying to be used with it. My first target is to create a simple rtp stream of h264 video between two devices. I am using these two pipelines:
Sender: gst-launch-1....
17
votes
2
answers
11k
views
Streaming Video From Android
I'm trying to stream video from the Android phone, which should be watched in an mediaplayer.
I've been looking at http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-...
16
votes
1
answer
7k
views
WebRTC: Relationship between Channels, Tracks & Streams vis-a-vis RTP SSRC and RTP Sessions
From Mozilla site: https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API
"A MediaStream consists of zero or more MediaStreamTrack objects, representing various audio or video tracks. ...
16
votes
1
answer
43k
views
What support for live streaming does the HTML5 video element have?
Does the HTML5 video element support non-HTTP-based (HLS, SmoothStreaming, etc.) live-streaming protocols?
Does it support RTP/RTSP streaming protocols? Does it support RTMP? Are there specific ...
16
votes
2
answers
6k
views
How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?
After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 ...
16
votes
3
answers
35k
views
How to stream live video in HTML5?
I'm looking for a way to broadcast a live video taken from a webcam or camera rooted to a PC.
The broadcast should be displayed in a HTML5 page using the tag (which support rtp, and rtsp I think).
...
15
votes
1
answer
27k
views
Decoding RTP payload as H264 using wireshark
I am streaming a RTSP video from vlc on windows to ipad app. And I capture packets in wireshark. I can see RTP packets in wireshark and also the RTP header fields like payload type, timestamp, ...
15
votes
2
answers
10k
views
Difference between DTLS-SRTP and SRTP packets send over DTLS connections
I have two SIP endpoint and wanted to send the media over DTLS-SRTP. I am little bit confuse in below points
Is DTLS-SRTP and SRTP packets send over DTLS connections are same or different ?
If ...
15
votes
2
answers
29k
views
Streaming MP4 Video File on Gstreamer
I am working on gstreamer for first time and trying to Stream an MP4 Video file from a server to client using Gstreamer (RTP and UDP) .
The Command Line which I am trying to use :
On Server Side:
...
14
votes
4
answers
44k
views
CSRC and SSRC in RTP
I am very new to RTP , can some one explain about the CSRC and SSRC in general?
From http://www.rfc-editor.org/rfc/rfc3550.txt ,
what it says is : The SSRC field identifies the synchronization source....
14
votes
1
answer
32k
views
Minimum SDP for making a H264 RTP stream?
I'm looking for an example of a minimum necessary SDP for setting up a H264 video stream.|
The assumption is that the receiver can play H264 as long as it gets the required parameters through SDP.
I ...
14
votes
2
answers
40k
views
How to force stream RTP video with vlc over tcp protocol?
I'm trying to stream a video via rtp with vlc, the default protocol is UDP, but its performance is very low (bitrate, resolution, smooth,..)
So, I want to use vlc with rtp to stream video over tcp ...
13
votes
2
answers
26k
views
Is there anyone who can successfully run real time streaming with ffserver?
I hope to stream my video camera and audio mic. using ffserver.
ffserver says it could do such, but I just can't find any working source?
If someone knows, could you please show me how it's done?
13
votes
3
answers
33k
views
Streaming RTP/RTSP: sync/timestamp problems
I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, ...
12
votes
2
answers
14k
views
How to fragment H264 Packets in RTP compliant with RFC3984
I have the FFMPEG streaming baseline h264 video, which I have to encapsulate in RTP and send to SIP phones for their decoding. I am using Linphone with the h264 plugin for Windows and Mirial for the ...
12
votes
3
answers
12k
views
How implement the VOIP application using android.net.rtp package
I am trying to implemented the VoIP application using the AudioGroup and AudioStream classes of the android.net.rtp package. But my application not function properly. After "Join" the "AudioGroup" ...
12
votes
4
answers
13k
views
How do I determine if a packet is RTP/RTCP?
I am using SharpPCap which is built on WinPCap to capture UDP traffic. My end goal is to capture the audio data from H.323 and save those phone conversations as WAV files. But first thing is first - I ...
12
votes
1
answer
19k
views
UDP or RTP streaming solution for android
I need to create an android app to display a live TV feed.
the app is supposed to play live video streams from a Multicast of a DVB gateway, according to the gateway vendor it can stream out UDP or ...
12
votes
1
answer
986
views
How to encode media file in RTP packets with Xuggler
I am building an RTSP streaming server in java using xuggler, but I'm not sure how to implement correct RTP packetization.
My current approach is to call ReadNextPacket(packet) on the input container, ...
11
votes
4
answers
18k
views
H.264 RTSP Absolute TIMESTAMP
Is it possible to read an absolute timestamp from an H.264 stream sent trough RTSP from an Axis camera?
It will be necessary to know when the frame has been taken by the camera.
Thanks
Andrea
11
votes
2
answers
15k
views
Android 4.1 - RTSP using VideoView and MediaController
Developing a simple app to play a RTSP stream on Android 4.1, but unable to do so
Update
I am able Able to play if I use BigBuckBunny_115k.mov
Uri video = Uri.parse("rtsp://184.72.239.149/vod/mp4:...
11
votes
2
answers
11k
views
How to write RTP/H264 stream as a file
I couldn't find a solution for my previous question so I decided to try it step by step.
The thing that I wanna do now is to store the RTP/H264 stream as a file.
What I found so far is the below:
(...
11
votes
4
answers
16k
views
Multiple H.264 video streams in one RTP session
I would like to dynamically switch the video source in a streaming video application. However, the different video sources have unique image dimensions. I can generate individual SDP files for each ...
10
votes
4
answers
35k
views
How to generate SDP file from FFMPEG
So, I have been working with FFMPEG on a project that involves streaming video from one computer to another across the internet with RTP. I want to take that into ffmpeg and use ffserver to display it ...
10
votes
2
answers
14k
views
Sending WebRTC MediaStream over Websocket (RTP over HTTP/Websocket)
WebRTC is, among other things, meant for real-time browser to browser media communication, but in my case it will be used for browser to server audio communication.
From the information I've gathered,...
10
votes
2
answers
11k
views
SIP and RTP implementation in C++
Are there reliable open source libraries written in c++ to implement SIP and RTP protocols ? If not , is it easy to implement them using boost.asio ?
10
votes
2
answers
27k
views
H.264 over RTP/RTSP (iPhone)
Is it possible to view video stream (H.264 live feed) over RTP/RTSP in iPhone natively? If not, is it possible to write an application for this purpose?
10
votes
1
answer
14k
views
streaming H.264 over RTP with libavformat
I've been trying over the past week to implement H.264 streaming over RTP, using x264 as an encoder and libavformat to pack and send the stream. Problem is, as far as I can tell it's not working ...
10
votes
4
answers
14k
views
RTP on Android MediaPlayer
I've implemented RTSP on Android MediaPlayer using VLC as rtsp
server with this code:
# vlc -vvv /home/marco/Videos/pippo.mp4 --sout
#rtp{dst=192.168.100.246,port=6024-6025,sdp=rtsp://192.168.100....