Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Use correct RTCP description messages with REMAP #123

Open
lars18th opened this issue Mar 7, 2021 · 9 comments
Open

Request: Use correct RTCP description messages with REMAP #123

lars18th opened this issue Mar 7, 2021 · 9 comments
Labels

Comments

@lars18th
Copy link
Contributor

lars18th commented Mar 7, 2021

Hi @Barracuda09 ,

When using the remap functionality the RTCP messages describing the tuner status are (partially) incorrect. In fact, if you request a DVB-S2 frequency and then you remap it to a TSreader, then you receive the data of the second. Then instead of sending the data composed from this function:

std::string FrontendData::doAttributeDescribeString(const int streamID) const {

you receive the calculated inside this other function:
StringConverter::addFormattedString(desc,

And this can create troubles with clients. So I suggest a simple way to send the correct message. When you do a remap, store the original mtype and send the message based on this information.

I hope you'll want to consider this modification. Even without a high priority since not all clients interpret the messages completely to fully work.
Regards.

@lars18th
Copy link
Contributor Author

lars18th commented Mar 9, 2021

Hi @Barracuda09 ,

Some clients refuse to work because the values doesn't match. Please, take note that to check that the tunning is working, the client can check the requested frequency. So, I suggest to create a "fake" response for each modulation type and change only the value of the frequency based on the original remap (and perhaps the polarisation too). For example:

  • DVB-S2: ver=1.0;src=<srcID>;tuner=<feID>,240,1,15,<freq>,<polarisation>,dvbs,,,,,;pids=
  • DVB-T: ver=1.1;tuner=<feID>,240,1,15,<freq>,,dvbt,,,,,,,;pids=
  • DVB-C: ver=1.2;tuner=<feID>,240,1,15,<freq>,,dvbc,,,,,,;pids=

I feel you can improve this function to include the remmaping:

std::string FrontendData::doAttributeDescribeString(const int streamID) const {

And use it with all type of inputs (including the ver=1.5 that you've added for software frontends).

@Barracuda09 Barracuda09 added the bug label Mar 9, 2021
@Barracuda09
Copy link
Owner

Hi @lars18th

It should have worked like this. So if you have a DVB-S2 mapping to "ChildPIPE" is should give a DVB-S2 describe string.

I have to look into this why this is not occurring.

@lars18th
Copy link
Contributor Author

Hi @Barracuda09 ,

Please, check it. As in fact it doesn't work as expected.
And remember to centralize the ver=1.5 code inside the FrontendData class. As at time, the code is repeated multiple times inside the subclasses of software frontends.

Thank you to review it!

@lars18th
Copy link
Contributor Author

Hi @Barracuda09 ,

Almost the error is when remapping to a childpipe. So, perhaps the error is not when doing remaps from physical sources.

Regards.

@lars18th
Copy link
Contributor Author

Hi @Barracuda09 ,

I see that this is identical to #76. So please, close one of these issues as they're duplicated.

@lars18th
Copy link
Contributor Author

lars18th commented Apr 8, 2021

Hi @Barracuda09 ,

Any update on this?

@lars18th
Copy link
Contributor Author

This is related with #76 (but it isn't the same).

@lars18th
Copy link
Contributor Author

Hi @Barracuda09 ,

You'll want to fix this?

@lars18th
Copy link
Contributor Author

Hi @Barracuda09 ,

Please when you will commit my PR #179 close this issue. All troubles will be fixed.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants