cpu load is 100% over when audio streaming is paused.
iris12
iris12 at gmail.com
Mon Jul 3 13:09:58 UTC 2017
Here is my pause code.
static void gst_native_pause (JNIEnv* env, jobject thiz) {
CustomData *data = GET_CUSTOM_DATA (env, thiz, custom_data_field_id_a);
if (!data) return;
GST_DEBUG ("Setting state to PAUSED Audio");
data->target_state = GST_STATE_PAUSED;
data->is_live = (gst_element_set_state (data->pipeline,
GST_STATE_PAUSED) == GST_STATE_CHANGE_NO_PREROLL);
}
and pipeline for audio below.
gst-launch-1.0 -v alsasrc device=plughw:1,0 !
audio/x-raw,rate=16000,depth=16,width=16, channels=1 ! queue ! tcpserversink
host=$ipadd port=$port_a
Is there any problem?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/cpu-load-is-100-over-when-audio-streaming-is-paused-tp4683642p4683653.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list