Skip to content

Commit

Permalink
Prepare for initial AMD support
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd committed Aug 4, 2023
1 parent 70b3836 commit bce15ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selkies_gstreamer/gstwebrtc_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ def is_data_channel_ready(self):
[bool] -- true if data channel is open
"""

return self.data_channel and self.data_channel.get_property("ready-state").value_name == 'GST_WEBRTC_DATA_CHANNEL_STATE_OPEN'
return self.data_channel

def __send_data_channel_message(self, msg_type, data):
"""Sends message to the peer through the data channel
Expand Down

0 comments on commit bce15ba

Please sign in to comment.