Open recaisinekli opened 8 years ago
Hi, thanks for getting in touch.
First, you can open up, the project on xcode, and try to manually adjust this parameters to see if they would have you.
Second, a new function call can be created with a few more options, to solve your problem
eg:
cordova.plugins.rtsplayer.watchOpt(videoUrl, options, cbOK, cbERR);
options = {
user,
pwd,
analyzeduration,
probesize,
/* other useful options */
}
Hi, thanks for the reply.
I tried to manually adjust the parameters using av_opt_set_int function as shown below. It didn't solve my problem but it may help someone else. Also I developed a new plugin which is based on VXG Video Player SDK. https://github.com/recaisinekli/rtspPlayer. I tested it with Hikvision IP camera and it works well.
av_opt_set_int(pFormatContext, "analyzeduration", 30000000, 0); av_opt_set_int(pFormatContext, "probesize", 75000000, 0);
Hi,
I compiled ffmpeg and compiled my iOS project which I'm trying to stream an IP camera. If I try to stream a file (rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov) it works well but in case of trying to stream my IP camera I got the warning below and the player stops.
Consider increasing the value for the 'analyzeduration' and 'probesize'.
How can I incerase these values? Do I have any chance to pass these parameters?
Thanks in advice.