[Live-devel] FW: I can not convert RTP to RTSP by testOnDemandRTSPServer example

lijun at ndtv.com.cn lijun at ndtv.com.cn
Wed Dec 12 16:56:21 PST 2018


<p>
	<span style="font-size:12.0pt;">My machine ip is 10.205.198.81</span>
</p>
<p>
	<span style="font-size:12.0pt;">This is my only machine for  test.</span>
</p>
<p>
	<span style="font-size:12.0pt;"></span>
</p>
<p>
	<span>I have  below server</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">rtp://10.205.198.81:1234</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">I want to convert it to be</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">rtsp://10.205.198.81:8554/mpeg2TransportStreamFromUDPSourceTest</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;"></span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">but after I modified testOnDemandRTSPServer
example</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">I only modified input address like below</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">char const* inputAddressStr =
"10.205.198.81";//"239.255.42.42";</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">and listen port</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;"></span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">after I run testOnDemandRTSPServer</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">VLC Player can not normal play rtsp://10.205.198.81:8554/mpeg2TransportStreamFromUDPSourceTest</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">But I can access local movie by below address</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">rtsp://10.205.198.81:8554/mpeg2TransportStreamTest</span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;"></span>
</p>
<p>
	<span style="font-size:12.0pt;font-family:SimSun;">how can I solve this problem!</span>
</p>
<br />
<br />
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181213/9c9a78c0/attachment.html>


More information about the live-devel mailing list