Changeset 93020752782611894027dae8276b1a489ac5eea3
- 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
| r982c2c8 |
r9302075 |
|
| 1284 | 1284 | p += sprintf( p, "e=%s\r\n", p_media->psz_session_email ); |
|---|
| 1285 | 1285 | |
|---|
| | 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" ); |
|---|
| 1286 | 1288 | 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 | |
|---|
| 1290 | 1290 | |
|---|
| 1291 | 1291 | if( p_media->i_length > 0 ) |
|---|
| rb331a74 |
r9302075 |
|
| 525 | 525 | |
|---|
| 526 | 526 | /* 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 |
|---|
| 528 | 528 | All text fields should be UTF-8 encoded. Use global a:charset to announce this. |
|---|
| 529 | 529 | 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 |
|---|
| 532 | 531 | o= don't use the localhost address. use fully qualified domain name or IP4 address |
|---|
| 533 | 532 | p= international phone number (pass via vars?) |
|---|
| 534 | | c= IP6 support |
|---|
| 535 | 533 | a= recvonly (missing) |
|---|
| 536 | 534 | a= type:broadcast (missing) |
|---|
| … | … | |
| 556 | 554 | "u=%s\r\n" |
|---|
| 557 | 555 | "e=%s\r\n" |
|---|
| | 556 | "c=IN IP%c %s%s\r\n" |
|---|
| | 557 | "a=tool:"PACKAGE_STRING"\r\n" |
|---|
| 558 | 558 | "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" |
|---|
| 561 | 559 | "m=video %d RTP/AVP %d\r\n" |
|---|
| 562 | 560 | "a=rtpmap:%d %s\r\n", |
|---|