clock_time = gst_clock_get_time (clock);
if (bin->use_pipeline_clock) {
- ntpns = clock_time;
+ ntpns = clock_time - base_time;
} else {
GTimeVal current;
g_object_class_install_property (gobject_class, PROP_USE_PIPELINE_CLOCK,
g_param_spec_boolean ("use-pipeline-clock", "Use pipeline clock",
- "Use the pipeline clock to set the NTP time in the RTCP SR messages",
+ "Use the pipeline running-time to set the NTP time in the RTCP SR messages",
DEFAULT_USE_PIPELINE_CLOCK,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
g_object_class_install_property (gobject_class, PROP_USE_PIPELINE_CLOCK,
g_param_spec_boolean ("use-pipeline-clock", "Use pipeline clock",
- "Use the pipeline clock to set the NTP time in the RTCP SR messages",
+ "Use the pipeline running-time to set the NTP time in the RTCP SR messages",
DEFAULT_USE_PIPELINE_CLOCK,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
clock_time = gst_clock_get_time (clock);
if (rtpsession->priv->use_pipeline_clock) {
- ntpns = clock_time;
+ ntpns = clock_time - base_time;
} else {
GTimeVal current;