<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>The odd thing is that it was working happily with the <i>promise</i>
      argument missing entirely, but after a rebuild against gstreamer
      1.20.2 it started crashing...  <br>
    </p>
    <div class="moz-cite-prefix">On 04/05/2022 13:17, Florian Echtler
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:f2967f3e-7460-fa03-45a2-97b9c0c40be4@butterbrot.org">Hello
      Rob,
      <br>
      <br>
      based on my (limited) understanding, this is unlikely to work, the
      offer will be empty in 99% of cases in your example. So you do
      need to wait for the promise to come back first.
      <br>
      <br>
      Best, Florian
      <br>
      <br>
      On 04.05.22 11:45, Rob Agar via gstreamer-devel wrote:
      <br>
      <blockquote type="cite">Basically is this OK?
        <br>
        <br>
        //setlocaldescription
        g_signal_emit_by_name(webrtc,"set-local-description",offer,
        NULL);
        <br>
        <br>
        //notifylistenertosendoffersignal
        <br>
        gchar*description=gst_sdp_message_as_text(offer->sdp);
        <br>
        LOG(description)
        <br>
        listener->onLocalOffer(description);
        <br>
        g_free(description);
        <br>
        <br>
        Or should we be passing a non-null promise argument, and only
        proceeding to send the offer when it notifies?
        <br>
        <br>
        cheers
        <br>
        <br>
        Rob
        <br>
        <br>
      </blockquote>
      <br>
      <br>
    </blockquote>
  </body>
</html>