Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - can mm-renderer reload cookies from cookie file during play of an HLS stream: (2 Items)
   
can mm-renderer reload cookies from cookie file during play of an HLS stream  
For the purpose of authentication schemes using HTTP cookies, is there a way to force mm-renderer to reload cookies from
 a cookie file during playback of HLS stream.

Its understood that we can set a cookie file to be read initially before playback start using mmr_context_parameters()  
and OPT_COOKIEFILE. Can we call mmr_context_parameters() or mmr_track_parameters() with OPT_COOKIEFILE parameter after 
during playback (i.e. after mmr_play()) to periodically force mm-renderer to re-read the cookie file, so as that mm-
renderer will use cookies that have been updated in the cookie file by the application ?
RE: can mm-renderer reload cookies from cookie file during play of an HLS stream  
No, mm-renderer only shows that context parameter to the MMF filters once, when it's building its graph for playback.  
The filters make their own copy, and any changes you make to the context parameter after that have no effect on the 
existing graph.

-----Original Message-----
From: Dave Mantel [mailto:community-noreply@qnx.com] 
Sent: Thursday, February 25, 2016 16:50
To: general-multimedia <general-multimedia@community.qnx.com>
Subject: can mm-renderer reload cookies from cookie file during play of an HLS stream

For the purpose of authentication schemes using HTTP cookies, is there a way to force mm-renderer to reload cookies from
 a cookie file during playback of HLS stream.

Its understood that we can set a cookie file to be read initially before playback start using mmr_context_parameters()  
and OPT_COOKIEFILE. Can we call mmr_context_parameters() or mmr_track_parameters() with OPT_COOKIEFILE parameter after 
during playback (i.e. after mmr_play()) to periodically force mm-renderer to re-read the cookie file, so as that mm-
renderer will use cookies that have been updated in the cookie file by the application ?



_______________________________________________

General
http://community.qnx.com/sf/go/post115871
To cancel your subscription to this discussion, please e-mail general-multimedia-unsubscribe@community.qnx.com