[Live-devel] question about streaming h264 video and binary data

Ottavio Campana ottavio at videotec.com
Wed Nov 25 06:43:37 PST 2009


I implemented an RTSP server with live555 to stream a h264 video and it
works well.

Now I would like to stream some custom data with the video stream, thus
I wrote a subclass of DeviceSource that feeds the custom data to a
subclass of OnDemandServerMediaSubsession .

When I try to play the stream with a "normal" player such as mplayer or
vlc I expect them to drop the auxiliary binary data and to display the
h264-encoded video. But it does not work, it seams packets are not
correctly received (dropped?).

Do you think that this problem can be related to the way I stream video
and data? Did you ever stream binary data with live555?

Here is the SDP of what I'm trying to stream

Opened URL "rtsp://192.168.0.100:8554/video_stream", returning a SDP
description:
v=0
o=- 1259156055210752 1 IN IP4 192.168.0.100
s=Video session
i=LIVE555 Streaming Media v
t=0 0
a=tool:LIVE555 Streaming Media v2009.06.02
a=type:broadcast
a=control:*
a=source-filter: incl IN IP4 * 192.168.0.100
a=rtcp-unicast: reflection
a=range:npt=0-
a=x-qt-text-nam:Video session
a=x-qt-text-inf:LIVE555 Streaming Media v
m=video 18888 RTP/AVP 96
c=IN IP4 232.83.250.127/255
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=Z0KAHtoC0EkQ,aM48gA==
a=control:track1
m=application 18892 RTP/AVP 97
c=IN IP4 232.83.250.127/255
a=rtpmap:97 MYDATA/90000
a=control:track2

Created receiver for "video/H264" subsession (client ports 18888-18889)
Unable to create receiver for "application/MYDATA" subsession: RTP
payload format unknown or not supported
Setup "video/H264" subsession (client ports 18888-18889)
Created output file: "video-H264-1"
Started playing session
Receiving streamed data (signal with "kill -HUP 11927" or "kill -USR1
11927" to terminate)...


More information about the live-devel mailing list