Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

How to get RTPSession from rtpbin #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kingle-zhuang opened this issue Sep 20, 2023 · 0 comments
Closed

How to get RTPSession from rtpbin #274

kingle-zhuang opened this issue Sep 20, 2023 · 0 comments

Comments

@kingle-zhuang
Copy link

public class RTPSession extends GstObject
{
    protected RTPSession(Initializer init) {
        super(init);
    }

    protected RTPSession(Handle handle, boolean needRef) {
        super(handle, needRef);
    }
}

        RTPSession session = this.rtpbin.emit(RTPSession.class, "get-internal-session", 1);
        session.connect(name, RTCP_LISTENER.class, listener, new GstAPI.GstCallback() {
            @SuppressWarnings("unused")
            public void callback(Element element, Buffer buffer, boolean early, GPointer data) {
                listener.handle(element, buffer, early, data);
            }
        });
        
        for session still return null
        
        how to register class & how to get  RTPSession instance
@gstreamer-java gstreamer-java locked and limited conversation to collaborators Sep 20, 2023
@neilcsmith-net neilcsmith-net converted this issue into discussion #275 Sep 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant