Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1686

get some PIDs

$
0
0

I'm doing some tests on serviceinfo screen that i'll show you when ready.

But I haven't found something.

 

We can get current Audio PID by using.... either

getServiceInfoValue(iServiceInformation.sAudioPID)

or …

service = self.session.nav.getCurrentService()
audio = service and service.audioTracks()
audioPID = audio.getTrackInfo(audio.getCurrentTrack()).getPID()

Now, to get Video or PCR PID I know I can use:

getServiceInfoValue(iServiceInformation.sVideoPID)
getServiceInfoValue(iServiceInformation.sPCRPID)

But I want to do it using the other way.

I don't find any code anywhere.

Does anybody know it ?


Viewing all articles
Browse latest Browse all 1686

Trending Articles