Gennaro Gallo
2018-07-24 12:07:55 UTC
Hi,
in Onvif and Hikvision specification for edge recording access there is an
extra header information to add in PLAY command:
Onvif Specification:
https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v211.pdf
6.4.2
Rate-Control header field
This specification introduces the Rate-Control header field, which may be
either âyesâ or ânoâ.
If the field is not present, âyesâ is assumed, and the stream
is delivered in real time using
standard RTP timing mechanisms. If this field is ânoâ, the
stream is delivered as fast as
possible, using only the flow control provided by the transport to limit
the delivery rate.
The important difference between these two modes is that with
âRate-Control=yesâ, the server
is in control of the playback speed, whereas with âRate-Control=noâ the
client is in control of
the playback speed. Rate-controlled replay will typically only be
used by non-ONVIF specific clients as they will not specify
âRate-Control=noâ.
In the offical version of live555 this field is missing ( RequestRecord
class ) probably because it is a specific onvif field.
i think that a standard way to have this ( and other ) field could be the
adding of a generic extra header in RequestRecord class.
is it possible ?
Regards.
Gennaro Gallo
in Onvif and Hikvision specification for edge recording access there is an
extra header information to add in PLAY command:
Onvif Specification:
https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v211.pdf
6.4.2
Rate-Control header field
This specification introduces the Rate-Control header field, which may be
either âyesâ or ânoâ.
If the field is not present, âyesâ is assumed, and the stream
is delivered in real time using
standard RTP timing mechanisms. If this field is ânoâ, the
stream is delivered as fast as
possible, using only the flow control provided by the transport to limit
the delivery rate.
The important difference between these two modes is that with
âRate-Control=yesâ, the server
is in control of the playback speed, whereas with âRate-Control=noâ the
client is in control of
the playback speed. Rate-controlled replay will typically only be
used by non-ONVIF specific clients as they will not specify
âRate-Control=noâ.
In the offical version of live555 this field is missing ( RequestRecord
class ) probably because it is a specific onvif field.
i think that a standard way to have this ( and other ) field could be the
adding of a generic extra header in RequestRecord class.
is it possible ?
Regards.
Gennaro Gallo