manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
58 stars 25 forks source link

"unknown command" error, oscam >= r11169 #107

Closed glenvt18 closed 8 years ago

glenvt18 commented 8 years ago

It may be related to #102. Every time I change the number of channels in TS stream (all from the same transponder) I get this "unknown command" error. Restarting oscam on the fly helps to recover. The sequence is like this: 1 channel -> ok 2 channels -> error restart oscam -> ok 1 channel -> error restart oscam -> ok I've bisected oscam from r10389 to r11211 and found that it happens starting from r11169. Everything works fine with r11168. oscam is in socket mode (not network).

manio commented 8 years ago

Can you check it in network mode? update: I am asking because I've made a fix for the oscam commit you mentioned: http://www.streamboard.tv/oscam/changeset/11209/ But I am not sure if it also covers socket mode. Socket mode may be removed in my future plugin versions (maybe I have to explicit mark it as deprecated...).

glenvt18 commented 8 years ago

Just checked. Yes, it works with r11169 and r11211, up to 3 channels. Is the socket mode considered obsolete? EDIT. If so, I don't mind using the network mode. I just noticed that something was obviously broken in r11169 and it was easy to reproduce. Looks like nobody uses the socket mode now. So, this issue can be closed.

manio commented 8 years ago

Yes it is (but not mentioned in the plugin yet), read my update above^^^. Please just use network mode, socket mode will be removed. Network mode is more flexible and has a proper protocol versioning, while maintaining the old compatibility with socket mode (which is btw shared with other standard STBs in oscam) is a lot of work.

glenvt18 commented 8 years ago

OK. Thank you very much.