Assuming this is iOS doesn't the native screen sharing capability handle that?
My charitable guess is they're adding support for chromecasting behind feature flags/AB testing, but don't yet have it correctly enabled/disabled. There was a lot of uproar over instagram immediately using the microphone/camera constantly, when they actually just always had the API initialized to make swiping to the camera snappier.
I find the conspiracy theories more compelling, but less likely.