PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 Where do you see that error? is it in the Channel screen?dropbox:-/ Can you give an example of the three inputs for your plugin please? Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) dropbox:-/ Can you give an example of the three inputs for your plugin please? The first two can be anything you want really. It is so the channel can distinguish the streams. Example: Name: {The name you want to label the Camera as in the Channel} Front Door Camera Id: {can be anything you want just not the same as another Id you have used} Camera1 Url: {an rtsp url for the live stream of the camera} rtsp://{username:pass@}ip:port/etc. Edited June 24, 2017 by chef Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 (edited) The first two can be anything you want really. It is so the channel can distinguish the streams. Example: Name: {The name you want to label the Camera as in the Channel} Front Door Camera Id: {can be anything you want just not the same as another Id you have used} Camera1 Url: {an rtsp url for the live stream of the camera} rtsp://{username:pass@}ip:port/etc. Does the rtsp need /videomain at the end?E.g Rtsp://username:passwrd@i.p:port/videomain I also now have two invalid entries and each time I delete them and restart emby service they re appear. Is there a manual way to clear the config file directory? What should we expect to see once a camera is successfully added? Edited June 24, 2017 by PrincessClevage Link to comment Share on other sites More sharing options...
gjviii 48 Posted June 24, 2017 Share Posted June 24, 2017 Can multiple cameras be added? i added the first with no issues. entered the second the same way and it doesnt appear to show. Link to comment Share on other sites More sharing options...
gjviii 48 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Also, it appears to play my 1 working camera fine in the web browser and the iphone app. it doesnt seem to work on WMC thanks Edited June 24, 2017 by gjviii Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 It seems my cameras do not support rtsp, but do work using http (tested in vlc). Would it be possible to add http support ? Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Does the rtsp need /videomain at the end? E.g Rtsp://username:passwrd@i.p:port/videomain I also now have two invalid entries and each time I delete them and restart emby service they re appear. Is there a manual way to clear the config file directory? What should we expect to see once a camera is successfully added? There is a list of cameras that appear under "Saved Cameras" on the config page. You should be able to remove the camera from the list on the config page and it will remove it from the channel. I'll take a look I it isn't working properly. As for the "RTSP" URL every manufacturers camera has different one. I had to use a free app called "ONVIF Device Manager" to figure out what my cameras rtsp URL was. Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) It seems my cameras do not support rtsp, but do work using http (tested in vlc). Would it be possible to add http support ?Yes, try putting the "http" stream in the URL line and see what happens.@@PrincessClevage Edited June 24, 2017 by chef Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Can multiple cameras be added? i added the first with no issues. entered the second the same way and it doesnt appear to show. Capture1.JPG Capture2.JPG Let me take a look at that, I had an issue with that as well. I thought that updating the "DataVersion" of the channel would work. Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 Yes, try putting the "http" stream in the URL line and see what happens.i use the http url that worked in vlc player but alas no camera feed,emby actually picked it up as a movie and added metadata lol Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) i use the http url that worked in vlc player but alas no camera feed,emby actually picked it up as a movie and added metadata lolIn the channel? Lol. Are you sure that your cameras don't have a setting for rtsp? It was really hard to find mine. The rtsp URLs are not always the same. Try googling: "ONVIF Device Manager" let it scan for your cameras and see if an rtsp URL shows up. You said FOSCAM I think, and I'm pretty sure try do have rtsp. Edited June 24, 2017 by chef Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 In the channel? Lol. Are you sure that your cameras don't have a setting for rtsp? It was really hard to find mine. The rtsp URLs are not always the same. Try googling: "ONVIF Device Manager" let it scan for your cameras and see if an rtsp URL shows up. You said FOSCAM I think, and I'm pretty sure try do have rtsp. http://foscam.us/forum/fi8918w-rtsp-stream-t12822.html Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) http://foscam.us/forum/fi8918w-rtsp-stream-t12822.html I see, but not to worry because we're gonna try and get it working What happens when you press the play button in the camera stream, after having added the http URL in the setup? Even though emby thinks it's a movie, does it display the camera stream? Edited June 24, 2017 by chef Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 I see, but not to worry because we're gonna try and get it working What happens when you press the play button in the camera stream, after having added the http URL in the setup? Even though emby thinks it's a movie, does it display the camera stream? Looks like it try to run a player but just get a black screen Here is what Emby identify a the camera as: Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Lol! okay, the black screen will usually last for about fifteen seconds before the emby has finished preparing the stream. Does the stream eventually start? If the stream starts, then I can combat the mis-recognition with a bit of code Edited June 24, 2017 by chef Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Okay I found a parameter which allows for the ChannelItem to have a set protocol. I'm going to add it to the plugin and see if it will allow you to choose "Http" or "Rtsp". One minute 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Thank you so much for testing. It's close to working I think. Please, if you don't mind: 1. remove the "IPCam.Xml" from the configuration folder, and the "IPCam.dll" from the plugin folder. 2. Restart the Server 3. Under Scheduled Tasks "Refresh Channel Items" 4. Copy the newer version of the "IPCam.dll" into the plugin folder 5. Restart the Server Choose your Camera info, and use the "Http" Protocol Let me know what happens @@PrincessClevage https://www.dropbox.com/s/k3lig2n9bwa3hye/IPCam.zip?dl=0 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Thank you so much for testing. It's close to working I think. Please, if you don't mind: 1. remove the "IPCam.Xml" from the configuration folder, and the "IPCam.dll" from the plugin folder. 2. Restart the Server 3. Under Scheduled Tasks "Refresh Channel Items" 4. Copy the newer version of the "IPCam.dll" into the plugin folder 5. Restart the Server Choose your Camera info, and use the "Http" Protocol Let me know what happens @@PrincessClevage https://www.dropbox.com/s/k3lig2n9bwa3hye/IPCam.zip?dl=0 The cake is rising my good Chef. Well done! A couple of points of interest Username and PW are clear text Are you thinking of integrating this with your message plugin? E.g configure Vera upon motion trigger to sent message to emby (your message plugin listening) which trigger motion alert message in emby client and pause current media if configured to, ( new acknowledgement "show Details" or "Close" may be required) and select show to launch appropriate camera stream with same same name in your plugin as the name in the alert. Love your work, thanks Chef. P.s works on ET (desktop) ET (windows store) ET (xbox1) Didn't work on ET (IOS) Additional cameras don't show up only original 1st camera added is displayed Edited June 24, 2017 by PrincessClevage Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Great news! Yea lets get some messages happening next. Now we have a IP camera live stream lets incorporate the message plugin into it and see if we can get some really cool stuff happening with emby and home security and automation. This should be very cool! Very exciting! I'm looking into adding more then one camera stream. Not exactly sure why it isn't working yet. Edited June 24, 2017 by chef 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Can multiple cameras be added? i added the first with no issues. entered the second the same way and it doesnt appear to show. Capture1.JPG Capture2.JPG I know how to fix this now 1 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 Should your plugin pass camera audio? The url I tested (and have working in the plugin) in vlc also played camera audio but currently not through the plugin. Link to comment Share on other sites More sharing options...
chef 3746 Posted June 24, 2017 Share Posted June 24, 2017 Should your plugin pass camera audio? The url I tested (and have working in the plugin) in vlc also played camera audio but currently not through the plugin. I could, I've seen code to make it happen, I would also have to include rtmp protocol to the channel. Let me see what I can do. Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 25, 2017 Share Posted June 25, 2017 (edited) I could, I've seen code to make it happen, I would also have to include rtmp protocol to the channel. Let me see what I can do. Sorry to mislead you Chef, I just tested the working camera again and audio pass through is working in ET (desktop) with a 3-5 second delay. Looks like it is client dependant and also you must enter the correct url for your camera video/audio feed (not just video) Edited June 25, 2017 by PrincessClevage 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted June 25, 2017 Share Posted June 25, 2017 Ops! So I accede tally called the configuration page in the ipcamera plugin the same as the messenger plugin, so when you open the config page for either plugin they open the same page. I am going to fix it up, and finish the message plugin. Get that in the catalog if I can 1 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 28, 2017 Share Posted June 28, 2017 (edited) I have just tried camera plugin again on iOS after update (iOS and Emby app both updated) and it now works on iOS (audio and video :-) Edited June 28, 2017 by PrincessClevage Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now