Examples of GstCallback


Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>pad-added</code> signal
     *
     * @param listener Listener to be called when a {@link Pad} is added to the {@link Element}.
     */
    public void connect(final PAD_ADDED listener) {
        connect(PAD_ADDED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(Element elem, Pad pad) {
                listener.padAdded(elem, pad);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>pad-added</code> signal
     *
     * @param listener Listener to be called when a {@link Pad} is removed from the {@link Element}.
     */
    public void connect(final PAD_REMOVED listener) {
        connect(PAD_REMOVED.class, listener,new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(Element elem, Pad pad) {
                listener.padRemoved(elem, pad);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     *
     * @param listener Listener to be called when the {@link Element} will has
     * finished generating dynamic pads.
     */
    public void connect(final NO_MORE_PADS listener) {
        connect(NO_MORE_PADS.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(Element elem) {
                listener.noMorePads(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>have-type</code> signal.
     *
     * @param listener Listener to be called when a new type is discovered.
     */
    public void connect(final HAVE_TYPE listener) {
        connect("have-type", HAVE_TYPE.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(Element elem, int probability, Caps caps) {
                listener.typeFound(elem, probability, caps);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-bye-ssrc</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_BYE_SSRC listener) {
        connect(ON_BYE_SSRC.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onByeSsrc(rtpbin, session, ssrc);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-bye-timeout</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_BYE_TIMEOUT listener) {
        connect(ON_BYE_TIMEOUT.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onByeTimeout(rtpbin, session, ssrc);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-new-ssrc</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_NEW_SSRC listener) {
        connect(ON_NEW_SSRC.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onNewSsrc(rtpbin, session, ssrc);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-npt-stop</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_NPT_STOP listener) {
        connect(ON_NPT_STOP.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onNptStop(rtpbin, session, ssrc);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-sender-timeout</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_SENDER_TIMEOUT listener) {
        connect(ON_SENDER_TIMEOUT.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onSenderTimeout(rtpbin, session, ssrc);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Add a listener for the <code>on-ssrc-active</code> signal on this RTPBin
     *
     * @param listener The listener to be called.
     */
    public void connect(final ON_SSRC_ACTIVE listener) {
        connect(ON_SSRC_ACTIVE.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(RTPBin rtpbin, int session, int ssrc) {
                listener.onSsrcActive(rtpbin, session, ssrc);
            }
        });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.