remove prints

This commit is contained in:
bwees 2025-05-29 11:25:25 -05:00
parent 4cc5ae472a
commit 325e057c69
No known key found for this signature in database

View File

@ -56,7 +56,6 @@ class GCastService implements ICastDestinationService {
}
void _onCastStatusCallback(CastSessionState state) {
print("Cast session state changed: $state");
if (state == CastSessionState.connected) {
onConnectionState?.call(true);
isConnected = true;
@ -68,7 +67,6 @@ class GCastService implements ICastDestinationService {
}
void _onCastMessageCallback(Map<String, dynamic> message) {
print("Received cast message: $message");
switch (message['type']) {
case "MEDIA_STATUS":
_handleMediaStatus(message);
@ -170,7 +168,6 @@ class GCastService implements ICastDestinationService {
@override
void loadMedia(Asset asset, bool reload) async {
print("Loading media for asset: ${asset.remoteId}");
if (!isConnected) {
return;
} else if (asset.remoteId == null) {
@ -179,8 +176,6 @@ class GCastService implements ICastDestinationService {
return;
}
print("tried to send it!");
// create a session key
if (!isSessionValid()) {
sessionKey = await _sessionsApiService.createSession(