Jump to content


Photo

streamproxy and authentication


  • Please log in to reply
135 replies to this topic

Re: streamproxy and authentication #121 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 11 January 2019 - 13:13

@SpaceRat

I´ve seen today t the m3u8 file for streaming recorded movies doesn´´t include user credentials, not -sid and not caches users

 

I see the code in getStream

https://github.com/E...am.py#L109-L121

 

it is not found in getTS

https://github.com/E...am.py#L207-L220

 

is there a reason why getTS doesn´t create similar m3u8 requests with users if streaming auth is enable?


Edited by anudanan, 11 January 2019 - 13:18.

Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #122 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 11 January 2019 - 13:51

I´ve patched today stream.py on my box ot generate also credentials for streaming recorded movies.

 

getTS has now the same code for credential generation included as getStream

 

 

It works from my point of view


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #123 SpaceRat

  • Senior Member
  • 984 posts

+62
Good

Posted 11 January 2019 - 13:54

Please send that patched stream.py to me ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: streamproxy and authentication #124 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 11 January 2019 - 13:59

you´ve a PN


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #125 SpaceRat

  • Senior Member
  • 984 posts

+62
Good

Posted 11 January 2019 - 14:11

Merged: https://github.com/E...8e446ff7bdafa0f
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: streamproxy and authentication #126 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 11 January 2019 - 15:14

thx


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #127 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 16 January 2019 - 09:21

I´ve installed the latest OWIF from the 7.0-release feed from the buiild tonight 

https://github.com/O...7e5c25c95fdb18d

 

It works know with creating the correct credential for live TV and recorded movies  in stream.py (-sid user or noshell user)  but the patched httpserver.py from

https://github.com/O...be374fcee904ce5

 

is not included, so auth for transcodes streaming doesn´t work because he auth fails in httpserver.py if auth is enable

 

If I use the patched httpserver.pyo from the previous version of the feed, then it works

 

 

Is think yout must include the patch


Edited by anudanan, 16 January 2019 - 09:23.

Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #128 WanWizard

  • Forum Moderator
    PLi® Core member
  • 46,402 posts

+751
Excellent

Posted 16 January 2019 - 12:05

I've ported that commit to 7.0-release, will be in the next build.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: streamproxy and authentication #129 Erik Slagter

  • PLi® Core member
  • 45,013 posts

+491
Excellent

Posted 16 January 2019 - 19:20

It has side effects though, which I was planning to fix together with some other fixes. So it might not be the best approach.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: streamproxy and authentication #130 WanWizard

  • Forum Moderator
    PLi® Core member
  • 46,402 posts

+751
Excellent

Posted 16 January 2019 - 20:12

Sounds like a feature for 7.1-release. ;)


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: streamproxy and authentication #131 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 16 January 2019 - 20:31

Interesting: If there are new things available in future for testing,  feel free to give me the files


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #132 Erik Slagter

  • PLi® Core member
  • 45,013 posts

+491
Excellent

Posted 17 January 2019 - 17:51

Yes, I am planning improved OWIF / authentication support for 7.1. I'm already working on it. Which will also include proper audio track selection for live transcoding streams, did I already mention that?


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: streamproxy and authentication #133 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 17 January 2019 - 17:58

very great information   :)


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #134 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 21 January 2019 - 12:13

It works know with creating the correct credential for live TV and recorded movies  in stream.py (-sid user or noshell user)  but the patched httpserver.py from

https://github.com/O...be374fcee904ce5

 

is not included, so auth for transcodes streaming doesn´t work because he auth fails in httpserver.py if auth is enable

 

If I use the patched httpserver.pyo from the previous version of the feed, then it works

 

 

Is think yout must include the patch

 

With the 7.0 release from today it works  without patched from me 

 

thx


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and authentication #135 Erik Slagter

  • PLi® Core member
  • 45,013 posts

+491
Excellent

Posted 22 January 2019 - 19:37

That is correct, because it's "patched up" by us.

 

The work is going for 7.1 and I am not sure yet whether it will be able to suit your situation. The good news is, that you can always patch it yourself, you already did id before ;)


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: streamproxy and authentication #136 anudanan

  • Senior Member
  • 969 posts

+14
Neutral

Posted 22 January 2019 - 21:48

We will see what would be in the future. 

Since some days I´m able to build the complete openpli images on my old PC on ubuntu 18.04. Now it is possible for me to change also cpp code ;-)


Edited by anudanan, 22 January 2019 - 21:49.

Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 50PS8000, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users