Working Iphone/Ipad Profile
i found a working Iphone/Ipad iProfil (i used aceplayer, airplayer also possible):
- Code:
<Profile id="21" name="iPhone" extendsProfileId="1">
<Detection>
<HttpHeaders>
<User-Agent>.*Neptune.*</User-Agent>
</HttpHeaders>
</Detection>
<OnlineTranscoding>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="mp4"/>
<Matches container="asf" />
<Matches container="flv" />
</Video>
</OnlineTranscoding>
</Profile>
But i want to sniff the user agent, how can i do that ?