MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart (1 Viewer)

Status
Not open for further replies.

Kupferdings

Portal Member
July 9, 2010
5
1
Germany Germany
Country flag
MediaPortal 2 Version: 2.1.3

Description
Hi there,

first of all many thanks for all the great work you are doing!
I run a MediaPortal 2 Server inside a Windows 10 Pro 1709 VM which is hosted by KVM / Qemu and can access Digital Devices Dual DVB-S2 Tuner card of the host by using PCI passthrough. This is all working very well.
There are two network interfaces in Windows 10, as there are two networks at my home. The problem is, that the TVServer forgets which interface to use on every restart of the system or even the service. The server configuration UI always shows "auto" as the selected option and the automatic selection selects the first interface of the two interfaces in the comboBox. It is possible to select the right interface and LiveTV works afterwards but after restart it is "auto" again and the first interface is used.

This is quite annoying in a multi homed environment as the TVServer is not reboot safe and requires regular manual work which strongly reduces the acceptance for the system of other family members.

Hopefully I don't missed anything. If you need any further information just let me know, I will try to do my best for solving this.


P.S.: Is there a special reason for just listening at one interface and not all interfaces? I don't know if it is related to this issue but e.g. UPnP works an all interfaces and a client can connect to the server from both networks but LiveTV only works in the selected network. This requires a more complex routing to make the TVServer available in more than one network. I asked this already in the german forum (Live TV in zwei Netzwerke streamen) but didn't get any answer. Should I open a second thread here for this topic?

Steps to Reproduce:
1. Start TVService
2. Start server configuration
3. Select Streaming Server configuration
4. ComboBox for interface selection shows "Auto" and contains two interfaces / ip adresses
5. Select second interface
6. Click "Apply" and wait for restart dialog to disappear
7. Everything is fine, server listens on port 554 of selected interface
8. Close server configuration
9. Restart TVService
10. Server listens on port 554 of different interface
11. Start server configuration
12. Select Streaming Server configuration
13. ComboBox for interface selection shows "Auto" again
 

ulischultz

Portal Pro
September 16, 2009
156
8
Munich
Germany Germany
I can confirm that. It always returns to "auto" after service restart.
But with "auto" streaming does not work if you have several ip-adresses on the server.
It only works if I select one specific IP.
 

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Germany Germany
    Country flag
    If this is something embedded in the TVServer plugin, it is more fundamental. When TVE 3.0 was developed, multi-network environments were probably not that common.

    @morpheus_xx , can you comment on the issue? Is this something that can be brought up in the TVE rework thread?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,722
    7,104
    Germany Germany
    Country flag
    Indeed this looks like a bug inside MP2's implementation. The "server" gets reset to the hostname. This was done to fix startup issues when the old name/IP does no longer exists (host rename, IP address change).

    My logic does only consider the hostname in check, but does not include all the valid IP adresses of the host. I will look for a fix.

    References for later:
    MediaPortal/MediaPortal-1
    MediaPortal/MediaPortal-2
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    P MP2 TV Recording Logs General 1
    T MP2 - V2.3 MP2 Won't Restart, Requires System Reboot Submit: Bug Reports 2
    ge2301 MP2 - V2.4 [MP2-863] Extend View Mode Settings MediaPortal 2 8
    porky996t Outdated Tuning Parameters in MP2 TVServer Config TV-Server 0
    B IRSS shows button presses, nothing happening out-of-the-box in MP2 Newcomers Forum 1
    D MP2 DLNA status? General 10
    N [solved] MP2 TV-Server DD cine 2 V6, Astra keine deutschen Sender mehr General 4
    H MP2 - V2.4 [MP2-855] Extend Nereus HomeMenuEditor to allow configuration of HomeContent features MediaPortal 2 16
    M MP2 - V2.3 MP2 & USB Problems Submit: Bug Reports 43
    L MP2 - V2.3 Troubles upgrading from MP2 2.2.3 to 2.3 General 0
    T MP2 - V2.3 MP2 x64 won't run Submit: Bug Reports 5
    J Copying Old VHS tapes Newcomers Forum 8
    W MP2 - V2.3 MP2 2.3 Import von Audioquellen / Datenbankprobleme Allgemeines Support- und Diskussionsforum 26
    G MP2 - V2.3 New install and crashing MP2-2.3 General 6
    S MP2 - V2.3 MP2 No video General 6
    W [solved] MP2 Server stürzt immer nach kurzer Zeit ab Allgemeines Support- und Diskussionsforum 89
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 7
    Grisu002 MP2 - V2.3 MP2 2.3 Client startet nicht - bleibt beim Laden hängen Allgemeines Support- und Diskussionsforum 64
    M [solved] MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 2
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx MP2 - V2.4 Porting MP2 to .Net (Core) 5 MediaPortal 2 49
    da3dsoul Does MP2 not have any active devs? General 8

    Similar threads

    Top Bottom