Package org.gstreamer.lowlevel.GstAPI

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback


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


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

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

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

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

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

     *
     * @param listener Listener to be called when a new {@link Pad} is encountered
     * on the {@link Element}
     */
    public void connect(final NEW_DECODED_PAD listener) {
        connect(NEW_DECODED_PAD.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(DecodeBin elem, Pad pad, boolean last) {
                listener.newDecodedPad(elem, pad, last);
            }
        });
View Full Code Here

     *
     * @param listener Listener to be called when a new {@link Pad} is encountered
     * on the {@link Element}
     */
    public void connect(final REMOVED_DECODED_PAD listener) {
        connect(REMOVED_DECODED_PAD.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(DecodeBin elem, Pad pad) {
                listener.removedDecodedPad(elem, pad);
            }
        });
View Full Code Here

     *
     * @param listener Listener to be called when a new {@link Pad} is encountered
     * on the {@link Element}
     */
    public void connect(final UNKNOWN_TYPE listener) {
        connect(UNKNOWN_TYPE.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(DecodeBin elem, Pad pad, Caps caps) {
                listener.unknownType(elem, pad, caps);
            }
        });
View Full Code Here

   *
   * @param listener
   *            the listener to be called when the norm changes
   */
  public void connect(final VALUE_CHANGED listener) {
    element.connect(VALUE_CHANGED.class, listener, new GstCallback() {
      @SuppressWarnings("unused")
      public boolean callback(Pointer colorBalance,
          ColorBalanceChannel channel, int value) {
        listener.colorBalanceValueChanged(ColorBalance.this, channel,
            value);
View Full Code Here

TOP

Related Classes of org.gstreamer.lowlevel.GstAPI.GstCallback

Copyright © 2018 www.massapicom. 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.