-
Notifications
You must be signed in to change notification settings - Fork 0
Message
The unique auto increment message identifier.
dev_status: done.
The message's channel id. It's a foreign key.
dev_status: done.
The message label. It's some user text without software meaning.
dev_status: done.
The message's priority permit to play a prioritized message and abort the current playing message.
dev_status: done.
When a prioritized message arrived, the priority_action field informs how to interrupt (or not) the current playing one.
possibles values:
- pause : interrupt but resume after prioritized message stopped;
- stop : interrupt the current message and forget it
- simult : do not interrupt the current message but simultaneous playing the prioritized one
default value:
- pause
dev_status: todo.
If no other message the current one can infinite play.
dev_status by content_type:
- text/plain : done
- application_url : done
The message will be played at this time, if there is not a prioritized message.
dev_status: done.
If the message does not contains a timed content, like video, the play_duration field indicate how long to play the message, like a web page.
dev_status: done.
The message content type (the media type to play).
dev_status: see "content".
The data for content_type.
dev_status:
- video: running
- video/mp4: done
- video/ogg: done
- video/webm: done
- video/flv: todo
- video/youtube: todo
- video/vimeo: todo
- video/dailymotion: todo
- application/url: done
- content.url: done
- content.css: done
- application/tts: done
- content.text: done
- android tts server: done => look at https://github.com/Cyrille37/AndGWS
- text/plain: done
- content.text: done
- content.css: done
- application/service: running
- content.command:
- resetChannel: done
At the time the client start processing the message it say to server that it got the message. The message won't be sent any more to the client.
dev_status: done.
When the client finished playing a message it informs the server that it has done.
dev_status: done.
Like status_done but to tell that the message play was aborted, because of a prioritized message or something else.
dev_status: done.
ORM managed field to memorize the message created date & time. Eloquent timestamps().
dev_status: done.
ORM managed field to memorize the message last updated date & time. Eloquent timestamps().
dev_status: done.
ORM managed field to memorize the message deleted date & time. Eloquent softDeletes().
dev_status: done.