Login   Register  
PHP Classes
elePHPant
Icontem

Mismatch profile token

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP ONVIF  >  All threads  >  Mismatch profile token  >  (Un) Subscribe thread alerts  
Subject:Mismatch profile token
Summary:token versus Name profile
Messages:1
Author:sinfoni
Date:2013-09-25 11:05:04
 

  1. Mismatch profile token   Reply   Report abuse  
Picture of sinfoni
sinfoni
2013-09-25 11:05:04
Great job !
Just one thing with _getProfileData :
$sources[$i][$inprofile]['profilename']=$profiles[$y]['Name'];
$sources[$i][$inprofile]['profiletoken']=$profiles[$y]['@attributes']['token'];
instead of
$sources[$i][$inprofile]['profiletoken']=$profiles[$y]['Name'];

In my Axis camera, Name and token are differents. For example, token is quality_h264 while Name is "quality h264". So subsequent call to GetStreamURI fails because it doesn't find the token.