Fix openh264 decode error caused by yuv stride

This commit is contained in:
dijunkun
2023-11-06 19:02:39 -08:00
parent 5ae756bf7f
commit 325f626fb5
9 changed files with 175 additions and 39 deletions

View File

@@ -73,7 +73,7 @@ int IceAgent::CreateIceAgent(nice_cb_state_changed_t on_state_changed,
turn_port_, turn_username_.c_str(),
turn_password_.c_str(), NICE_RELAY_TYPE_TURN_UDP);
g_object_set(agent_, "force-relay", true, NULL);
// g_object_set(agent_, "force-relay", true, NULL);
nice_agent_attach_recv(agent_, stream_id_, 1,
g_main_loop_get_context(gloop_), on_recv_,