Mercurial > mplayer.hg
comparison cfg-common.h @ 24564:e4a38a7cdb81
libnemesi support, yet another rtsp/rtp library...
author | lu_zero |
---|---|
date | Wed, 19 Sep 2007 21:38:22 +0000 |
parents | d6bba2781d01 |
children | d81eef9beb1b |
comparison
equal
deleted
inserted
replaced
24563:bc292ed360db | 24564:e4a38a7cdb81 |
---|---|
72 | 72 |
73 #ifdef STREAMING_LIVE555 | 73 #ifdef STREAMING_LIVE555 |
74 {"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, | 74 {"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, |
75 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP | 75 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP |
76 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 76 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
77 #elif defined (LIBNEMESI) | |
78 {"rtsp-stream-over-tcp", &rtsp_transport_tcp, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
79 {"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
77 #else | 80 #else |
78 {"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | 81 {"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |
79 #endif | 82 #endif |
80 #ifdef MPLAYER_NETWORK | 83 #ifdef MPLAYER_NETWORK |
81 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, | 84 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, |
499 extern m_option_t lavfdopts_conf[]; | 502 extern m_option_t lavfdopts_conf[]; |
500 #endif | 503 #endif |
501 | 504 |
502 #ifdef STREAMING_LIVE555 | 505 #ifdef STREAMING_LIVE555 |
503 extern int rtspStreamOverTCP; | 506 extern int rtspStreamOverTCP; |
507 #endif | |
508 #ifdef LIBNEMESI | |
509 extern int rtsp_transport_tcp; | |
510 extern int rtsp_transport_sctp; | |
504 #endif | 511 #endif |
505 extern int rtsp_port; | 512 extern int rtsp_port; |
506 extern char *rtsp_destination; | 513 extern char *rtsp_destination; |
507 | 514 |
508 | 515 |