Fix video stream lost issue
cancel the timer if transitioning to active before timeout
Merge pull request #304 from jiayliu/transition

Fix video stream lost issue when the remote side refreshes the page