Project

General

Profile

Bug #3199

tvh sends multiple capmt messages when a second encrypted service starts

Added by B C about 9 years ago. Updated about 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2015-10-23
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1.731
Affected Versions:

Description

Maybe it's by design, but it just doesn't look right to me. Let's say I'm running one encrypted service on adapter 2 and now a second decrypted service is started on adapter 3. I would not expect this to cause any reparsing of service from adapter 2, but I get the following

tvhs log:

2015-10-23 10:43:05.012 [   INFO]:capmt: OSCAM Local: Starting CAPMT server for service "Universal HD" on adapter 3 seq 0x0012
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: New caid 0x098C for service "Universal HD" 
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: adding ECMPID=0x1A35 (6709), CAID=0x98C (2444) PROVID=0x0 (0), SID=101, ADAPTER=3
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: Trying to obtain key for service "Universal HD" 
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: adding ECMPID=0x1A54 (6740), CAID=0x98C (2444) PROVID=0x0 (0), SID=127, ADAPTER=2
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: adding ECMPID=0x1F54 (8020), CAID=0x9AF (2479) PROVID=0x0 (0), SID=127, ADAPTER=2
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: adding ECMPID=0x1B54 (6996), CAID=0x9C4 (2500) PROVID=0x0 (0), SID=127, ADAPTER=2
2015-10-23 10:43:05.012 [  DEBUG]:capmt: OSCAM Local: adding ECMPID=0x1854 (6228), CAID=0x1833 (6195) PROVID=0x0 (0), SID=127, ADAPTER=2
2015-10-23 10:43:05.012 [  TRACE]:capmt: OSCAM Local: Sending message to socket 32 (sid 101)
2015-10-23 10:43:05.012 [  TRACE]:capmt: OSCAM Local: Sending message to socket 32 (sid 127)
2015-10-23 10:43:05.012 [  TRACE]:capmt: OSCAM Local: Received message from socket 32
2015-10-23 10:43:05.012 [  TRACE]:capmt: OSCAM Local: setting filter: adapter=3, demux=1, filter=0, pid=6709
2015-10-23 10:43:05.016 [  TRACE]:capmt: OSCAM Local: Received message from socket 32
2015-10-23 10:43:05.016 [  TRACE]:capmt: OSCAM Local: setting filter: adapter=2, demux=0, filter=7, pid=17
2015-10-23 10:43:05.447 [  TRACE]:capmt: filter match pid 6709 len 152 emm 0
2015-10-23 10:43:05.447 [  TRACE]:capmt: OSCAM Local: Sending message to socket 32 (sid 0)

oscams output:

2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 continue decoding of SRVID 007F
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 098C ECM_PID: 1A54 PROVID: 000000 
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 ecmpid 1 CAID: 09AF ECM_PID: 1F54 PROVID: 000000 
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 ecmpid 2 CAID: 09C4 ECM_PID: 1B54 PROVID: 000000 
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 ecmpid 3 CAID: 1833 ECM_PID: 1854 PROVID: 000000 
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 found 4 ECMpids and 1 STREAMpids in PMT
2015/10/23 11:06:15 73566447 c   (dvbapi) Demuxer 0 serving srvid 007F (13th Street HD) on adapter 0002 camask 0004 index 0000 pmtpid 0000
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 ecmpid 0 CAID: 0500 ECM_PID: 02ED PROVID: 060200 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 ecmpid 1 CAID: 0500 ECM_PID: 02CF PROVID: 023800 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 ecmpid 2 CAID: 0500 ECM_PID: 02D9 PROVID: 040810 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 ecmpid 3 CAID: 0500 ECM_PID: 02E3 PROVID: 050800 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 found 4 ECMpids and 1 STREAMpids in PMT
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 serving srvid 4331 (SRF 1 HD) on adapter 0003 camask 0008 index 0000 pmtpid 0000
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 trying to descramble PID 0 CAID 0500 PROVID 060200 ECMPID 02ED ANY CHID PMTPID 0000 VPID 0014
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 trying to descramble PID 1 CAID 0500 PROVID 023800 ECMPID 02CF ANY CHID PMTPID 0000 VPID 0014
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 trying to descramble PID 2 CAID 0500 PROVID 040810 ECMPID 02D9 ANY CHID PMTPID 0000 VPID 0014
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 1 trying to descramble PID 3 CAID 0500 PROVID 050800 ECMPID 02E3 ANY CHID PMTPID 0000 VPID 0014
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 continue decoding of SRVID 007F
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 098C ECM_PID: 1A54 PROVID: 000000 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 ecmpid 1 CAID: 09AF ECM_PID: 1F54 PROVID: 000000 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 ecmpid 2 CAID: 09C4 ECM_PID: 1B54 PROVID: 000000 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 ecmpid 3 CAID: 1833 ECM_PID: 1854 PROVID: 000000 
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 found 4 ECMpids and 1 STREAMpids in PMT
2015/10/23 11:06:18 73566447 c   (dvbapi) Demuxer 0 serving srvid 007F (13th Street HD) on adapter 0002 camask 0004 index 0000 pmtpid 0000

so it's readding the ecmfilter for the running sid(101), sends both PMTs etc. If this is not the intended behaviour then I'm happy to provide detailed and more meaningfull logs

History

#1

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Invalid

It's the way how dvbapi in oscam works. The client asks for all services at once, otherwise unlisted services are deleted. See capmt_enumerate_services() in src/descrambler/capmt.c .

Also available in: Atom PDF