Java Code Examples for org.kurento.client.MediaPipeline#getGstreamerDot()
The following examples show how to use
org.kurento.client.MediaPipeline#getGstreamerDot() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SimpleIceTest.java From kurento-java with Apache License 2.0 | 5 votes |
protected void saveGstreamerDot(String prefix, MediaPipeline mp) { if (mp != null) { String gstreamerDot = mp.getGstreamerDot(); String pipelineName = mp.getName(); String gstreamerDotFile = getDefaultOutputFile(prefix + pipelineName); try { FileUtils.writeStringToFile(new File(gstreamerDotFile), gstreamerDot); } catch (IOException e) { log.error("Problem saving GstreamerDot with prefix: {} and pipeline: {} in path: {} ", prefix, pipelineName, gstreamerDotFile); e.printStackTrace(); } } }
Example 2
Source File: ServerManagerTest.java From kurento-java with Apache License 2.0 | 5 votes |
@Test public void readPipelines() { MediaPipeline pipeline = kurentoClient.createMediaPipeline(); ServerManager serverManager = kurentoClient.getServerManager(); List<MediaPipeline> mediaPipelines = serverManager.getPipelines(); for (MediaPipeline p : mediaPipelines) { String gstreamerDot = p.getGstreamerDot(); System.out.println(p.getId() + ": " + gstreamerDot); } assertTrue(mediaPipelines.contains(pipeline)); }
Example 3
Source File: BaseRecorder.java From kurento-java with Apache License 2.0 | 4 votes |
protected void saveGstreamerDot(MediaPipeline mp) { if (mp != null) { gstreamerDot = mp.getGstreamerDot(); pipelineName = mp.getName(); } }