Jump to content


Photo

Stream Relay proper handling


  • Please log in to reply
32 replies to this topic

#1 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 25 November 2023 - 12:55

So we all know there is already built in stream relay functionality in the nightly image.

 

We also know that when stream relay is active the channels in ChannelSelection screen got grayed out due to the specifics for the stream relay.

 

Also there is no frontend info due to that it handle it like a PVR channel.

 

So i made a cpp extensions and all above problems are gone. And stream relay channel have all its info.

 

We are still in testing and if not problems we will propose a PR here as well.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #2 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 25 November 2023 - 13:04

I was also looking to this one. There is also another issue the fake service ref I would like to get rid of. Maybe we should not create a caid stuff for it. But I currently have lack of time. Thanks in advance.
I hope not a cpp extension like a so file but more cpp l code adapted
Please note I was waiting for a year to find this as my first change for the streamrelay stuff I recently committed was already a year old. But stuck on these details.
The special bouquet is a quick and dirty work-a-round. Instead of the whitelist file we can also consider to set flags in lamedb. But this will never be compatible with channel editors.

Edited by littlesat, 25 November 2023 - 13:08.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #3 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 25 November 2023 - 18:59

Is it possible I can see a sneak peak?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #4 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 25 November 2023 - 19:06

Found it… also the fix https://github.com/O...848df66303c634a
But did you also cover when a remote server box does initiate a stream relay?

As far I can see it may resolve all the issues I experienced and why I withhold this for a year (and maybe those who developed stream relay at the powervu time get stuck on the work a round of the special bouquet)

And for me such things as ignore_sr you may write fully ignore_stream_relay as that is better self clarifying code.

Edited by littlesat, 25 November 2023 - 19:12.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #5 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 25 November 2023 - 20:00

I am not sure about how it will behave with remote server as stream relay. But it takes the settings in the enigma config so it should handle it in my opinion.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #6 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 25 November 2023 - 21:24

I’ll check as soon it is in and report to you.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #7 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 26 November 2023 - 08:16

OK. Thanks. But it will need some time test to be over.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #8 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 29 November 2023 - 12:50

So here it is the pull for that.

 

https://github.com/O...igma2/pull/3849


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #9 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 29 November 2023 - 13:20

Thanks…. Nice you needed to rename something due to duplicate and then suddenly the variable get a self explaining name ;)

Edited by littlesat, 29 November 2023 - 13:21.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #10 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 30 November 2023 - 12:44

This breaks the fallback tuner stuff at least for in the context menu in the channel selection you do not have all the options anymore (like add to stream relay bouquet etc...) + when you have the fallback it does not start to play at all.... At least on a remote client it is not stable at all..... so work to do... I'm afraid the detection is not properly. For the tuner stuff you need to check if it is local host in the http (127.0.0.1) and the correct port and when the ip is different no special handling is needed. Then you also do not need to check the IP or so.....

 

For the local box....

It still gives a new free tuner message when you zap e.g. from SyFy HD to ARD.... But in the channel list the channel becomes indeed white...

 

Sounds there is a lot more work to do here...

 

 

I just merged a commit regarding a GSOD due a a config import was missing.


Edited by littlesat, 30 November 2023 - 13:27.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #11 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 30 November 2023 - 14:03

For the local box....

It still gives a new free tuner message when you zap e.g. from SyFy HD to ARD.... But in the channel list the channel becomes indeed white...

 

 

For the messages for errors on zap from stream relay to another normal channel there is different part of the code that is not commited yet to pli.

 

Stay tuned for that.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #12 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 30 November 2023 - 14:06

This breaks the fallback tuner stuff at least for in the context menu in the channel selection you do not have all the options anymore (like add to stream relay bouquet etc...) + when you have the fallback it does not start to play at all.... At least on a remote client it is not stable at all..... so work to do... I'm afraid the detection is not properly. For the tuner stuff you need to check if it is local host in the http (127.0.0.1) and the correct port and when the ip is different no special handling is needed. Then you also do not need to check the IP or so.....

 

 

 

This i can not confirm nor fix since i can not test with fallback tuners.

There is detection for stream relay IP and Port if that is not in sref nothing is done.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #13 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 30 November 2023 - 15:10

 

For the local box....

It still gives a new free tuner message when you zap e.g. from SyFy HD to ARD.... But in the channel list the channel becomes indeed white...

 

 

For the messages for errors on zap from stream relay to another normal channel there is different part of the code that is not commited yet to pli.

 

Stay tuned for that.

 

 

 

Here it is fix for that part.

 

https://github.com/O...igma2/pull/3852


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #14 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 30 November 2023 - 17:32

Thanks... sorry as in the skin thread the same discussion was started... all seems to be fine now....

I still do not like the delay... but I'm afraid for now this is what we can do....  


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #15 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 30 November 2023 - 17:46

Regarding your question can we detect when tuner is freed...Well i will investigate that. But for now we have to stick with the workaround till we find a way to detect it.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #16 littlesat

  • PLi® Core member
  • 57,441 posts

+708
Excellent

Posted 30 November 2023 - 18:40

Yes exactly.... for now it is fine. Actually the issue is understood. The solution currently offered is not optimal.... so when there is time this needs to be further investigated... but maybe we still need 'just' a comment in the code that indicates why this is done by a timer.... 


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Stream Relay proper handling #17 DimitarCC

  • PLi® Contributor
  • 1,584 posts

+71
Good

Posted 30 November 2023 - 18:53

Yes that way is the best for now imho.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: Stream Relay proper handling #18 Abu Baniaz

  • PLi® Contributor
  • 2,527 posts

+64
Good

Posted 9 March 2024 - 18:19

From plain oscam 11735, (i.e without emu), stream relay support for the German channels has been added. The implementation is different to what was added to the emu-version which was coupled with powervu.  As the Stream relay changes were done to work in tandem with the emu-version, perhaps the changes can be looked at again for any possible improvements/simplifications.



Re: Stream Relay proper handling #19 WanWizard

  • PLi® Core member
  • 70,862 posts

+1,832
Excellent

Posted 9 March 2024 - 20:20

We've noticed, it uses libdvbdca, and doesn't build at the moment, we're working on it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: Stream Relay proper handling #20 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 18 April 2024 - 08:42

There are problems when using the motor and stream relay services.

The window with the rotor moving is not visible or visible for a couple of seconds.

Enigma2 immediately after switching(stream relay service) believes that the service can be decoded, although the motor has not yet reached the desired position.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K



6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users