Jump to content


Photo

IPTV Plugin users

iptv

  • Please log in to reply
30 replies to this topic

#1 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 08:04 AM

Hi,

 

Would it be possible to limit the IPTV channels to specific users (like we do with libraries), I have just installed and added our security cameras to the IPTV plugin and there appears to be no way of limiting who can see what, obviously I don't want friends and family seeing our cameras, just us.

 

The plugin is working brilliantly, I tried the tv plugin a while back with m3u file and couldn't get it to work properly, but this works really well.

 

This would be a really useful feature.



#2 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 08:18 AM

Just realised the source for this plugin is available and there's a "isAvailableFor" function which returns true for every user, so I should be able to hack this in fairly easily if it works how I expect it to.

 

This would be a nice feature though.



#3 legallink OFFLINE  

legallink

    Advanced Member

  • Alpha Testers
  • 1246 posts
  • Local time: 12:40 PM

Posted 16 April 2019 - 08:55 AM

Can it not be restricted either via live tv access or channel access in each users profile?

#4 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 09:44 AM

Can it not be restricted either via live tv access or channel access in each users profile?

 

Cheers, must have had a brain fart, yep I can disable the IPTV channel for those users through their profile.  Perfect.



#5 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 11:24 AM

@Luke as this is one of yours judging by the git repo, I'm seeing a time delay in the rtsp stream.  If I open it in emby it takes maybe 7-8 seconds before it starts to play which corresponds to the amount of real time lag I'm seeing.  If I open the stream in VLC there appears to be no lag, it's in realtime (although there is "corruption" of the stream until it receives key frames)

 

Any thoughts on this?



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 16 April 2019 - 11:26 AM

No thoughts. How to report a media playback issue:
https://emby.media/c...port-a-problem/
Thanks.

#7 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 11:34 AM

No thoughts. How to report a media playback issue:
https://emby.media/c...port-a-problem/
Thanks.

 

Having a read around it appears that the "-probesize" switch for ffmpeg should be set to a low value for low latency streaming (just read a load of pages from a google search and they all say the same thing), is it possible to do this?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 16 April 2019 - 11:46 AM

No it's not. That can also cause problems.

#9 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 16 April 2019 - 11:58 AM

No it's not. That can also cause problems.

 

Yeah, I appreciate that it's probably not desired for 99% of applications, but for rtsp streaming it appears to be a requirement for low latency streaming.  I wish there were an option in transcoding settings to add your own switches to ffmpeg (with warning, only for developers) so that testing things like this was easier.



#10 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 18 November 2019 - 08:24 PM

i realise this is a different issue, but i believe it’s related to this as it has the same behaviour.

 

Live TV is incredibly slow to switch channels, we’re talking 5+ seconds.  i’m using tvheadend with a m3u playlist in emby.  If i directly start a stream in VLC it’s pretty much instant at playing, but emby takes an age to get going.



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 18 November 2019 - 09:02 PM

What kind of tuner? If it's something you can import into emby directly without tvh it will likely be better.

#12 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 19 November 2019 - 12:36 AM

What kind of tuner? If it's something you can import into emby directly without tvh it will likely be better.

 

 

Sadly not, i’m using the xboxone usb tuners but my emby is a docker container under unraid, unraid doesn’t include the drivers for dvb cards so it won’t work.  there is a modified kernel with the DVB drivers, but i already use the Nvidia kernel for hardware transcoding.



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 19 November 2019 - 12:40 AM

What are you trying to compare against Vlc?



#14 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 19 November 2019 - 05:20 AM

What are you trying to compare against Vlc?

 

A stream, if I manually copy say the "BBC ONE" entry from the m3u and paste it into VLC it starts almost immediately.

 

If I select "BBC ONE" in Emby then it takes considerably longer for the playback to begin.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 19 November 2019 - 10:54 AM

What do you mean in Emby? What Emby app?



#16 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 19 November 2019 - 10:59 AM

What do you mean in Emby? What Emby app?

 

If I go to the channel in live tv and open it then it takes quite a while before it starts to stream from emby.

 

If I copy the same stream (or a different one so that the tuner is not set to it) http link from the m3u file into VLC it plays almost immediately.

 

Doesn't matter which emby client, I've tried Shield (Adnroid TV), iOS (iPad & iPhone), Web client, they all behave exactly the same say, it takes a long time for the stream to start from inside emby from live tv.

 

I'm running all the latest clients and my server is running the latest beta.



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 19 November 2019 - 11:01 AM

You can't compare the web app to Vlc as it has limited format support. if you want to make an equal comparison, try something like Emby Theater for Windows desktop.



#18 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 19 November 2019 - 12:34 PM

You can't compare the web app to Vlc as it has limited format support. if you want to make an equal comparison, try something like Emby Theater for Windows desktop.

 

I had a quick go on a VM (I'm a mac user) running on my unraid server, it still didn't seem as quick as I'd expect, but I'll have to do more testing to be sure.



#19 fizzyade OFFLINE  

fizzyade

    Advanced Member

  • Members
  • 225 posts
  • Local time: 05:40 PM

Posted 19 November 2019 - 02:15 PM

You can't compare the web app to Vlc as it has limited format support. if you want to make an equal comparison, try something like Emby Theater for Windows desktop.

 

 

actually, i’ve just tried again on my shield and it’s showing as direct streaming in emby to it.  i only mentioned web before as it was one thing i tried, but i don’t actually use the web client, 99% of the time its playback through the shield.

 

And the issue still shows up, theres a considerable lag before playback starts on the nvidia shield when it is direct streaming from the server.  As mentioned, playing the same stream directly in VLC (cutting and pasting the link from the m3u file) results in almost immediate playback.

 

Both VLC and Emby are effectively direct streaming unless i’m missing something fundamental here.



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:40 PM

Posted 19 November 2019 - 02:33 PM

We'd have to look at an example. Thanks.







Also tagged with one or more of these keywords: iptv

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users