Pmmlabs / OpenPeriscope

Unofficial Periscope client
GNU General Public License v2.0
74 stars 30 forks source link

Chat event type 40 and 44, what is it? #131

Open unicorn-style opened 4 years ago

unicorn-style commented 4 years ago

May be someone knows...

unicorn-style commented 4 years ago

Found answer:

40 Join event in chat.

{ callInsEnabled: false, countdownEndNTPTimestamp: 16308274798388505000, guestBroadcastingEvent: 4, guestChatMessageAPIVersion: 3, guestParticipantIndex: 1418631358, guestRemoteID: '/periscopeID of 2nd user???/', guestSessions: [ { countdown_ended_at_ntp_timestamp: 16308273091743810000, ended_at: '0001-01-01T00:00:00Z', guest_avatar_url: '/url to profile image/.jpg', guest_display_name: '/name/', guest_is_audio_only: true, guest_participant_index: 1191837056, guest_user_id: '/periscopeID/', guest_username: '/name/', host_broadcast_id: '/periscopeID HOST/', is_muted: false, last_pinged_at: '2020-04-28T13:13:27.767026394Z', last_updated_at: '2020-04-28T12:28:41.767904983Z', session_state: 10, session_uuid: '/deleted/', started_at: '2020-04-28T12:28:30.384119199Z', was_muted_by_guest: false } ], guestUsername: '/username of 2nd user???/', isAudioOnlyEnabled: true, isHostMessage: false, ntpForBroadcasterFrame: 16308284666692217000, ntpForLiveFrame: 16308284666692198000, sessionUUID: '/deleted/'', type: 40, uuid: '/deleted/'', v: 2, wasGuestBanned: false }

44 change state of voice guest (for animation in Pericope App when talking)

{ body: '/user desq/', displayName: '/name/', ntpForBroadcasterFrame: 16308284767613480000, ntpForLiveFrame: 16308284751904889000, participant_index: 1418631358, remoteID: '/ periscopeID/', timestamp: 1588079639292, type: 3, username: '/username/', uuid: '/deleted/', v: 2 }