# HG changeset patch # User rbultje # Date 1220276810 0 # Node ID 8bde52c0934c6c889821c3c11742d111e18f9872 # Parent 62a7a6a6a038e6e73eba6ccb0a4901b3a5484cb8 Implement Realmedia-compatible DESCRIBE command. diff -r 62a7a6a6a038 -r 8bde52c0934c rtsp.c --- a/rtsp.c Sun Aug 31 20:21:00 2008 +0000 +++ b/rtsp.c Mon Sep 01 13:46:50 2008 +0000 @@ -1125,6 +1125,15 @@ "DESCRIBE %s RTSP/1.0\r\n" "Accept: application/sdp\r\n", s->filename); + if (rt->server_type == RTSP_SERVER_RDT) { + /** + * The Require: attribute is needed for proper streaming from + * Realmedia servers. + */ + av_strlcat(cmd, + "Require: com.real.retain-entity-for-setup\r\n", + sizeof(cmd)); + } rtsp_send_cmd(s, cmd, reply, &content); if (!content) { err = AVERROR_INVALIDDATA;