Hi,
I need to set the property of the client object from onHTTPCupertinoStreamingSessionCreate event eg :
httpCupertinoStreamingSession.getStream().getclient().getProperties().setProperty("info",hashMapData);
and later on access the same data from implementation of IMediaStreamFileMapper class like.
IClient client= stream.getClient();
mfmb=(Map)client.getProperties().getProperty("info");
But its giving me error nullpointer exception on the onHTTPCupertinoStreamingSessionCreate method where i am setting the object.
I tried setting the value of property in httpstreamersession object’s property rather then client for example -:
httpCupertinoStreamingSession.getStream().getHTTPStreamerSession().getProperties().setProperty("info",hashMapData);
and later accessing the same data from implementation of IMediaStreamFileMapper like
String cacheObject=(String)(stream.getHTTPStreamerSession().getProperties().getProperty("info"));
But this also seems to fail.
Can you suggest some way of setting the property value and accessing it later.?