allow NetStream.Play.PublishNotify Message

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2154>
This commit is contained in:
Helmut Januschka 2021-04-10 20:34:26 +02:00
parent da9e012e8a
commit 7f60138ef6

View file

@ -1308,6 +1308,7 @@ on_publish_or_play_status (const gchar * command_name, GPtrArray * args,
}
} else {
if (g_strcmp0 (code, "NetStream.Play.Start") == 0 ||
g_strcmp0 (code, "NetStream.Play.PublishNotify") == 0 ||
g_strcmp0 (code, "NetStream.Play.Reset") == 0) {
GST_INFO ("play success: %s", info_dump->str);
g_task_return_boolean (task, TRUE);