Hello safari tech preview users,
I tried two Gstreamer pipelines to exercise h264 and h265 respectively to view in safari WebRTC experimental tech preview and neither of them decoded/rendered (no sdp errors and webrtcup event fired) in the browser. Any ideas why this may be the case? The 264 pipeline renders fine in a chrome browser and so I am puzzled why it is not working in Safari
gst-launch-1.0
videotestsrc !
videoscale ! videorate ! timeoverlay !
x264enc bitrate=256 tune=zerolatency !
rtph264pay ! udpsink host=example.com port=2640
gst-launch-1.0
videotestsrc !
videoscale ! videorate ! timeoverlay !
x265enc bitrate=256 tune=zerolatency !
rtph265pay ! udpsink host=example.com port=2650
Here is the snippet from streaming.jcfg
rtp-sample264: {
type = “rtp”;
id = “264”;
description = “livevideo264”;
metadata = “metadata264”;
audio = “no”;
video = “yes”;
audioport = “2642”
audiopt = “0”;
audiortpmap = “PCMU/8000/1”;
videoport = “2640”;
videopt = “96”;
videortpmap = “H264/90000”;
videofmtp = “packetization-mode=1”;
#videofmtp = “profile-level-id=42e01f;packetization-mode=1”
videobufferkf = “yes”;
}
rtp-sample265: {
type = “rtp”;
id = “265”;
description = “livevideo265”;
metadata = “metadata265”;
audio = “no”;
video = “yes”;
audioport = “2652”
audiopt = “0”;
audiortpmap = “PCMU/8000/1”;
videoport = “2650”;
videopt = “96”;
videortpmap = “H265/90000”;
videobufferkf = “yes”;
}
Since I got successful webrtcup negotiations in both instances and incoming packets are being received I am even more puzzled why no video in the browser
Thanks in advance for your insights. I am new to Safari Tech preview so please be gentle with me. I can confirm echo test h265 works /echotest.html?vcodec=h265
Anand