Disconnects when streaming video

Hello, we are using Photon to stream a 4K video from an Oculus Go to an Android Phone, the image itself is a heavily compressed Texture2D JPG.

So this used to work fine until this month where our customer has reported frequent disconnects, and our application has become rather unusable because of this.

I am now wondering if we are streaming too much data, and why it would only be a problem until recently. We would be happy to get a paid account if this helps.

I've also been looking into photon bolt, and this example of streaming bytes is exactly what we are doing:
https://doc.photonengine.com/en-us/bolt/current/in-depth/streaming-bytes

Only we are using PUN, but it seemed to work fine up until now.
The tutorial link above also states "Be careful with how much data you stream, as there is a limit to how much you can."
So is there any indication on how much data we can stream?

Would it be a lot of work to switch from PUN to Bolt?

Comments

  • edit - okay I looked around and realize this might actually be because of the 3GB data limit per CCU, so we would have to get the $95 a month subscription. But what is the cost when you go over the limit?
  • MarkusMarkus admin
    We did not cap your traffic, so your issues are not related to that.
    Traffic pricing is shown on https://www.photonengine.com/en-US/PUN/pricing

    3 GB are included per each plan CCU
    additional traffic cost per overage GB:
    $ 0.05 Europe / Canada, East / Russia / Russia, East / USA, East / USA, West
    $ 0.10 Asia / Australia / Chinese Mainland / India / Japan / South America / South Korea

    So you should thoroughly calculate, what and how much you are sending. Also check your counters in the dashboard.

    Video streaming is not a typical use case for Photon.
  • frecreatefrecreate
    edited June 14
    Markus said:

    Video streaming is not a typical use case for Photon.

    Okay so would you recommend Photon Bolt or did you mean in general? It is not completely clear to me what the difference/advantage of bolt would be in this case. Also the pricing of bolt is the same?

  • TobiasTobias admin
    We had no bigger changes on the server-side of the Photon Cloud, so it sounds like something on the client side changed. Did you switch to a different Unity version? Other changes?

    You should try to identify if the problem is a network problem. Sending a lot of data can affect a wifi router negatively and this will in turn cause artefacts and such.

    While Video is not a typical usecase just yet, we are experimenting with it, too, using the Realtime API (part of PUN) to sync the video.

    Bolt has the option to connect clients directly, which could have benefits for 2 user sessions. However, as one client is the host, streaming video to more users will not be feasible. So it's not a scalable solution.
Sign In or Register to comment.