def media_create_livestream(self, title="Instagram Live"):
        """
        Create a new live broadcast.

        Parameters
        ----------
        title : str
            The title of the live broadcast.

        Returns
        -------
        dict
            Information about the streaming server and the stream key.
        """
        data = {
            "_uuid": self.uuid,
            "_uid": self.user_id,
            "preview_height": 1920,
            "preview_width": 1080,
            "broadcast_message": title,
            "broadcast_type": "RTMP",
            "internal_only": 0,
            "_csrftoken": self.token,
        }
        try:
            response = self.private_request("live/create/", data=data)
            broadcast_id = response["broadcast_id"]
            upload_url = response["upload_url"].split(str(broadcast_id))
            if len(upload_url) >= 2:
                stream_server = upload_url[0]
                stream_key = f"{broadcast_id}{upload_url[1]}"
                return {
                    "broadcast_id": broadcast_id,
                    "stream_server": stream_server,
                    "stream_key": stream_key,
                }
        except Exception as e:
            self.logger.error(f"Error creating live broadcast: {e}")
            raise

        Create a new live broadcast.

        Parameters
        ----------
        title : str
            The title of the live broadcast.

        Returns
        -------
        dict
            Information about the streaming server and the stream key.
        
instagrapi/mixins/media.py