[vlc-devel] RTP STreaming with Dynamic Payload Type
Praveen B K
praveen_bk2003 at yahoo.com
Mon Oct 24 10:22:47 CEST 2011
Hi,
I was trying to do rtp streaming of a wave file with trans-coding using VLC. But my client VLC is not decoding sap announcements.
The following are the steps I performed.
At Server VLC
=============
1. In Media->Streaming menu, I gave my Wave file(16bit 44.1KHz Stereo).
2. In the 'Destinations' tab, I selected 'RTP Audio/video Profile' and using 'Add' button, added the multicast IP '224.0.1.0'.
3. In the trans-coding options, I created a new profile with
Codec -> WAV
Channels-> 2
Sample Rate -> 22050
4. In the 'Miscellaneous Options', Gave Tick mark to 'SAP announce', gave 'Test_SDP' in the edit box next to 'SAP announce' and 'Test Group' to 'Group name'.
5. The corresponding output string is
:sout=#transcode{vcodec=none,acodec=s16l,ab=512,channels=2,samplerate=22050}:rtp{dst=224.0.1.0,port=5004} :sout-rtp-sap :sout-rtp-name=Test_SDP :sout-standard-sap :sout-standard-name=Test_SDP :sout-standard-group=Test_Group :ttl=1 :sout-keep
6. Then pressed 'stream' button.
At Messages Window, I could see the following log(with Verbosity Level - 2)
stream_out_rtp debug: sdp=
v=0
o=- 15154488331352645916 15154488331352645916 IN IP4 localhost.localdomain
s=3
i=N/A
c=IN IP4 224.0.1.0/255
t=0 0
a=tool:vlc 1.1.11
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 5004 RTP/AVP 96
b=AS:705
b=RR:0
a=rtpmap:96 L16/22050/2
At client VLC
=============
1. Selected Media-> Open Network Stream ... option.
2. entered the url rtp://224.0.1.0:5004 and pressed 'play' button.
3. In the ' Messages' window,got messages as follows
.
.
.
.
main debug: `rtp://224.0.1.0:5004' successfully opened
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'rtp://224.0.1.0:5004' : 1.862 ms - Total 1.862 ms / 1 intvls (Avg 1.862 ms)
qt4 debug: IM: Setting an input
4. But I couldn't hear anything.
I doubt my VLC client is not decoding SAP announcements. But in the Wire-shark at the client terminal, I am able to see the SDP packets(sap announcement)[ I am using VLC 1.1.11 and installed the latest version of live555 plug-in].
Please correct me if I am wrong some where and help me to solve the issue.
Regards,
Praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111024/762f750b/attachment.html>
More information about the vlc-devel
mailing list