Changeset a10edeec0fbf5a5f6e3dabd03ca3af6e428fe08f
- Timestamp:
- 25/06/08 03:38:33
(4 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1214357913 -0700
- git-parent:
[16bf241c0ef8cb5ad5905817233af703080ed654]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1214357862 -0700
- Message:
Add RTMP option on the panel.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r16bf241 |
ra10edee |
|
| 426 | 426 | ui.protocolCombo->addItem("UDP/RTP (unicast)", QVariant("udp")); |
|---|
| 427 | 427 | ui.protocolCombo->addItem("UDP/RTP (multicast)", QVariant("udp")); |
|---|
| | 428 | ui.protocolCombo->addItem("RTMP", QVariant("rtmp")); |
|---|
| 428 | 429 | } |
|---|
| 429 | 430 | |
|---|
| … | … | |
| 439 | 440 | QString proto = ui.protocolCombo->itemData( idx_proto ).toString(); |
|---|
| 440 | 441 | |
|---|
| 441 | | ui.timeShift->setEnabled( idx_proto >= UDP_PROTO ); |
|---|
| | 442 | ui.timeShift->setEnabled( idx_proto == UDP_PROTO || |
|---|
| | 443 | idx_proto == UDPM_PROTO ); |
|---|
| 442 | 444 | ui.ipv6->setEnabled( idx_proto == UDP_PROTO ); |
|---|
| 443 | 445 | ui.addressText->setEnabled( idx_proto != UDP_PROTO ); |
|---|
| 444 | | ui.portSpin->setEnabled( idx_proto >= UDP_PROTO ); |
|---|
| | 446 | ui.portSpin->setEnabled( idx_proto == UDP_PROTO || |
|---|
| | 447 | idx_proto == UDPM_PROTO ); |
|---|
| 445 | 448 | |
|---|
| 446 | 449 | if( idx_proto == NO_PROTO ) return; |
|---|
| … | … | |
| 515 | 518 | mrl += QString(":%1").arg( ui.portSpin->value() ); |
|---|
| 516 | 519 | emit methodChanged("udp-caching"); |
|---|
| | 520 | case RTMP_PROTO: |
|---|
| | 521 | mrl = "rtmp://" + addr; |
|---|
| | 522 | emit methodChanged("rtmp-caching"); |
|---|
| | 523 | break; |
|---|
| | 524 | |
|---|
| 517 | 525 | } |
|---|
| 518 | 526 | } |
|---|
| r16bf241 |
ra10edee |
|
| 58 | 58 | RTSP_PROTO, |
|---|
| 59 | 59 | UDP_PROTO, |
|---|
| 60 | | UDPM_PROTO |
|---|
| | 60 | UDPM_PROTO, |
|---|
| | 61 | RTMP_PROTO |
|---|
| 61 | 62 | }; |
|---|
| 62 | 63 | |
|---|