mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
yweb: new version number 2.8.b.4, nhttpd 3.2.4
- add /control/crypt for crypto information
- add crypto information to streaminfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@482 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: a7187da658
Author: yjogol <yjogol2@online.de>
Date: 2010-03-13 (Sat, 13 Mar 2010)
This commit is contained in:
@@ -463,3 +463,19 @@ std::string CNeutrinoAPI::getAudioInfoAsString(void) {
|
||||
return out.str();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
std::string CNeutrinoAPI::getCryptInfoAsString(void) {
|
||||
extern int pmt_caids[4][11];
|
||||
unsigned short i,j;
|
||||
std::stringstream out;
|
||||
std::string casys[11]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","EBU:","XCrypt:","PowerVU:"};
|
||||
for(i=0;i<4;i++){
|
||||
for(j=0;j<11;j++){
|
||||
if(pmt_caids[i][j]){
|
||||
out << casys[j] << hex << pmt_caids[i][j]<< "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
return out.str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user