Timeshift instructions for IPTV/OTT Providers
It is possible to add support for archived programming (Time Shift), located on the server of IPTV/OTT provider.
If you are an IPTV/OTT provider, you can implement archived programming support in the following way:
- Organize time cues on channel streams using the Unix Time format parameter (in seconds) added to stream URL. For example, http://our.stream.url:8080/some_stream_info/?utc=1425988050&lutc=1425988225, where utc=1425988050 is the date of Tue, 10 Mar 2015 11:47:30 GMT, which is added to the URL automatically by the application, when the user selects some specific programme using EPG list for the current day or day in the past (up to 15 days back). Also, another optional parameter lutc=1425988225, is added to the URL, which specifies the current time. You can check the functionality of the archived programming by loading the full archived stream URL to the VLC application, which should start on specific time cue. Use Epoch Converter to find necessary Unix Time.
- Publish the list of channels (EPG codes) that contain archived programming in (preferably) JSON format using external link. These channels will be marked by green pictogram in the application. File content example: ["nbc","cnn","eurosport"] etc.
- Provide the channel list (EPG codes) URL and part of domain name (or IP address), which the app will recognize as your provider’s stream URL, by e-mail.