1
mirror of https://github.com/mpv-player/mpv synced 2024-10-14 11:54:36 +02:00

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
This commit is contained in:
rsf 2003-05-03 06:14:04 +00:00
parent a3b6526ac6
commit 72a3c35bb5

View File

@ -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
}