Fixes to be applied to the live streaming project

Job ID: 39745323

Budget: $250 – $750 USD

Structured Document for the Developer
1. General Context

The platform has already been developed with its main modules: public streaming, timed private rooms, premium gallery, tokens, subscriptions, profile boosting, and admin panel.
The current goal is not to rewrite everything from scratch, but to:

Fix issues identified during testing;

Retest functionalities that were not validated;

Complete integrations (Stripe, Mercado Pago, AWS Rekognition, Push Notifications, etc.);

Replace test keys with production keys after final validation.

2. General Features (Business Manual)

Public streaming with chat and gallery listing;

Timed private rooms (3, 5, or 7 min) with escrow/split;

Token system for room rentals;

Premium gallery for paid content (photos/videos);

Free/Premium subscriptions;

Profile boosting (time-limited highlight);

Admin panel for reports, disputes, sub-admins, campaigns;

Automatic moderation (AWS Rekognition + user reports);

Real-time notifications (Firebase / SNS).

3. Test Results Already Performed
Approved Functionalities

Public access to streams (Free users).

Blocking of private proposals for Free users.

Stable chat during public streams.

Responsive interface (Desktop, Mobile, PWA).

Upload of premium content restricted to creators.

Blocking of invalid formats and file sizes in uploads.

Tested Functionalities with Errors (Require Fixes)

Public stream gallery: does not display online status, viewer count, or “Watch Now” button; does not remove ended streams; does not show waiting video.

AWS Rekognition: did not block nudity in streams or uploads; no alerts reached the admin panel.

User reports: not displayed in the admin panel.

Automatic expiration of premium content (30 days) not implemented.

Premium Gallery Split: no evidence of automatic split via Mercado Pago.

Real-time notifications: events not triggering (proposals, reports, etc.).

Admin Panel: missing complete financial reports, detailed logs, sub-admin creation, and campaign tools.

Untested Functionalities (Need to Be Tested)

Full Private Room flow: escrow → room with countdown → automatic end → split.

Mercado Pago fallback: when Stripe is unavailable.

Token system: purchase, blocking, release, history.

Profile Boost: purchase, home highlight, automatic expiration.

Review System: activation only when both participants attend; missing blocking logic.

Push Notifications: Firebase (mobile) and AWS SNS (web).

Production environment with real keys (only after fixing issues).

4. Developer Tasks Now
Required Fixes

Fix public stream gallery (viewer count, button, remove offline, waiting video).

Properly activate AWS Rekognition in streams and uploads.

Fix reporting flow → real-time alerts in admin panel.

Implement automatic expiration of premium content (30 days).

Validate and fix automatic split in sales (Stripe/Mercado Pago).

Complete financial reports and logs in the admin panel.

Tests to Execute

Test private rooms with escrow/split (including creator and patient no-shows).

Test Mercado Pago fallback when Stripe is unavailable.

Test full token flow (purchase, usage, history).

Test profile boost (highlight + expiration).

Test review system.

Test push notifications across all platforms.

Perform load testing on streaming and security testing on endpoints.

Final Deliverables

Replace sandbox keys with production keys (Stripe, Mercado Pago, Firebase, AWS Rekognition).

Deliver test logs, screenshots, and a narrated video covering all flows.