HI there,
I do wirecast streaming & reflect multicast streams from a Quicktime Streaming Server (QTSS)..
* The streams are H264 streams with separate udp ports for video and audio. the streams play successfully either in QTplayer or VLC.
* I also wanted to be able to use SAP to announce the streams so that VLC users could simply find the streams via SAP Announcements instead of having to download a SDP file and open it with VLC.
* I came across a program called EasySAPAnnounce which will generate SAP announcements from SDP files (I had tried compiling miniSAPServer but the last two versions failed to compile on OS X using GSS compiler)
* I was able to successfully generate SAP announcements, however VLC would not see the announcements (so I thought)
* When I examined the Messages window under VLC player (1.1.12 - OSX) I found entries indicating that the media type was not decoded ...
"sap debug: Multiple media ports not supported -> live555"
So I messed around with the SAP file by deliberately removing either the m=video or m=audio entries and the subsequent lines from the SDP file. As soon as there was only one media type entry (m=) the SAP announcement appeared in the VLC SAP announcements list.
SO it appears that the SAP announcements decoder is not recognising SDP files where there is more than one media type (as there is for 264 and other media encodings) even though they are standards compliant SDP files.
If I can make a guess, the VLC code is currently only decoding multliplexed MPG2-TS streams where the interleaved media is sent on the one udp port only.
Can this be fixed so that SAP announcements for streams that use separate video and audio ports (e.g H264 streams) can be correctly interpreted by the VLC player SAP Announcements list?