Providers: IPTV, VOD, Radio, Streaming service does not work on Smart-STB - how to fix

Monday, 19 September 2016 | Views: 52631

Sometimes provider's streams may not work well due to limitations caused by the Smart TV and Tizen platform. Here is how to work around this

  • Configure your backend to support X-Forwarded-For header. We use this to pass Client's IP address because we cannot pass it directly due to platform limitations
  • Dear Providers of IPTV services . Please note that Smart TV's have very different security model due to their platforms and thus it's very different than other apps such as STBEmu, YASEM, etc. When you do upgrade on your portal software all you config. Settings are being overwritten. Solution: You need to read the X-Forwarded-For or X-Real-IP data that all TV's using the app are sending out. If you use other custom solution please make sure that you haven't disabled access for third party devices - check the config for "disable_third_party_devices" - it must be set to "false". Here is some more info that may help you: https://smart-stb.net/index.php?_url=/kb/for-providers/providers-iptv-vod-radio-streaming-service-does-not-work-on-smart-stb-how-to-fix

    more technical info:

    We see "unauthrised request" errors in the error log for your TV. We saw the same/similar errors with few other providers either giving out this or MPEG-TS stream with an message or returning a 403 or 401 errors from their servers. It seems the links by your provider are Temporary links tied to the IP address. Could you please ask your provider to process/parse the IP inside X-Forwarded-For / X-Real-IP that we send out or open port 88 (Apache backend) - this can solve the problem. Please note that the Smart STB app is seen as "proxy" with strict security settings while your TV accesses the Media URL directly and thus providing different IP and causing "Unauthorised" errors like this. More info for the Service Provider:

    If you are the Service Provider and want your clients to watch from the Smart STB app on their smart TV's then please read on. If you have setup your Portal as per the official instructions from Infomir http://wiki.infomir.eu/doku.php/en:stalker:install_and_configure

    Then you only need to open port 88 on your server to allow the Smart STB app to work with all TV streams, Timeshift and VOD properly. If you use custom Portal Solution (for example bundled with Xtream Codes) then you need to read the X-Forwarded-For or X-Real-IP data that all TV's using the app are sending out. If you use other custom solution please make sure that you haven't disabled access for third party devices - check the config for "disable_third_party_devices" - it must be set to "false".

  • Example configuration for nginx.
  • 
    
    server {
        listen       80;
        server_name  127.0.0.1;
     
        location / {
            proxy_pass http://127.0.0.1:88/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            
        }
     
        location ~* \.(mpg|mpeg|avi|ts|mkv|mp4|mov|m2ts|flv|m4v|srt|sub|ass)$ {
     
            send_timeout 6h;
            root /var/www/;
        }
    } 
    
    


    Example config

  • Other solution is to open port 88 that contains your Apache backend - usually Apache will pass correct client IP for default Stalker Portals configurations.
  • Please make sure to configure Storage (timeshift) and VOD sections for this as usually they also need this set to ensure direct stream flow to the client's IP address
  • To verify: check users panel of Portal and verify correct Client IP


    Note: sample IP 196.44.204.56 is the Client's current Public IP address passed correctly to your portal via the Smart STB app.

    In case of difficulties please let us know so we can advise you on correct method for content delivery to Smart-STB users.


    We do not offer or operate IPTV access, channels or providers.

    Back to list