IltmfPlay::put_AllowedStreams Example for C++

void SetPlayerAllowedStreams(IltmfPlay *pPlay) 
{ 
   long lAllowedStreams = ltmfPlay_Stream_Video; 
   // set the allowed player streams to Video 
   pPlay->put_AllowedStreams(lAllowedStreams); 
   // start the player 
   pPlay->Run(); 
   // get the allowed play streams 
   pPlay->get_AllowedStreams(&lAllowedStreams); 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.