summaryrefslogtreecommitdiff
path: root/server/connectionIGMP.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/connectionIGMP.c')
-rw-r--r--server/connectionIGMP.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/connectionIGMP.c b/server/connectionIGMP.c
index 328fe44..1f8f3d8 100644
--- a/server/connectionIGMP.c
+++ b/server/connectionIGMP.c
@@ -43,11 +43,11 @@ bool cConnectionIGMP::SetChannel(cChannel *Channel, in_addr_t Dst)
void cConnectionIGMP::Welcome()
{
cDevice *device = NULL;
- if (ProvidesChannel(m_Channel, 0))
- device = GetDevice(m_Channel, 0);
+ if (ProvidesChannel(m_Channel, StreamdevServerSetup.IGMPPriority))
+ device = GetDevice(m_Channel, StreamdevServerSetup.IGMPPriority);
if (device != NULL) {
device->SwitchChannel(m_Channel, false);
- m_LiveStreamer = new cStreamdevLiveStreamer(0, this);
+ m_LiveStreamer = new cStreamdevLiveStreamer(StreamdevServerSetup.IGMPPriority, this);
if (m_LiveStreamer->SetChannel(m_Channel, m_StreamType)) {
m_LiveStreamer->SetDevice(device);
if (!SetDSCP())