# HG changeset patch # User rsf # Date 1051942444 0 # Node ID 2e6d63e564f2736a58005574f210ae9fb3683899 # Parent 1342075f81f0a2a11a055b614f14472d2bc28255 We now check for "sip:" URLs - which are handled using the same LIVE.COM code as "rtsp://" URLs. diff -r 1342075f81f0 -r 2e6d63e564f2 libmpdemux/network.c --- a/libmpdemux/network.c Sat May 03 06:13:11 2003 +0000 +++ b/libmpdemux/network.c Sat May 03 06:14:04 2003 +0000 @@ -602,7 +602,16 @@ *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 }