Webrtc.get_request_pad("sink_%u") return None?

I try to run GStreamer python code(github.com/notedit/gstreamer-rtc-streamer) but get an error.

self.webrtc = Gst.ElementFactory.make(‘webrtcbin’)

def add_stream(self, stream):
self.pipe.add(stream)
if stream.audio_pad:
audio_sink_pad = self.webrtc.get_request_pad(‘sink_%u’)
stream.audio_pad.link(audio_sink_pad)

    if stream.video_pad:
        video_sink_pad = self.webrtc.get_request_pad('sink_%u')
        stream.video_pad.link(video_sink_pad)

    stream.sync_state_with_parent()
    self.streams.append(stream)

the problem is the code self.webrtc.get_request_pad(‘sink_%u’) return is None.

The same code can be executed smoothly on a desktop computer.

Hi,
Please check gstreamer version of the host PC. It is gstreamer 1.14.5 on Jetson Nano. The webrtc function may require newer version.

it is gstreamer 1.14.5 on PC. os ubuntu 18.04.

Hi,
Please set

$ export GST_DEBUG=*FACTORY*:4

And check if different plugins are picked on host PC and Jetson Nano. Probably certain must-have plugin is not installed on Jetson Nano.