Trendnet TV-IP343PI camera
  • First, I know better, but I did not check the known working camera list!. The specs on this camera are very good, and it produces beautiful video. My application requires full high definition and good motion. It runs fine under Safari and Firefox without having to load any extra plug-ins. It also runs in VLC, if I just give it the RTSP address. The problem is I cannot get it to run in SecuritySpy.

    The camera supports both versions of ONVIF. When set up I get the following error message.

    "Error communicating with the network device "Network camera" 3.4.2,8440,400" Also when I ask for the profile I get the error message "400"

    I have tried a manual set up. I have searched the web for it, but I do not have the correct "request" command to get the camera started. A search of the web has been no help.

    I hope I can get it running with help from SecuritySpy community.

    Thanks Bob Ross
  • Hi Bob,

    This camera should work fine in SecuritySpy. A 400 error from the device means that it doesn't like the format of SecuitySpy's ONVIF request. You are using a rather old version of SecuritySpy and there have been some improvements related to ONVIF in newer versions, so this may well be the problem.

    So, please download and install the latest version of SecuritySpy (for free if you are a registered user of any previous 3.x version).

    If you are still having problems after upgrading, try any of the TRENDnet profiles built into SecuritySpy, as one of these should also work.
  • I was using a version a few update ago. I update it. Still no joy. I tried about half the Trendnet profiles with no luck

    The camera supports ONVIF 2.0 or 1.x something - tried both, still no luck.

    I hosed up the password and got an error for a Authentication error, which made sense.

    Other thoughts?
    Thanks
    Bob
  • I did a Wireshark on the camera communication. The computer asks:
    HTTP/XML - 555- POST /onvif/device_service HTTP/1.1
    Camera:
    TCP - 66 - 80-> 49560 [ACK] Seg=1 Ack=490 Win=3432 Len=0 TSval=8329905 Tsecr-782953221
    TCP -92- [TCP segment of a reassembled PDU]
    TCP -1514- [TCP segment of a reassembled PDU]
    HTTP/XML -334- HTTP/1.0 400 Bad Request

    The data in that last packet includes:
    Text> The action requested requires authorization and the sender is not authorized

    Bob
  • Hi Bob,

    Thanks for that, sometimes ONVIF cameras return the 400 error code even though the actual error is related to authentication.

    So - obvious question - are you sure you are entering the correct username/password for the camera into SecuritySpy? Try the admin username/password rather than one with lesser access.

    The other thing you can try is to set this up manually. I've had a look at the camera's user manual and the setup should be like this:

    - Set the device type to "Manual configuration”.
    - Enter the camera's IP address but leave the Port boxes empty.
    - Enter the camera’s username and password.
    - Select "RTSP TCP” from the Format menu.
    - Leave the Request box blank.

    The Request string is actually user-adjustable, so if it isn't working, log on to the camera and check the "RTSP Path" setting under the settings from stream 1 (Audio/Video Setting -> Video Setting. It should be blank. While you're there, try turning off the "RTSP Authentication" option under Network -> Network Setting -> RTSP Setting.

    Any luck?
  • I will Try man config tonight.

    Yes I'm logging as admin - If I log in with the incorrect password it tells me so.

    Bob
  • Hi Ben,

    Well it did not work, but the Manual setup as you described above caused a very different action. The computer 192.168.73.165 and the Camera 192.168.73.204 created 1.2 meg of data captured by Wireshark in a few seconds.

    The log error was this:

    Error communicating with the network device "Network camera" 3.4.7,70291,801 Data from network device not as expected.

    Here is the first part of the Wireshark file:

    No. Time Source Destination Protocol Length Info
    6575 1.590708000 192.168.73.165 192.168.73.204 TCP 78 51103→554 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=16 TSval=858892324 TSecr=0 SACK_PERM=1

    Frame 6575: 78 bytes on wire (624 bits), 78 bytes captured (624 bits) on interface 0
    Ethernet II, Src: Apple_94:e2:4a (68:5b:35:94:e2:4a), Dst: Trendnet_95:14:d3 (00:14:d1:95:14:d3)
    Internet Protocol Version 4, Src: 192.168.73.165 (192.168.73.165), Dst: 192.168.73.204 (192.168.73.204)
    Transmission Control Protocol, Src Port: 51103 (51103), Dst Port: 554 (554), Seq: 0, Len: 0

    No. Time Source Destination Protocol Length Info
    6599 1.592950000 192.168.73.204 192.168.73.165 TCP 74 554→51103 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 SACK_PERM=1 TSval=16980329 TSecr=858892324 WS=2

    Frame 6599: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface 0
    Ethernet II, Src: Trendnet_95:14:d3 (00:14:d1:95:14:d3), Dst: Apple_94:e2:4a (68:5b:35:94:e2:4a)
    Internet Protocol Version 4, Src: 192.168.73.204 (192.168.73.204), Dst: 192.168.73.165 (192.168.73.165)
    Transmission Control Protocol, Src Port: 554 (554), Dst Port: 51103 (51103), Seq: 0, Ack: 1, Len: 0

    No. Time Source Destination Protocol Length Info
    6601 1.593032000 192.168.73.165 192.168.73.204 TCP 66 51103→554 [ACK] Seq=1 Ack=1 Win=131760 Len=0 TSval=858892328 TSecr=16980329

    Frame 6601: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
    Ethernet II, Src: Apple_94:e2:4a (68:5b:35:94:e2:4a), Dst: Trendnet_95:14:d3 (00:14:d1:95:14:d3)
    Internet Protocol Version 4, Src: 192.168.73.165 (192.168.73.165), Dst: 192.168.73.204 (192.168.73.204)
    Transmission Control Protocol, Src Port: 51103 (51103), Dst Port: 554 (554), Seq: 1, Ack: 1, Len: 0

    No. Time Source Destination Protocol Length Info
    6741 1.616823000 192.168.73.165 192.168.73.204 RTSP 175 OPTIONS rtsp://192.168.73.204/ RTSP/1.0

    Frame 6741: 175 bytes on wire (1400 bits), 175 bytes captured (1400 bits) on interface 0
    Ethernet II, Src: Apple_94:e2:4a (68:5b:35:94:e2:4a), Dst: Trendnet_95:14:d3 (00:14:d1:95:14:d3)
    Internet Protocol Version 4, Src: 192.168.73.165 (192.168.73.165), Dst: 192.168.73.204 (192.168.73.204)
    Transmission Control Protocol, Src Port: 51103 (51103), Dst Port: 554 (554), Seq: 1, Ack: 1, Len: 109
    Real Time Streaming Protocol



    -=-=-=-=-== snip -=-=-=-=-=-=-=-

    No. Time Source Destination Protocol Length Info
    8305 1.940105000 192.168.73.204 192.168.73.165 RTP 1514 PT=DynamicRTP-Type-99, SSRC=0x566C38EB, Seq=44270, Time=3449934365

    Frame 8305: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits) on interface 0
    Ethernet II, Src: Trendnet_95:14:d3 (00:14:d1:95:14:d3), Dst: Apple_94:e2:4a (68:5b:35:94:e2:4a)
    Internet Protocol Version 4, Src: 192.168.73.204 (192.168.73.204), Dst: 192.168.73.165 (192.168.73.165)
    Transmission Control Protocol, Src Port: 554 (554), Dst Port: 51103 (51103), Seq: 2733, Ack: 733, Len: 1448
    [2 Reassembled TCP Segments (44 bytes): #8300(4), #8305(40)]
    RTSP Interleaved Frame, Channel: 0x00, 40 bytes
    Real-Time Transport Protocol
    RFC 2198: Redundant Audio Data
    RTSP Interleaved Frame, Channel: 0x00, 16 bytes
    Real-Time Transport Protocol
    RFC 2198: Redundant Audio Data
    RTSP Interleaved Frame, Channel: 0x00, 16 bytes
    Real-Time Transport Protocol
    RFC 2198: Redundant Audio Data

  • Hi Bob,

    That's rather strange, the error code indicates that the camera is sending a text/html page rather than an RTSP stream, but I can't see this reflected in the Wireshark data.

    I think the best way forward now would be for you to put your camera online temporarily so that we can connect to it from here and do some testing. To do this you will have to set up the port forwarding settings on your router to forward incoming connections to the camera on port 80 and 554 (plus whatever the ONVIF port is), and then email us your public IP address (or DDNS name, which can be set up in SecuritySpy's Web Server Setup window), as well as the camera's admin username and password. I hope this is OK for you to do. Let me know if you need more information about how to set this up.
  • That will not be a problem - I am at work now and will do it tonight.

    Thanks for all the help - BTW this camera does make VERY NICE pictures!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!