Giter VIP home page Giter VIP logo

Comments (5)

pork94 avatar pork94 commented on September 25, 2024 1

@ngraziano I have managed to stream metadata from the camera and stream the xml by converting the bytes to string. Thanks alot for the help!

from sharprtsp.

ngraziano avatar ngraziano commented on September 25, 2024

I have no experience with metadata from onvif camera.
If you have an RTSP URI for metadata you can use the RtspClientExample to try to connect to this url and change around line 754 to accept this stream of metadata.

from sharprtsp.

pork94 avatar pork94 commented on September 25, 2024

Alright thanks for the answer, however i have hit another stumbling block. I have a Samsung Techwin Camera and the RtspClientExample cant seems to grab the rtsp stream.

2021-09-06 14:12:08.9897|WARN|Rtsp.RtspListener|Unknow Error
2021-09-06 14:12:08.9897|DEBUG|Rtsp.RtspListener|Connection Close
2021-09-06 14:12:28.9637|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:28.9667|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 3
2021-09-06 14:12:48.9703|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 4
2021-09-06 14:13:08.9743|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 5

from sharprtsp.

pork94 avatar pork94 commented on September 25, 2024

Alright thanks for the answer, however i have hit another stumbling block. I have a Samsung Techwin Camera and the RtspClientExample cant seems to grab the rtsp stream.

2021-09-06 14:12:08.9897|WARN|Rtsp.RtspListener|Unknow Error
2021-09-06 14:12:08.9897|DEBUG|Rtsp.RtspListener|Connection Close
2021-09-06 14:12:28.9637|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:28.9667|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 3
2021-09-06 14:12:48.9703|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 4
2021-09-06 14:13:08.9743|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 5

I have solved this issue due to camera giving MJPEG instead of h264 stream.

But i modified the client a bit and found that there is only 2 streams from the RTSP. It seems that the metadata is embedded in RTP instead of RTSP.

from sharprtsp.

jay1891 avatar jay1891 commented on September 25, 2024

@pork94 I'm also in a situation to get the events. Could you please tell how to get this information and what changes you did in the rtsp cliënt?

from sharprtsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.