Changeset 93020752782611894027dae8276b1a489ac5eea3

Show
Ignore:
Timestamp:
09/08/06 21:50:25 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1157745025 +0000
git-parent:

[68b76a9c2818db636384729d67698fca58a615d2]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1157745025 +0000
Message:

Fix SDP line ordering (closes #716)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/rtsp.c

    r982c2c8 r9302075  
    12841284        p += sprintf( p, "e=%s\r\n", p_media->psz_session_email ); 
    12851285 
     1286    p += sprintf( p, "c=IN IP%c %s\r\n", ipv, ipv == '6' ? "::" : "0.0.0.0" ); 
     1287    p += sprintf( p, "a=tool:"PACKAGE_STRING"\r\n" ); 
    12861288    p += sprintf( p, "t=0 0\r\n" ); /* FIXME */ 
    1287     p += sprintf( p, "a=tool:"PACKAGE_STRING"\r\n" ); 
    1288  
    1289     p += sprintf( p, "c=IN IP%c %s\r\n", ipv, ipv == '6' ? "::" : "0.0.0.0" ); 
     1289 
    12901290 
    12911291    if( p_media->i_length > 0 ) 
  • modules/stream_out/rtp.c

    rb331a74 r9302075  
    525525 
    526526        /* create the SDP for a muxed stream (only once) */ 
    527         /* FIXME  http://www.faqs.org/rfcs/rfc2327.html 
     527        /* FIXME  http://www.faqs.org/rfcs/rfc4566.html 
    528528           All text fields should be UTF-8 encoded. Use global a:charset to announce this. 
    529529           o= - should be local username (no spaces allowed) 
    530            o= time should be hashed with some other value to garantue uniqueness 
    531            o= we need IP6 support? 
     530           o= time should be hashed with some other value to garantee uniqueness 
    532531           o= don't use the localhost address. use fully qualified domain name or IP4 address 
    533532           p= international phone number (pass via vars?) 
    534            c= IP6 support 
    535533           a= recvonly (missing) 
    536534           a= type:broadcast (missing) 
     
    556554                  "u=%s\r\n" 
    557555                  "e=%s\r\n" 
     556                  "c=IN IP%c %s%s\r\n" 
     557                  "a=tool:"PACKAGE_STRING"\r\n" 
    558558                  "t=0 0\r\n" /* permanent stream */ /* when scheduled from vlm, we should set this info correctly */ 
    559                   "a=tool:"PACKAGE_STRING"\r\n" 
    560                   "c=IN IP%c %s%s\r\n" 
    561559                  "m=video %d RTP/AVP %d\r\n" 
    562560                  "a=rtpmap:%d %s\r\n",