mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00: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:
parent
a3b6526ac6
commit
72a3c35bb5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user