How to work with Safari issues (<12.1)
Although the latest versions of Safari support WebRTC, users still may experience some issues with video calls. Previously, Safari used only the H264 codec while other browsers used both H264 and VP8 popular codecs. In case your application uses Safari of version lower than 12.1, you can explicitly specify a video codec list conventionally called "scheme".
usage sample
That’s all the code we need to support video calls in Safari. Besides this, we’ll only need to create two users and a rule. Switch to the Users tab, create two users named user1 and user2 and set passwords for them. The active checkbox should be selected.

That's it! To learn how to use a demo, read this article.