0

I am working with HTTP & RTSP Protocol. For live streaming video I am using RTSP Protocol.

For RTSP live streaming my URL is something like this:

rtsp://www.sitename.com:554/video/exp.mp4

But it's give me error "Cannot play video".

Can any one suggest how RTSP will work & is there any other setting required to use RTSP Protocol.

Regards,
Sandip Mistry

2
Contributors
3
Replies
24
Views
4 Years
Discussion Span
Last Post by masterjiraya
1
<?php 
// Default movie 
$movie = 'myip/movie/movie1.mov'; 
// pretend movie is the param passed to the php script 
if(isset($_GET['movie'])) 
{ 
    // do your query to get the proper movie 
    // for $_GET['movie'] from your database 
    $movie = result_from_my_database_for($_GET['movie']); 
} 

header('Content-type: application/x-rtsp-tunnelled'); 
readfile('rtsp://'.$movie); 
?>

that is my sample but can you explain to me where the file is stored?

0

Is there any setting on server for rtsp like server rtsp suppotrted and rtsp port neeed to enable on server ?

Regards,
Sandip Mistry

Edited by sandi009

0

No! You cannot, all you can do is to force it. Because if you did changes inthe server settings for rtsp then your web or local server will not work to view on browsers

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.