I'm trying to use create a stream from a local file to test IMediaStream.send and other metadata capabilities.
The stream is being created in wowza as follows:
To test the stream I'm using the jwplayer, what worked very well for RTMP on Chrome/IE/etc, but it's giving the following error for HTTP on iPad's Safari.
IVHost vhost = VHostSingleton.getInstance(VHost.VHOST_DEFAULT, true);
IApplication app = vhost.getApplication("Teste1");
IApplicationInstance appInstance = app.getAppInstance("_definst_");
Stream stream1 = Stream.createInstance(vhost, app.getName(), "Stream1");
stream1.play("mp4:sample.mp4", 0, -1, true);
When I point the URL directly for a saved file on StorageDir directory It's played properly on Safari, but I need to have a live stream being generated to be able to add the metadata/cuepoints.
INFO server comment - onHTTPSessionCreate: 202670035
INFO server comment - onHTTPCupertinoStreamingSessionCreate: 202670035
WARN server comment Stream1 MediaReaderH264.open: java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.1.1\applications\Teste1\ondemand\Stream1 (O sistema não pode encontrar o arquivo especificado)
ERROR server comment - MediaReaderH264Cupertino.indexFile:java.lang.NullPointerException
Does someone have any idea?