RTP playback using VLC

I currently have an Android app that captures video from a camera and transmits it via RTP. I do not use RTSP.

I created an SDP file that describes the RTP channel. I can open the SDP file in Quicktime 7 and see the stream, trying to open the SDP file in VLC does not work. I get the following error:

live555 demux error: no data received in 10 seconds, interruption

I track RTP packets using Wireshark and see packets on the network (see example below):

281956  2545.589171000  10.0.1.25   10.0.1.150  UDP 1442    Source port: 54405  Destination port: 51372

Quicktime 7 doesn't seem to have a problem binding to the destination port in SDP and playing the stream, but I see the following ICMP packet when trying to use VLC:

286674  2925.162140000  10.0.1.150  10.0.1.25   ICMP    70  Destination unreachable (Port unreachable)

My SDP file contains:

v=0
o=- 1360349812962 1360349812962 IN IP4 10.0.1.25
s=Unnamed
i=N/A
c=IN IP4 10.0.1.150
t=0 0
a=recvonly
m=video 51372 RTP/AVP 96
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=42c01e;sprop-parameter sets=Z0LAHukBQHsg,aM4G4g==;

, VLC? "-rtp-client-port = 51326" VLC, , , .

1

, VLC ( , , ) , SDP, , , RTP . , VLC RTP-, , . .

- , VLC SDP ?

+5
1

VLC , (51372) .

m = 51372 RTP/AVP 96

.

sdp - SDP.

+3

All Articles