<span style="font-family:arial, sans-serif;font-size:12px;border-collapse:collapse">Hi all...<div>I am working on a ARM video server streaming a H264 flow of data over RTP protocol.</div>
<div>I am using appsrc module to inject data into the pipeline. </div><div>The server must start/stop streaming on remote-request basis; to satisfy this request I do gst_element_set_state (pipeline, GST_STATE_PLAYING) to start the streaming and </div>

<div>gst_element_set_state (pipeline, GST_STATE_PAUSED) to stop the streaming.</div><div>In other words the operation sequence is:</div><div> - create the pipeline and set its state to GST_STATE_PAUSED;</div><div> - wait for a StartStreaming request;</div>

<div> - set the pipeline status to GST_STATE_PLAYING and begin to inject data into the pipeline by means of push-buffer signal;</div><div> - when a StopStreaming request arrive, set GST_STATE_PAUSED the pipeline....</div>

<div> - and so on...</div><div><br></div><div>The problem is that after the second StartStreaming request is received , all the push-buffer operations return with <span style="font-family:monospace;font-size:medium;white-space:pre-wrap">GST_FLOW_UNEXPECTED error.</span></div>

<div><span style="font-family:monospace;font-size:medium;white-space:pre-wrap"><br></span></div><div><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">Can someone can help me?</span></div>
<div><span style="font-family:monospace;font-size:medium;white-space:pre-wrap"><br></span></div><div><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">Thanks</span></div><div><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">Fabio</span></div>

</span>