When I tried to run gstreamer-receive example, Gstreamer pipeline couldn't start the stream. so I checked out the generated sdp from my browser (chrome) and I saw the Payload Type for codecs are not matching with the one provided for gstreamer pipeline.
In order to know the payload type for the pipeline, it's better to get it from the SDP. So I added payload type as a parameter to CreatePipeline function in gstreamer-sink and injected it using track.PayloadType()
Description
When I tried to run
gstreamer-receive
example, Gstreamer pipeline couldn't start the stream. so I checked out the generated sdp from my browser (chrome) and I saw the Payload Type for codecs are not matching with the one provided for gstreamer pipeline. In order to know the payload type for the pipeline, it's better to get it from the SDP. So I added payload type as a parameter to CreatePipeline function in gstreamer-sink and injected it usingtrack.PayloadType()
Reference issue