diff options
author | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-03 06:14:04 +0000 |
---|---|---|
committer | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-03 06:14:04 +0000 |
commit | 72a3c35bb571fd3a2bc99f8d2185427c76a90843 (patch) | |
tree | fd32df967cd13ee9c5dbd88f681cbcef3b6cb6a0 /libmpdemux | |
parent | a3b6526ac6d8de2ce29649c17d1762393877e435 (diff) |
We now check for "sip:" URLs - which are handled using the same LIVE.COM
code as "rtsp://" URLs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10056 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/network.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c index 69c6b8f9a7..deda8f7e74 100644 --- a/libmpdemux/network.c +++ b/libmpdemux/network.c @@ -602,7 +602,16 @@ extension=NULL; *file_format = DEMUXER_TYPE_RTP; return 0; #else - mp_msg(MSGT_NETWORK,MSGL_ERR,"RTSP protocol support requires the \"LIVE.COM Streaming Media\" libraries!\n"); + mp_msg(MSGT_NETWORK,MSGL_ERR,"RTSP support requires the \"LIVE.COM Streaming Media\" libraries!\n"); + return -1; +#endif + // Checking for SIP + } else if( !strcasecmp(url->protocol, "sip") ) { +#ifdef STREAMING_LIVE_DOT_COM + *file_format = DEMUXER_TYPE_RTP; + return 0; +#else + mp_msg(MSGT_NETWORK,MSGL_ERR,"SIP support requires the \"LIVE.COM Streaming Media\" libraries!\n"); return -1; #endif } |