The payload format defined by the ‘ONVIF’ document (section 5.1.2.1.1) is not 
described in an IETF RFC, so it is not an official Internet standard.  However, 
you can probably implement it using our “SimpleRTPSink” class.

Please read:
        http://live555.com/liveMedia/faq.html#liveInput-unicast

You will need to define and implement a “FramedSource” subclass that delivers - 
by reimplementing the “doGetNextFrame()” virtual function - a piece of 
‘metadata’ that you wish to stream.  You will also need to define and implement 
your own subclass of “OnDemandServerMediaSubsession”, and reimplement the 
following virtual member functions:
        - createNewStreamSource()
        - createNewRTPSink()
Your implementation of "createNewRTPSink()” should create (and return) a 
“SimpleRTPSink” object, by calling:
        SimpleRTPSink::createNew(envir(), rtpGroupsock, 
rtpPayloadTypeIfDynamic, 90000, “application”, “vnd.onvif.metadata”);

(Perhaps change the last parameter from “vnd.onvif.metadata” to one of the 
other values listed in section 5.2.2.4 of the ‘ONVIF’ document, depending on 
what kind of metadata you end up streaming.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to