[ 
http://opencast.jira.com/browse/MH-7551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26076#comment-26076
 ] 

Rubén Pérez Vázquez commented on MH-7551:
-----------------------------------------

Hey, Adam! Please check stopCapture in CaptureAgentImpl. There are cases where 
you can exit the method without calling Pipeline.setState(State.NULL), and, 
according to the java-gstreamer wiki:

{quote}
Finally, after processing has completed, we need to clean up the pipeline by 
setting its state back to the default state, or else gstreamer will get upset.

        pipe.setState(State.NULL);
{quote}

I think this is the problem.
Also, I don't know why you use the pipeline bus to send an EOS event, when the 
preferred way to stop the pipeline is setting its state to stopped, or using 
the .stop() method. I see no reason for using such a convoluted syntax there...

> CA blocks access to the audio devices sometimes
> -----------------------------------------------
>
>                 Key: MH-7551
>                 URL: http://opencast.jira.com/browse/MH-7551
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Capture (Devices and Software)
>    Affects Versions: 1.1.x (branch), 1.2
>            Reporter: Rubén Pérez Vázquez
>            Assignee: Adam McKenzie
>            Priority: Release Blocker
>             Fix For: 1.1 
>
>         Attachments: alsa-info_rubencino.txt, arecord-error_rubencino.txt, 
> install_info_rubencino.txt, recording-error_rubencino.txt, running.txt
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to